SetStretchBitBlockMode


static StretchBlockMode SetStretchBitBlockMode(Handle Device,
                                               StretchBlockMode Mode)

This function sets the bitmap stretching mode.

Parameters

Handle Device

The handle of the device context.

StretchBlockMode Mode

The bitmap stretching mode.

Return

StretchBlockMode

The previous bitmap stretching mode.

Notes

After setting the bitmap stretching mode to StretchBlockMode::Halftone, the application should reset the origin of the brush using SetBrushOrigin.

Details

Name Space IPlusPlus::Graphics
Class Gdi
Assembly IPlusPlus.WinPlus.dll