[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Sets the Foreground Mixing Mode in an device context.
Source position: winapih.inc line 254
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 of the pixel colors.
There exist 16 raster operations, according to the possible combinations of two (boolean) values:
|
The current Foreground Mixing Mode in an device context. |
|
|
Binary raster operation (Dst op Pen): Pen. |
lazarus-ccr.sourceforge.net |