D2D1_IMAGE_SOURCE_DECODING_PARAMETERS structure
[This documentation is preliminary and is subject to change.]
Decoding pipeline parameters for use in GetImageSourceHardwareDecodeSupport and CreateImageSourceFromWicHardware.
Syntax
typedef struct D2D1_IMAGE_SOURCE_DECODING_PARAMETERS {
D2D1_ORIENTATION orientation;
D2D1_SIZE_U outputSize;
} D2D1_IMAGE_SOURCE_DECODING_PARAMETERS;
Members
orientation
Type: D2D1_ORIENTATIONThe orientation at which image will appear.
outputSize
Type: D2D1_SIZE_UMaximum size of the output image. The image is scaled down to this size while preserving aspect ratio if either dimension is smaller than it. It is not scaled up to this size. Zero means that there is no maximum size.
Remarks
If a maximum size is specified, the horizontal and vertical scale ratios are adjusted so that the image is a whole number of pixels in size. This can have the effect of slightly changing the image aspect ratio. This scaling step does not introduce a soft edge to the image.
Requirements
Header |
D2d1_3.h |