UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NE:d2d1effects.D2D1_BITMAPSOURCE_PROP |
D2D1_BITMAPSOURCE_PROP (d2d1effects.h) |
Identifiers for properties of the Bitmap source effect. |
|
direct2d\d2d1_bitmapsource_prop.htm |
Direct2D |
02E1108D-FD73-4031-B709-5993D42D102F |
12/05/2018 |
D2D1_BITMAPSOURCE_PROP, D2D1_BITMAPSOURCE_PROP enumeration [Direct2D], D2D1_BITMAPSOURCE_PROP_ALPHA_MODE, D2D1_BITMAPSOURCE_PROP_ENABLE_DPI_CORRECTION, D2D1_BITMAPSOURCE_PROP_INTERPOLATION_MODE, D2D1_BITMAPSOURCE_PROP_ORIENTATION, D2D1_BITMAPSOURCE_PROP_SCALE, D2D1_BITMAPSOURCE_PROP_WIC_BITMAP_SOURCE, d2d1effects/D2D1_BITMAPSOURCE_PROP, d2d1effects/D2D1_BITMAPSOURCE_PROP_ALPHA_MODE, d2d1effects/D2D1_BITMAPSOURCE_PROP_ENABLE_DPI_CORRECTION, d2d1effects/D2D1_BITMAPSOURCE_PROP_INTERPOLATION_MODE, d2d1effects/D2D1_BITMAPSOURCE_PROP_ORIENTATION, d2d1effects/D2D1_BITMAPSOURCE_PROP_SCALE, d2d1effects/D2D1_BITMAPSOURCE_PROP_WIC_BITMAP_SOURCE, direct2d.d2d1_bitmapsource_prop |
d2d1effects.h |
Windows |
Windows |
D2D1_BITMAPSOURCE_PROP |
19H1 |
|
|
|
|
|
|
Identifiers for properties of the Bitmap source effect.
The IWICBitmapSource containing the image data to be loaded.
The type is IWICBitmapSource.
The default value is NULL.
The scale amount in the X and Y direction. The effect multiplies the width by the X value and the height by the Y value. This property is a D2D1_VECTOR_2F defined as: (X scale, Y scale). The scale amounts are FLOAT, unitless, and must be positive or 0.
The type is D2D1_VECTOR_2F.
The default value is {1.0f, 1.0f}.
The interpolation mode used to scale the image. If the mode disables the mipmap, then BitmapSouce will cache the image at the resolution determined by the Scale and EnableDPICorrection properties.
The type is D2D1_BITMAPSOURCE_INTERPOLATION_MODE.
The default value is D2D1_BITMAPSOURCE_INTERPOLATION_MODE_LINEAR.
If you set this to TRUE, the effect will scale the input image to convert the DPI reported by IWICBitmapSource to the DPI of the device context. The effect uses the interpolation mode you set with the InterpolationMode property. If you set this to FALSE, the effect uses a DPI of 96.0 for the output image.
The type is BOOL.
The default value is FALSE.
The alpha mode of the output. This can be either premultiplied or straight.
The type is D2D1_BITMAPSOURCE_ALPHA_MODE.
The default value is D2D1_BITMAPSOURCE_ALPHA_MODE_PREMULTIPLIED.
A flip and/or rotation operation to be performed on the image.
The type is D2D1_BITMAPSOURCE_ORIENTATION.
The default value is D2D1_BITMAPSOURCE_ORIENTATION_DEFAULT.