SetRgnRect method (Main Control)
Builder Syntax |
int SetRgnRect (int nLeft, int nTop, int nWidth, int nHeight, Cardinal uCombineMode); |
Delphi Syntax |
SetRgnRect (nLeft, nTop, nWidth, nHeight: Integer; uCombineMode: Cardinal): Integer; |
Overview |
Refer to Creating and Using a Bitmap Region. |
Remarks
Adds a rectangular region to the bitmap.
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.
Coordinates are unscaled relative to the LEAD bitmap in memory. The unit of measure is pixels.
See Also
Elements: |
SetRgnEllipse method, SetRgnRoundRect method, SetRgnColor method, PolygonSize property, PolygonPoint property, OffsetRgn method |
Topics: |