SetRgnHandle method (Main Control)
Builder Syntax |
int SetRgnHandle (L_HRGN hRgn, int nOffsetX, int nOffsetY, Cardinal uCombineMode); |
Delphi Syntax |
SetRgnHandle (hRgn: L_HRGN; nOffsetX, nOffsetY: Integer; uCombineMode: Cardinal): Integer; |
Overview |
Refer to Creating and Using a Bitmap Region. |
Remarks
Adds a stored region to the current bitmap region.
You can store a region using the GetRgnHandle method or the DeleteRgnHandle method. Keep in mind that the region data contains only positioning information, not the bitmap's pixel values.
With this method, you can either replace the current region or create a complex region by setting a Boolean flag that determines how the added region interacts with the existing region. For possible values, specified in the uCombineMode parameter, refer to Flags for Setting a Region.
See Also
Elements: |
|
Topics: |