Home | GR32_Polygons |
Polygon
procedure PolygonTS(Bitmap: TBitmap32; const Points: TArrayOfFixedPoint; Color: TColor32; Mode: TPolyFillMode = pfAlternate; Transformation: TTransformation = nil); overload;
procedure PolygonTS(Bitmap: TBitmap32; const Points: TArrayOfFixedPoint; FillLineCallback: TFillLineEvent; Mode: TPolyFillMode = pfAlternate; Transformation: TTransformation = nil); overload;
procedure PolygonTS(Bitmap: TBitmap32; const Points: TArrayOfFixedPoint; Filler: TCustomPolygonFiller; Mode: TPolyFillMode = pfAlternate; Transformation: TTransformation = nil); overload;
procedure PolygonXS(Bitmap: TBitmap32; const Points: TArrayOfFixedPoint; Color: TColor32; Mode: TPolyFillMode = pfAlternate; AAMode: TAntialiasMode = DefaultAAMode; Transformation: TTransformation = nil); overload;
procedure PolygonXS(Bitmap: TBitmap32; const Points: TArrayOfFixedPoint; FillLineCallback: TFillLineEvent; Mode: TPolyFillMode = pfAlternate; AAMode: TAntialiasMode = DefaultAAMode; Transformation: TTransformation = nil); overload;
procedure PolygonXS(Bitmap: TBitmap32; const Points: TArrayOfFixedPoint; Filler: TCustomPolygonFiller; Mode: TPolyFillMode = pfAlternate; AAMode: TAntialiasMode = DefaultAAMode; Transformation: TTransformation = nil); overload;
Description
Fills the shape defined by the Points parameter and (optionally) transformed by the Transformation parameter using one of the following options:
Unlike GDI polygons, this function allows for transparency and optional antialiasing.
PolygonTS draws a non-antialiased polygon with optional transparency. When drawing, fixed-point coordinates of vertices are rounded.
PolygonXS provides full antialiasing and does not perform rounding of vertex coordinates. You can also specify the antialias mode AAMode that should be used.
All functions perform clipping.
See Also
DefaultAAMode, Naming Conventions, TAntialiasMode, TArrayOfFixedPoint, TBitmap32, TColor32, TCustomPolygonFiller, TFillLineEvent, TPolyFillMode, TTransformation
Copyright ©2000-2007 Alex Denisov and Contributors - Graphics32 v1.8.3 - Build on 4-March-2007