2.2.3.14 MilRenderOptions

The MilRenderOptions structure specifies behavioral modifications to how a resource of type TYPE_VISUAL or TYPE_WINDOWNODE is rasterized.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Flags

InterpolationMode

CompositingMode

BitmapScalingMode

reserved

Flags (4 bytes): A MilRenderOptionFlags enumeration. Specifies binary rendering options as well as which fields of the structure contain values and which MUST be ignored.

InterpolationMode (4 bytes): A MilBitmapInterpolationMode enumeration. Specifies how the pixels of a bitmap MUST be sampled when the bitmap is drawn larger than its natural size.

CompositingMode (4 bytes): A MilCompositingMode enumeration. Specifies how the rasterized pixels of a TYPE_VISUAL or TYPE_WINDOWNODE resource MUST be blended with the background.

BitmapScalingMode (4 bytes): A MilBitmapScalingMode enumeration. Specifies the level of quality to be used for scaling an image.

reserved (4 bytes): Reserved. MUST be set to zero when sent and MUST be ignored when received.