Home | GR32_Polygons |
Polyline
procedure PolyLineTS(Bitmap: TBitmap32; const Points: TArrayOfFixedPoint; Color: TColor32; Closed: Boolean=True; Transformation: TTransformation = nil);
procedure PolyLineAS(Bitmap: TBitmap32; const Points: TArrayOfFixedPoint; Color: TColor32; Closed: Boolean=True; Transformation: TTransformation = nil);
procedure PolyLineXS(Bitmap: TBitmap32; const Points: TArrayOfFixedPoint; Color: TColor32; Closed: Boolean=True; Transformation: TTransformation = nil);
procedure PolyLineXSP(Bitmap: TBitmap32; const Points: TArrayOfFixedPoint; Closed: Boolean=True; Transformation: TTransformation = nil);
Description
Draws a series of lines, connecting points passed in. The points are transformed by Transformation. If Closed is True, the polygon is closed automatically by drawing a line from the last vertex to the first.
PolyLineTS draws a non-antialiased line with optional transparency. When drawing, fixed-point coordinates of vertixes are rounded.
PolyLineAS draws an antialiased line, fixed-point coordinates of vertexes are rounded.
PolyLineXS provides full antialiasing and does not perform rounding of vertexes' coordinates. PolyLineXSP uses the stipple pattern defined in the Bitmap instead of a color.
All functions perform clipping.
See Also
Naming Conventions, TArrayOfFixedPoint, TBitmap32, TColor32, TTransformation
Copyright ©2000-2007 Alex Denisov and Contributors - Graphics32 v1.8.3 - Build on 4-March-2007