SetRgnEllipse method (ILEADRaster)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

short SetRgnEllipse (float fLeft, float fTop, float fWidth, float fHeight, RgnCombineModeConstants CombineMode);

Overview

Refer to Creating and Using a Bitmap Region.

Remarks

Adds an elliptical region to the bitmap.

With this method, you can either replace the current region or create a complex region by setting a flag that determines how the added region interacts with the existing region. For possible values, specified in the CombineMode parameter, refer to Flags for Setting a Region.

Coordinates are unscaled relative to the LEAD bitmap in memory. The unit of measure is determined by the ScaleMode property.

See Also

Elements

SetRgnRect method, SetRgnRoundRect method, SetRgnColor method, PolygonSize property, OffsetRgn method

Topics

Raster Images: Creating and Using a Region

 

Saving a Region