[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Sets the Foreground Mixing Mode in a device context.
Source position: winapih.inc line 255
public function TWidgetSet.SetROP2( |
DC: HDC; |
Mode: Integer |
):Integer; virtual; |
DC |
|
The device context. |
Mode |
|
The new mode. |
The old mode, zero on failure.
The raster operation specifies how foreground painting (Brush, Pen) is combined with the current pixels in the DC. The operation combines bitwise the distinct red, green and blue values in pixel colors.
There are 16 raster operations using the possible combinations of two (boolean) values:
|
The current Foreground Mixing Mode in a device context. |
|
|
Binary raster operation (Dst op Pen): Pen. |
Version 4.0 | Generated 2025-05-03 | Home |