Unit BigCanvasMethods

DescriptionusesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

BigCanvasMethods provides methods that can be used to draw on a Canvas when the coordinates used for drawing are outside the range of a smallint.

uses

Overview

Functions and Procedures

procedure DrawBigPolyline(const Canvas: TCanvas; const Points: array of TPoint; StartIndex: Integer = 0; NumPts: Integer = -1);
procedure DrawBigPolygon(const Canvas: TCanvas; Points: TPointArray; Winding: Boolean = False; StartIndex: Integer = 0; NumPts: Integer = -1);
procedure DrawBigRectangle(const Canvas: TCanvas; X1, Y1, X2, Y2: Integer); overload;
procedure DrawBigRectangle(const Canvas: TCanvas; const ARect: TRect); overload;

Description

Functions and Procedures

procedure DrawBigPolyline(const Canvas: TCanvas; const Points: array of TPoint; StartIndex: Integer = 0; NumPts: Integer = -1);

DrawBigPolyline draws a polyline on Canvas.

Points holds the locations for drawing the polyline. StartIndex is the position within Points where the line should be started. NumPts is the number of points to include in the polyline. If NumPts is less than zero, the polyline will include all points from StartIndex to the end of the Points array.

procedure DrawBigPolygon(const Canvas: TCanvas; Points: TPointArray; Winding: Boolean = False; StartIndex: Integer = 0; NumPts: Integer = -1);

DrawBigPolygon draws a polygon on Canvas.

Points holds the locations for drawing the polyline. StartIndex is the position within Points where the line should be started. NumPts is the number of points to include in the polyline. If NumPts is less than zero, the polyline will include all points from StartIndex to the end of the Points array. See TCanvas.Polygon for the meaning of Winding.

procedure DrawBigRectangle(const Canvas: TCanvas; X1, Y1, X2, Y2: Integer); overload;

DrawBigRectangle draws a rectangle with opposite corners defined by (X1,Y1) and (X2,Y2).

procedure DrawBigRectangle(const Canvas: TCanvas; const ARect: TRect); overload;

DrawBigRectangle draws a rectangle defined by ARect.


Generated by PasDoc 0.10.0 on 2006-10-31 09:56:32