Class TBGRAPath
Unit
Declaration
type TBGRAPath = class(TBGRACustomPath)
Description
Path (in 2D) that allows to define custom shapes that can be drawn.
Example of drawing an arrow with a path:
procedure TForm1.BGRAVirtualScreen1Redraw(Sender: TObject; Bitmap: TBGRABitmap); var p: TBGRAPath; begin p := TBGRAPath.Create; p.scale(2); p.moveTo(20, 20); p.arcTo(60, 20, 60, 40, 20); p.arcTo(60, 120, 80, 120, 20); p.lineTo(120, 120); Bitmap.ArrowEndAsClassic; Bitmap.ArrowEndSize := PointF(5,5); Bitmap.DrawPath(p, clBlack, 3); Bitmap.ArrowEndAsNone; p.Free; end;
Hierarchy
- IInterface
- IBGRAPath
- TBGRACustomPath
- TBGRAPath
Overview
Fields
FAngleRadCW: single; |
|
FCursors: array of TBGRAPathCursor; |
|
FData: PByte; |
|
FDataCapacity: PtrInt; |
|
FDataPos: PtrInt; |
|
FExpectedTransformedControlPoint: TPointF; |
|
FInternalDrawOffset: TPointF; |
|
FLastCoord: TPointF; |
|
FLastMoveToDataPos: PtrInt; |
|
FLastStoredElementType: TBGRAPathElementType; |
|
FLastSubPathElementType: TBGRAPathElementType; |
|
FLastTransformedCoord: TPointF; |
|
FMatrix: TAffineMatrix; |
|
FScale: single; |
|
FSubPathStartCoord: TPointF; |
|
FSubPathTransformedStartCoord: TPointF; |
Methods
constructor Create(ASvgString: string); overload; |
|
constructor Create; overload; override; |
|
constructor Create(APath: IBGRAPath); overload; |
|
constructor Create(const APoints: ArrayOfTPointF); overload; |
|
destructor Destroy; override; |
|
function ComputeLength(AAcceptedDeviation: single = DefaultDeviation): single; |
|
function CreateCursor(AAcceptedDeviation: single = DefaultDeviation): TBGRAPathCursor; |
|
function GetBounds(AAcceptedDeviation: single = DefaultDeviation): TRectF; |
|
function IsEmpty: boolean; |
|
function ToPoints(AMatrix: TAffineMatrix; AAcceptedDeviation: single = DefaultDeviation): ArrayOfTPointF; overload; |
|
function ToPoints(AAcceptedDeviation: single = DefaultDeviation): ArrayOfTPointF; overload; |
|
function AllocateElement(AElementType: TBGRAPathElementType; AExtraBytes: PtrInt = 0): Pointer; |
|
function CheckElementType(AElementType: TBGRAPathElementType): boolean; |
|
function CorrectAcceptedDeviation(AAcceptedDeviation: single; const AMatrix: TAffineMatrix): single; |
|
function getCursor: TBGRACustomPathCursor; override; |
|
function GetElementEndCoord(APos: PtrInt): TPointF; |
|
function GetElementLength(APos: PtrInt; AAcceptedDeviation: single): Single; |
|
function GetElementStartCoord(APos: PtrInt): TPointF; |
|
function getLength: single; override; |
|
function getPoints(AMatrix: TAffineMatrix): ArrayOfTPointF; overload; override; |
|
function getPoints: ArrayOfTPointF; overload; override; |
|
function GetPolygonalApprox(APos: IntPtr; AAcceptedDeviation: single; AIncludeFirstPoint: boolean): ArrayOfTPointF; |
|
function GetSvgString: string; virtual; |
|
function GoToNextElement(var APos: PtrInt): boolean; |
|
function GoToPreviousElement(var APos: PtrInt): boolean; |
|
function LastCoordDefined: boolean; inline; |
|
function PeekNextElement(APos: PtrInt): TBGRAPathElementType; |
|
function SetLastCoord(ACoord: TPointF): TPointF; inline; |
|
procedure addPath(source: IBGRAPath); overload; |
|
procedure addPath(const AValue: string); overload; |
|
procedure arc(cx, cy, radius, startAngleRadCW, endAngleRadCW: single); overload; |
|
procedure arc(cx, cy, radius, startAngleRadCW, endAngleRadCW: single; anticlockwise: boolean); overload; |
|
procedure arc(constref arcDef: TArcDef); overload; override; |
|
procedure arc(cx, cy, rx,ry, xAngleRadCW, startAngleRadCW, endAngleRadCW: single; anticlockwise: boolean); overload; |
|
procedure arc(cx, cy, rx,ry: single; xAngleRadCW, startAngleRadCW, endAngleRadCW: single); overload; |
|
procedure arcDeg(cx, cy, radius, startAngleDeg, endAngleDeg: single); overload; |
|
procedure arcDeg(cx, cy, radius, startAngleDeg, endAngleDeg: single; anticlockwise: boolean); overload; |
|
procedure arcTo(rx,ry, xAngleRadCW: single; largeArc, anticlockwise: boolean; x,y:single); overload; |
|
procedure arcTo(const p1,p2: TPointF; radius: single); overload; |
|
procedure arcTo(x1, y1, x2, y2, radius: single); overload; |
|
procedure beginPath; override; |
|
procedure beginSubPath; |
|
procedure bezierCurve(const curve: TCubicBezierCurve); overload; |
|
procedure bezierCurve(p1,cp1,cp2,p2: TPointF); overload; |
|
procedure bezierCurveTo(cp1x,cp1y,cp2x,cp2y,x,y: single); overload; |
|
procedure bezierCurveTo(constref cp1,cp2,pt: TPointF); overload; override; |
|
procedure closedSpline(const pts: array of TPointF; style: TSplineStyle); override; |
|
procedure closePath; override; |
|
procedure copyTo(dest: IBGRAPath); override; |
|
procedure fill(ABitmap: TBGRACustomBitmap; AColor: TBGRAPixel; AAcceptedDeviation: single = DefaultDeviation); overload; |
|
procedure fill(ABitmap: TBGRACustomBitmap; ATexture: IBGRAScanner; AAcceptedDeviation: single = DefaultDeviation); overload; |
|
procedure fill(AFillProc: TBGRAPathFillProc; AData: pointer); overload; override; |
|
procedure fill(AFillProc: TBGRAPathFillProc; const AMatrix: TAffineMatrix; AData: pointer); overload; override; |
|
procedure fill(AFillProc: TBGRAPathFillProc; const AMatrix: TAffineMatrix; AAcceptedDeviation: single; AData: pointer = nil); overload; |
|
procedure fill(ABitmap: TBGRACustomBitmap; const AMatrix: TAffineMatrix; ATexture: IBGRAScanner; AAcceptedDeviation: single = DefaultDeviation); overload; |
|
procedure fill(ABitmap: TBGRACustomBitmap; x,y: single; AColor: TBGRAPixel; AAcceptedDeviation: single = DefaultDeviation); overload; |
|
procedure fill(ABitmap: TBGRACustomBitmap; x,y: single; ATexture: IBGRAScanner; AAcceptedDeviation: single = DefaultDeviation); overload; |
|
procedure fill(ABitmap: TBGRACustomBitmap; const AMatrix: TAffineMatrix; AColor: TBGRAPixel; AAcceptedDeviation: single = DefaultDeviation); overload; |
|
procedure Fit(ARect: TRectF; AAcceptedDeviation: single = DefaultDeviation); |
|
procedure FitInto(ADest: TBGRAPath; ARect: TRectF; AAcceptedDeviation: single = DefaultDeviation); |
|
procedure lineTo(x,y: single); overload; |
|
procedure lineTo(constref pt: TPointF); overload; override; |
|
procedure moveTo(x,y: single); overload; |
|
procedure moveTo(constref pt: TPointF); overload; override; |
|
procedure openedSpline(const pts: array of TPointF; style: TSplineStyle); override; |
|
procedure polygon(const pts: array of TPointF); |
|
procedure polyline(const pts: array of TPointF); |
|
procedure polylineTo(const pts: array of TPointF); override; |
|
procedure quadraticCurve(p1,cp,p2: TPointF); overload; |
|
procedure quadraticCurve(const curve: TQuadraticBezierCurve); overload; |
|
procedure quadraticCurveTo(constref cp,pt: TPointF); overload; override; |
|
procedure quadraticCurveTo(cpx,cpy,x,y: single); overload; |
|
procedure rect(x,y,w,h: single); |
|
procedure resetTransform; |
|
procedure rotate(angleRadCW: single); overload; |
|
procedure rotate(angleRadCW: single; center: TPointF); overload; |
|
procedure rotateDeg(angleDeg: single; center: TPointF); overload; |
|
procedure rotateDeg(angleDeg: single); overload; |
|
procedure roundRect(x,y,w,h,radius: single); |
|
procedure scale(factor: single); |
|
procedure SetPoints(const APoints: ArrayOfTPointF); |
|
procedure smoothBezierCurveTo(const cp2,pt: TPointF); overload; |
|
procedure smoothBezierCurveTo(cp2x,cp2y,x,y: single); overload; |
|
procedure smoothQuadraticCurveTo(x,y: single); overload; |
|
procedure smoothQuadraticCurveTo(const pt: TPointF); overload; |
|
procedure stroke(ABitmap: TBGRACustomBitmap; const AMatrix: TAffineMatrix; ATexture: IBGRAScanner; AWidth: single; AAcceptedDeviation: single = DefaultDeviation); overload; |
|
procedure stroke(ABitmap: TBGRACustomBitmap; x,y: single; ATexture: IBGRAScanner; AWidth: single; AAcceptedDeviation: single = DefaultDeviation); overload; |
|
procedure stroke(ABitmap: TBGRACustomBitmap; const AMatrix: TAffineMatrix; AColor: TBGRAPixel; AWidth: single; AAcceptedDeviation: single = DefaultDeviation); overload; |
|
procedure stroke(ADrawProc: TBGRAPathDrawProc; const AMatrix: TAffineMatrix; AAcceptedDeviation: single; AData: pointer = nil); overload; |
|
procedure stroke(ADrawProc: TBGRAPathDrawProc; const AMatrix: TAffineMatrix; AData: pointer); overload; override; |
|
procedure stroke(ADrawProc: TBGRAPathDrawProc; AData: pointer); overload; override; |
|
procedure stroke(ABitmap: TBGRACustomBitmap; AColor: TBGRAPixel; AWidth: single; AAcceptedDeviation: single = DefaultDeviation); overload; |
|
procedure stroke(ABitmap: TBGRACustomBitmap; ATexture: IBGRAScanner; AWidth: single; AAcceptedDeviation: single = DefaultDeviation); overload; |
|
procedure stroke(ABitmap: TBGRACustomBitmap; x,y: single; AColor: TBGRAPixel; AWidth: single; AAcceptedDeviation: single = DefaultDeviation); overload; |
|
procedure translate(x,y: single); |
|
procedure BezierCurveFromTransformed(tcp1, cp2, pt:TPointF); |
|
procedure BitmapDrawSubPathProc(const APoints: array of TPointF; AClosed: boolean; AData: pointer); |
|
procedure ClearLastCoord; |
|
procedure DoClear; |
|
procedure GetElementAt(APos: PtrInt; out AElementType: TBGRAPathElementType; out AElement: pointer); |
|
procedure Init; |
|
procedure InternalDraw(ADrawProc: TBGRAPathDrawProc; const AMatrix: TAffineMatrix; AAcceptedDeviation: single; AData: pointer); |
|
procedure NeedSpace(count: integer); |
|
procedure OnMatrixChange; |
|
procedure OnModify; |
|
procedure QuadraticCurveFromTransformed(tcp, pt: TPointF); |
|
procedure RegisterCursor(ACursor: TBGRAPathCursor); |
|
procedure SetSvgString(const AValue: string); virtual; |
|
procedure UnregisterCursor(ACursor: TBGRAPathCursor); |
Properties
property SvgString: string read GetSvgString write SetSvgString; |
Description
Fields
FAngleRadCW: single; |
|
this matrix must have a base of vectors orthogonal, of same length and with positive orientation in order to preserve arcs |
FCursors: array of TBGRAPathCursor; |
|
This item has no description. |
FData: PByte; |
|
This item has no description. |
FDataCapacity: PtrInt; |
|
This item has no description. |
FDataPos: PtrInt; |
|
This item has no description. |
FExpectedTransformedControlPoint: TPointF; |
|
This item has no description. |
FInternalDrawOffset: TPointF; |
|
This item has no description. |
FLastCoord: TPointF; |
|
This item has no description. |
FLastMoveToDataPos: PtrInt; |
|
This item has no description. |
FLastStoredElementType: TBGRAPathElementType; |
|
This item has no description. |
FLastSubPathElementType: TBGRAPathElementType; |
|
This item has no description. |
FLastTransformedCoord: TPointF; |
|
This item has no description. |
FMatrix: TAffineMatrix; |
|
This item has no description. |
FScale: single; |
|
this matrix must have a base of vectors orthogonal, of same length and with positive orientation in order to preserve arcs |
FSubPathStartCoord: TPointF; |
|
This item has no description. |
FSubPathTransformedStartCoord: TPointF; |
|
This item has no description. |
Methods
constructor Create(ASvgString: string); overload; |
|
This item has no description. |
constructor Create; overload; override; |
|
This item has no description. Showing description inherited from TBGRACustomPath.Create.
Constructor to |
constructor Create(APath: IBGRAPath); overload; |
|
This item has no description. |
constructor Create(const APoints: ArrayOfTPointF); overload; |
|
This item has no description. |
destructor Destroy; override; |
|
This item has no description. |
function ComputeLength(AAcceptedDeviation: single = DefaultDeviation): single; |
|
This item has no description. |
function CreateCursor(AAcceptedDeviation: single = DefaultDeviation): TBGRAPathCursor; |
|
This item has no description. |
function GetBounds(AAcceptedDeviation: single = DefaultDeviation): TRectF; |
|
This item has no description. |
function IsEmpty: boolean; |
|
This item has no description. |
function ToPoints(AMatrix: TAffineMatrix; AAcceptedDeviation: single = DefaultDeviation): ArrayOfTPointF; overload; |
|
This item has no description. |
function ToPoints(AAcceptedDeviation: single = DefaultDeviation): ArrayOfTPointF; overload; |
|
This item has no description. |
function AllocateElement(AElementType: TBGRAPathElementType; AExtraBytes: PtrInt = 0): Pointer; |
|
This item has no description. |
function CheckElementType(AElementType: TBGRAPathElementType): boolean; |
|
This item has no description. |
function CorrectAcceptedDeviation(AAcceptedDeviation: single; const AMatrix: TAffineMatrix): single; |
|
This item has no description. |
function getCursor: TBGRACustomPathCursor; override; |
|
This item has no description. Showing description inherited from TBGRACustomPath.getCursor. Retrieves a cursor for navigating the path |
function GetElementEndCoord(APos: PtrInt): TPointF; |
|
This item has no description. |
function GetElementLength(APos: PtrInt; AAcceptedDeviation: single): Single; |
|
This item has no description. |
function GetElementStartCoord(APos: PtrInt): TPointF; |
|
This item has no description. |
function getLength: single; override; |
|
This item has no description. Showing description inherited from TBGRACustomPath.getLength. Retrieves the length of the path |
function getPoints(AMatrix: TAffineMatrix): ArrayOfTPointF; overload; override; |
|
This item has no description. Showing description inherited from TBGRACustomPath.getPoints. Retrieves the points of the path, transformed by a specified matrix |
function getPoints: ArrayOfTPointF; overload; override; |
|
This item has no description. Showing description inherited from TBGRACustomPath.getPoints. Retrieves the points of the path |
function GetPolygonalApprox(APos: IntPtr; AAcceptedDeviation: single; AIncludeFirstPoint: boolean): ArrayOfTPointF; |
|
This item has no description. |
function GetSvgString: string; virtual; |
|
This item has no description. |
function GoToNextElement(var APos: PtrInt): boolean; |
|
This item has no description. |
function GoToPreviousElement(var APos: PtrInt): boolean; |
|
This item has no description. |
function LastCoordDefined: boolean; inline; |
|
This item has no description. |
function PeekNextElement(APos: PtrInt): TBGRAPathElementType; |
|
This item has no description. |
function SetLastCoord(ACoord: TPointF): TPointF; inline; |
|
This item has no description. |
procedure addPath(source: IBGRAPath); overload; |
|
This item has no description. |
procedure addPath(const AValue: string); overload; |
|
This item has no description. |
procedure arc(cx, cy, radius, startAngleRadCW, endAngleRadCW: single); overload; |
|
This item has no description. |
procedure arc(cx, cy, radius, startAngleRadCW, endAngleRadCW: single; anticlockwise: boolean); overload; |
|
This item has no description. |
procedure arc(constref arcDef: TArcDef); overload; override; |
|
This item has no description. Showing description inherited from TBGRACustomPath.arc.
Adds an |
procedure arc(cx, cy, rx,ry, xAngleRadCW, startAngleRadCW, endAngleRadCW: single; anticlockwise: boolean); overload; |
|
This item has no description. |
procedure arc(cx, cy, rx,ry: single; xAngleRadCW, startAngleRadCW, endAngleRadCW: single); overload; |
|
This item has no description. |
procedure arcDeg(cx, cy, radius, startAngleDeg, endAngleDeg: single); overload; |
|
This item has no description. |
procedure arcDeg(cx, cy, radius, startAngleDeg, endAngleDeg: single; anticlockwise: boolean); overload; |
|
This item has no description. |
procedure arcTo(rx,ry, xAngleRadCW: single; largeArc, anticlockwise: boolean; x,y:single); overload; |
|
This item has no description. |
procedure arcTo(const p1,p2: TPointF; radius: single); overload; |
|
This item has no description. |
procedure arcTo(x1, y1, x2, y2, radius: single); overload; |
|
This item has no description. |
procedure beginPath; override; |
|
This item has no description. Showing description inherited from TBGRACustomPath.beginPath. Begins a new path |
procedure beginSubPath; |
|
This item has no description. |
procedure bezierCurve(const curve: TCubicBezierCurve); overload; |
|
This item has no description. |
procedure bezierCurve(p1,cp1,cp2,p2: TPointF); overload; |
|
This item has no description. |
procedure bezierCurveTo(cp1x,cp1y,cp2x,cp2y,x,y: single); overload; |
|
This item has no description. |
procedure bezierCurveTo(constref cp1,cp2,pt: TPointF); overload; override; |
|
This item has no description. Showing description inherited from TBGRACustomPath.bezierCurveTo. Adds a cubic Bézier curve to the path |
procedure closedSpline(const pts: array of TPointF; style: TSplineStyle); override; |
|
This item has no description. Showing description inherited from TBGRACustomPath.closedSpline. Adds a closed spline to the path based on a series of points and a spline style |
procedure closePath; override; |
|
This item has no description. Showing description inherited from TBGRACustomPath.closePath. Closes the current path |
procedure copyTo(dest: IBGRAPath); override; |
|
This item has no description. Showing description inherited from TBGRACustomPath.copyTo. Copies the path to another path object |
procedure fill(ABitmap: TBGRACustomBitmap; AColor: TBGRAPixel; AAcceptedDeviation: single = DefaultDeviation); overload; |
|
This item has no description. |
procedure fill(ABitmap: TBGRACustomBitmap; ATexture: IBGRAScanner; AAcceptedDeviation: single = DefaultDeviation); overload; |
|
This item has no description. |
procedure fill(AFillProc: TBGRAPathFillProc; AData: pointer); overload; override; |
|
This item has no description. Showing description inherited from TBGRACustomPath.fill. Fills the path with a specified filling procedure |
procedure fill(AFillProc: TBGRAPathFillProc; const AMatrix: TAffineMatrix; AData: pointer); overload; override; |
|
This item has no description. Showing description inherited from TBGRACustomPath.fill. Fills the path with a specified filling procedure and transformation matrix |
procedure fill(AFillProc: TBGRAPathFillProc; const AMatrix: TAffineMatrix; AAcceptedDeviation: single; AData: pointer = nil); overload; |
|
This item has no description. |
procedure fill(ABitmap: TBGRACustomBitmap; const AMatrix: TAffineMatrix; ATexture: IBGRAScanner; AAcceptedDeviation: single = DefaultDeviation); overload; |
|
This item has no description. |
procedure fill(ABitmap: TBGRACustomBitmap; x,y: single; AColor: TBGRAPixel; AAcceptedDeviation: single = DefaultDeviation); overload; |
|
This item has no description. |
procedure fill(ABitmap: TBGRACustomBitmap; x,y: single; ATexture: IBGRAScanner; AAcceptedDeviation: single = DefaultDeviation); overload; |
|
This item has no description. |
procedure fill(ABitmap: TBGRACustomBitmap; const AMatrix: TAffineMatrix; AColor: TBGRAPixel; AAcceptedDeviation: single = DefaultDeviation); overload; |
|
This item has no description. |
procedure Fit(ARect: TRectF; AAcceptedDeviation: single = DefaultDeviation); |
|
This item has no description. |
procedure FitInto(ADest: TBGRAPath; ARect: TRectF; AAcceptedDeviation: single = DefaultDeviation); |
|
This item has no description. |
procedure lineTo(x,y: single); overload; |
|
This item has no description. |
procedure lineTo(constref pt: TPointF); overload; override; |
|
This item has no description. Showing description inherited from TBGRACustomPath.lineTo. |
procedure moveTo(x,y: single); overload; |
|
This item has no description. |
procedure moveTo(constref pt: TPointF); overload; override; |
|
This item has no description. Showing description inherited from TBGRACustomPath.moveTo. Moves the current point to a specified location, starting a new sub-path |
procedure openedSpline(const pts: array of TPointF; style: TSplineStyle); override; |
|
This item has no description. Showing description inherited from TBGRACustomPath.openedSpline. Adds an open spline to the path based on a series of points and a spline style |
procedure polygon(const pts: array of TPointF); |
|
This item has no description. |
procedure polyline(const pts: array of TPointF); |
|
This item has no description. |
procedure polylineTo(const pts: array of TPointF); override; |
|
This item has no description. Showing description inherited from TBGRACustomPath.polylineTo. Adds a series of lines to the path based on an array of points |
procedure quadraticCurve(p1,cp,p2: TPointF); overload; |
|
This item has no description. |
procedure quadraticCurve(const curve: TQuadraticBezierCurve); overload; |
|
This item has no description. |
procedure quadraticCurveTo(constref cp,pt: TPointF); overload; override; |
|
This item has no description. Showing description inherited from TBGRACustomPath.quadraticCurveTo. Adds a quadratic Bézier curve to the path |
procedure quadraticCurveTo(cpx,cpy,x,y: single); overload; |
|
This item has no description. |
procedure rect(x,y,w,h: single); |
|
This item has no description. |
procedure resetTransform; |
|
This item has no description. |
procedure rotate(angleRadCW: single); overload; |
|
This item has no description. |
procedure rotate(angleRadCW: single; center: TPointF); overload; |
|
This item has no description. |
procedure rotateDeg(angleDeg: single; center: TPointF); overload; |
|
This item has no description. |
procedure rotateDeg(angleDeg: single); overload; |
|
This item has no description. |
procedure roundRect(x,y,w,h,radius: single); |
|
This item has no description. |
procedure scale(factor: single); |
|
This item has no description. |
procedure SetPoints(const APoints: ArrayOfTPointF); |
|
This item has no description. |
procedure smoothBezierCurveTo(const cp2,pt: TPointF); overload; |
|
This item has no description. |
procedure smoothBezierCurveTo(cp2x,cp2y,x,y: single); overload; |
|
This item has no description. |
procedure smoothQuadraticCurveTo(x,y: single); overload; |
|
This item has no description. |
procedure smoothQuadraticCurveTo(const pt: TPointF); overload; |
|
This item has no description. |
procedure stroke(ABitmap: TBGRACustomBitmap; const AMatrix: TAffineMatrix; ATexture: IBGRAScanner; AWidth: single; AAcceptedDeviation: single = DefaultDeviation); overload; |
|
This item has no description. |
procedure stroke(ABitmap: TBGRACustomBitmap; x,y: single; ATexture: IBGRAScanner; AWidth: single; AAcceptedDeviation: single = DefaultDeviation); overload; |
|
This item has no description. |
procedure stroke(ABitmap: TBGRACustomBitmap; const AMatrix: TAffineMatrix; AColor: TBGRAPixel; AWidth: single; AAcceptedDeviation: single = DefaultDeviation); overload; |
|
This item has no description. |
procedure stroke(ADrawProc: TBGRAPathDrawProc; const AMatrix: TAffineMatrix; AAcceptedDeviation: single; AData: pointer = nil); overload; |
|
This item has no description. |
procedure stroke(ADrawProc: TBGRAPathDrawProc; const AMatrix: TAffineMatrix; AData: pointer); overload; override; |
|
This item has no description. Showing description inherited from TBGRACustomPath.stroke. Strokes the path with a specified drawing procedure and transformation matrix |
procedure stroke(ADrawProc: TBGRAPathDrawProc; AData: pointer); overload; override; |
|
This item has no description. Showing description inherited from TBGRACustomPath.stroke. Strokes the path with a specified drawing procedure |
procedure stroke(ABitmap: TBGRACustomBitmap; AColor: TBGRAPixel; AWidth: single; AAcceptedDeviation: single = DefaultDeviation); overload; |
|
This item has no description. |
procedure stroke(ABitmap: TBGRACustomBitmap; ATexture: IBGRAScanner; AWidth: single; AAcceptedDeviation: single = DefaultDeviation); overload; |
|
This item has no description. |
procedure stroke(ABitmap: TBGRACustomBitmap; x,y: single; AColor: TBGRAPixel; AWidth: single; AAcceptedDeviation: single = DefaultDeviation); overload; |
|
This item has no description. |
procedure translate(x,y: single); |
|
This item has no description. |
procedure BezierCurveFromTransformed(tcp1, cp2, pt:TPointF); |
|
This item has no description. |
procedure BitmapDrawSubPathProc(const APoints: array of TPointF; AClosed: boolean; AData: pointer); |
|
This item has no description. |
procedure ClearLastCoord; |
|
This item has no description. |
procedure DoClear; |
|
This item has no description. |
procedure GetElementAt(APos: PtrInt; out AElementType: TBGRAPathElementType; out AElement: pointer); |
|
This item has no description. |
procedure Init; |
|
This item has no description. |
procedure InternalDraw(ADrawProc: TBGRAPathDrawProc; const AMatrix: TAffineMatrix; AAcceptedDeviation: single; AData: pointer); |
|
This item has no description. |
procedure NeedSpace(count: integer); |
|
This item has no description. |
procedure OnMatrixChange; |
|
This item has no description. |
procedure OnModify; |
|
This item has no description. |
procedure QuadraticCurveFromTransformed(tcp, pt: TPointF); |
|
This item has no description. |
procedure RegisterCursor(ACursor: TBGRAPathCursor); |
|
This item has no description. |
procedure SetSvgString(const AValue: string); virtual; |
|
This item has no description. |
procedure UnregisterCursor(ACursor: TBGRAPathCursor); |
|
This item has no description. |
Properties
property SvgString: string read GetSvgString write SetSvgString; |
|
This item has no description. |