Mercurial > hg > orthanc-stone
comparison Framework/Layers/FrameRenderer.cpp @ 147:f48c5d422d45 wasm
removed meaningless ImageInterpolation_Linear value
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 23 Jan 2018 17:50:19 +0100 |
parents | e2fe9352f240 |
children | fccffbf99ba1 |
comparison
equal
deleted
inserted
replaced
146:fb7d602e7025 | 147:f48c5d422d45 |
---|---|
72 { | 72 { |
73 case ImageInterpolation_Nearest: | 73 case ImageInterpolation_Nearest: |
74 cairo_pattern_set_filter(cairo_get_source(cr), CAIRO_FILTER_NEAREST); | 74 cairo_pattern_set_filter(cairo_get_source(cr), CAIRO_FILTER_NEAREST); |
75 break; | 75 break; |
76 | 76 |
77 case ImageInterpolation_Linear: | 77 case ImageInterpolation_Bilinear: |
78 cairo_pattern_set_filter(cairo_get_source(cr), CAIRO_FILTER_BILINEAR); | 78 cairo_pattern_set_filter(cairo_get_source(cr), CAIRO_FILTER_BILINEAR); |
79 break; | 79 break; |
80 | 80 |
81 default: | 81 default: |
82 throw Orthanc::OrthancException(Orthanc::ErrorCode_ParameterOutOfRange); | 82 throw Orthanc::OrthancException(Orthanc::ErrorCode_ParameterOutOfRange); |