Help Center

CGpGraphicsPath.Constructorsconstructor

Creates a **Graphics** object.

GraphicsconstructorCGpPath.incdoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Parameters

NameDescription
ptsPointer to an array of points that specifies the endpoints and control points of the lines and Bézier splines that are used to draw the path.
typesPointer to an array of bytes that holds the point type and a set of flags for each point in the points array. The point type is stored in the three least significant bits, and the flags are stored in the four most significant bits. Possible point types and flags are listed in the PathPointType enumeration.
nCountInteger that specifies the number of elements in the points array. This is the same as the number of elements in the types array.
nCountOptional. Element of the FillMode enumeration that specifies how areas are filled if the path intersects itself. The default value is FillModeAlternate.
fillModeOptional. Element of the FillMode enumeration that specifies how areas are filled if the path intersects itself. The default value is FillModeAlternate.

Description

Creates a GraphicsPath object.

Reference

  • Include file CGpPath.inc
  • Documented in Graphics/GdiPlus Classes/CGpGraphics Classes.md
  • Topic: CGpGraphics Class