Class IGDIPlus.TGPGraphicsPath
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Package: SignalLabBasicPkg
Unit: IGDIPlus
Inherits: TGPBase
Contents |
Syntax
Delphi:
type TGPGraphicsPath = class( TGPBase, IGPGraphicsPath )
C++ Builder:
class TGPGraphicsPath : public TGPBase
Visual C++ (MFC):
class CTGPGraphicsPath : public CTGPBase
C# (.NET):
public ref class TGPGraphicsPath : Mitov.SignalLab.Base
Summary
Stores a sequence of lines, curves, and shapes.
Description
A TGPGraphicsPath object stores a sequence of lines, curves, and shapes. You can draw the entire sequence by calling the DrawPath method of a Graphics object. You can partition the sequence of lines, curves, and shapes into figures, and with the help of a TGPGraphicsPathIterator object, you can draw selected figures. You can also place markers in the sequence, so that you can draw selected portions of the path. Remarks A path consists of one or more figures. As you add lines and curves to a path, those lines and curves become part of a figure. You can start a new figure by calling the TGPGraphicsPath.StartFigure method. When you draw a path, the lines and curves within an individual figure are connected by straight lines; the ending point of one line or curve is connected to the starting point of the next line or curve. No connecting line is drawn between the end of one figure and the start of the next figure.
A figure can be open or closed. You can close a figure by calling the TGPGraphicsPath.CloseFigure method. After you call TGPGraphicsPath.CloseFigure, the next line, curve, or shape that you add to the path is part of the next figure. When you draw a path, the ending point of each closed figure is automatically connected to the starting point of that figure.
Some shapes (for example, rectangles and ellipses) are intrinsically closed. When you add an intrinsically closed shape to a path, that shape is in a figure by itself, and that figure is considered closed even if you don't call TGPGraphicsPath.CloseFigure. The following methods add intrinsically closed figures to a path:
TGPGraphicsPath.AddClosedCurve Methods
TGPGraphicsPath.AddEllipse Methods
TGPGraphicsPath.AddPie Methods
TGPGraphicsPath.AddPolygon Methods
TGPGraphicsPath.AddRectangle Methods
TGPGraphicsPath.AddRectangles Methods
TGPGraphicsPath.AddString Methods
Methods
Public
- function GetNativePath() : GpPath
- function Clone() : TGPGraphicsPath
- function Reset() : TGPGraphicsPath
- function GetFillMode() : TGPFillMode
- function SetFillMode(fillmode : TGPFillMode) : TGPGraphicsPath
- procedure SetFillModeProp(fillmode : TGPFillMode)
- function GetPathData() : IGPPathData
- function StartFigure() : TGPGraphicsPath
- function CloseFigure() : TGPGraphicsPath
- function CloseAllFigures() : TGPGraphicsPath
- function SetMarker() : TGPGraphicsPath
- function ClearMarkers() : TGPGraphicsPath
- function Reverse() : TGPGraphicsPath
- function GetLastPoint() : TGPPointF
- function AddLineF(pt1 : TGPPointF; pt2 : TGPPointF) : TGPGraphicsPath
- function AddLineF(x1 : Single; y1 : Single; x2 : Single; y2 : Single) : TGPGraphicsPath
- function AddLinesF(points : array) : TGPGraphicsPath
- function AddLine(pt1 : TGPPoint; pt2 : TGPPoint) : TGPGraphicsPath
- function AddLine(x1 : Integer; y1 : Integer; x2 : Integer; y2 : Integer) : TGPGraphicsPath
- function AddLines(points : array) : TGPGraphicsPath
- function AddArcF(rect : TGPRectF; startAngle : Single; sweepAngle : Single) : TGPGraphicsPath
- function AddArcF(x : Single; y : Single; width : Single; height : Single; startAngle : Single; sweepAngle : Single) : TGPGraphicsPath
- function AddArc(rect : TGPRect; startAngle : Single; sweepAngle : Single) : TGPGraphicsPath
- function AddArc(x : Integer; y : Integer; width : Integer; height : Integer; startAngle : Single; sweepAngle : Single) : TGPGraphicsPath
- function AddBezierF(pt1 : TGPPointF; pt2 : TGPPointF; pt3 : TGPPointF; pt4 : TGPPointF) : TGPGraphicsPath
- function AddBezierF(x1 : Single; y1 : Single; x2 : Single; y2 : Single; x3 : Single; y3 : Single; x4 : Single; y4 : Single) : TGPGraphicsPath
- function AddBeziersF(points : array) : TGPGraphicsPath
- function AddBezier(pt1 : TGPPoint; pt2 : TGPPoint; pt3 : TGPPoint; pt4 : TGPPoint) : TGPGraphicsPath
- function AddBezier(x1 : Integer; y1 : Integer; x2 : Integer; y2 : Integer; x3 : Integer; y3 : Integer; x4 : Integer; y4 : Integer) : TGPGraphicsPath
- function AddBeziers(points : array) : TGPGraphicsPath
- function AddCurveF(points : array) : TGPGraphicsPath
- function AddCurveF(points : array; tension : Single) : TGPGraphicsPath
- function AddCurveF(points : array; offset : Integer; numberOfSegments : Integer; tension : Single) : TGPGraphicsPath
- function AddCurve(points : array) : TGPGraphicsPath
- function AddCurve(points : array; tension : Single) : TGPGraphicsPath
- function AddCurve(points : array; offset : Integer; numberOfSegments : Integer; tension : Single) : TGPGraphicsPath
- function AddClosedCurveF(points : array) : TGPGraphicsPath
- function AddClosedCurveF(points : array; tension : Single) : TGPGraphicsPath
- function AddClosedCurve(points : array) : TGPGraphicsPath
- function AddClosedCurve(points : array; tension : Single) : TGPGraphicsPath
- function AddRectangleF(rect : TGPRectF) : TGPGraphicsPath
- function AddRectangleF(x : Single; y : Single; width : Single; height : Single) : TGPGraphicsPath
- function AddRectangle(rect : TGPRect) : TGPGraphicsPath
- function AddRectangle(x : Integer; y : Integer; width : Integer; height : Integer) : TGPGraphicsPath
- function AddRoundRectangleF(ARect : TGPRectF; ACornerSize : TGPSizeF) : TGPGraphicsPath
- function AddRoundRectangle(ARect : TGPRect; ACornerSize : TGPSize) : TGPGraphicsPath
- function AddRectanglesF(rects : array) : TGPGraphicsPath
- function AddRectangles(rects : array) : TGPGraphicsPath
- function AddEllipseF(rect : TGPRectF) : TGPGraphicsPath
- function AddEllipseF(x : Single; y : Single; width : Single; height : Single) : TGPGraphicsPath
- function AddEllipse(rect : TGPRect) : TGPGraphicsPath
- function AddEllipse(x : Integer; y : Integer; width : Integer; height : Integer) : TGPGraphicsPath
- function AddPieF(rect : TGPRectF; startAngle : Single; sweepAngle : Single) : TGPGraphicsPath
- function AddPieF(x : Single; y : Single; width : Single; height : Single; startAngle : Single; sweepAngle : Single) : TGPGraphicsPath
- function AddPie(rect : TGPRect; startAngle : Single; sweepAngle : Single) : TGPGraphicsPath
- function AddPie(x : Integer; y : Integer; width : Integer; height : Integer; startAngle : Single; sweepAngle : Single) : TGPGraphicsPath
- function AddPolygonF(points : array) : TGPGraphicsPath
- function AddPolygon(points : array) : TGPGraphicsPath
- function AddPath(addingPath : IGPGraphicsPath; connect : Boolean) : TGPGraphicsPath
- function AddStringF(string_ : WideString; font : IGPFont; origin : TGPPointF; format : IGPStringFormat) : TGPGraphicsPath
- function AddStringF(string_ : WideString; font : IGPFont; layoutRect : TGPRectF; format : IGPStringFormat) : TGPGraphicsPath
- function AddString(string_ : WideString; font : IGPFont; origin : TGPPoint; format : IGPStringFormat) : TGPGraphicsPath
- function AddString(string_ : WideString; font : IGPFont; layoutRect : TGPRect; format : IGPStringFormat) : TGPGraphicsPath
- function AddStringF(string_ : WideString; family : IGPFontFamily; style : Integer; emSize : Single; origin : TGPPointF; format : IGPStringFormat) : TGPGraphicsPath
- function AddStringF(string_ : WideString; family : IGPFontFamily; style : Integer; emSize : Single; layoutRect : TGPRectF; format : IGPStringFormat) : TGPGraphicsPath
- function AddString(string_ : WideString; family : IGPFontFamily; style : Integer; emSize : Single; origin : TGPPoint; format : IGPStringFormat) : TGPGraphicsPath
- function AddString(string_ : WideString; family : IGPFontFamily; style : Integer; emSize : Single; layoutRect : TGPRect; format : IGPStringFormat) : TGPGraphicsPath
- function Transform(matrix : IGPMatrix) : TGPGraphicsPath
- function GetBoundsF(matrix : IGPMatrix; pen : IGPPen) : TGPRectF
- function GetBounds(matrix : IGPMatrix; pen : IGPPen) : TGPRect
- function Flatten(matrix : IGPMatrix; flatness : Single) : TGPGraphicsPath
- function Widen(pen : IGPPen; matrix : IGPMatrix; flatness : Single) : TGPGraphicsPath
- function Outline(matrix : IGPMatrix; flatness : Single) : TGPGraphicsPath
- function Warp(destPoints : array; srcRect : TGPRectF; matrix : IGPMatrix; warpMode : TGPWarpMode; var flatness : Single) : TGPGraphicsPath
- function GetPointCount() : Integer
- function GetPathTypes(types : PBYTE; count : Integer) : TGPGraphicsPath
- function GetPathPointsF() : TGPPointFArray
- function GetPathPoints() : TGPPointArray
- function IsVisibleF(point : TGPPointF; g : IGPGraphics) : Boolean
- function IsVisibleF(x : Single; y : Single; g : IGPGraphics) : Boolean
- function IsVisible(point : TGPPoint; g : IGPGraphics) : Boolean
- function IsVisible(x : Integer; y : Integer; g : IGPGraphics) : Boolean
- function IsOutlineVisibleF(point : TGPPointF; pen : IGPPen; g : IGPGraphics) : Boolean
- function IsOutlineVisibleF(x : Single; y : Single; pen : IGPPen; g : IGPGraphics) : Boolean
- function IsOutlineVisible(point : TGPPoint; pen : IGPPen; g : IGPGraphics) : Boolean
- function IsOutlineVisible(x : Integer; y : Integer; pen : IGPPen; g : IGPGraphics) : Boolean