TWidgetSet.SetStretchBltMode function
Sets the StrechBlt mode for an device context.
Declaration
function SetStretchBltMode(DC: HDC; StretchMode: Integer): Integer
; virtualArguments
DC | The Device Context. |
StretchMode | The new mode. |
Function result
The previous mode, zero on failure.
Description
The following modes are defined:
- BLACKONWHITE - preserves black pixels in a monochrome bitmap.
- COLORONCOLOR
- HALFTONE, STRETCH_HALFTONE
- WHITEONBLACK - preserves white pixels in a monochrome bitmap.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
