Sign in Join
FPDoc Onlineexperiment

TWidgetSet.ExtSelectClipRGN function

Member of TWidgetSetpublicIn unit InterfaceBase

Combines the passed Region with the current clipping region.

Declaration

pascal
function ExtSelectClipRGN(dc: hdc; rgn: hrgn; Mode: LongInt): Integer
 ; virtual

Arguments

dc
rgn

The region to combine with.

Mode

How the regions are combined.

Function result

The type of the resulting clipping region.

Description

The Mode can be one of:

RGN_AND
All points which are in both regions.
RGN_COPY
An exact copy of the source region, same as SelectClipRGN.
RGN_DIFF
All points which are in the Clipping Region but but not in the Source. (Clip - RGN).
RGN_OR
All points which are in either the Clip Region or in the Source. (Clip + RGN).
RGN_XOR
All points which are in either the Clip Region or in the Source, but not in both.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.