Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/2010
This enumeration provides values that identify algorithms used to interpolate pixel values during resizing and rotation operations.
Syntax
enum InterpolationHint { InterpolationHintDefault, InterpolationHintNearestNeighbor, InterpolationHintBilinear, InterpolationHintAveraging, InterpolationHintBicubic }; |
Elements
- InterpolationHintDefault
-
Indicates that the default algorithm should be used.
- InterpolationHintNearestNeighbor
-
Indicates that point sampling should be used.
- InterpolationHintBilinear
-
Indicates that bilinear interpolation should be used.
- InterpolationHintAveraging
-
Indicates that area averaging should be used when scaling down, and that bilinear interpolation should be used when scaling up.
This value is good for generating small thumbnail images.
- InterpolationHintBicubic
-
Indicates that bicubic interpolation should be used
Requirements
Header | imaging.h |
Windows Embedded CE | Windows CE 5.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |