PDFix SDK  6.5.0
PdsPath Struct Referenceabstract

PdsPath class. More...

Inheritance diagram for PdsPath:
PdsPageObject

Public Member Functions

virtual int GetNumPathPoints ()=0
 Gets the number of path points. More...
 
virtual PdsPathPointGetPathPoint (int index)=0
 Gets the requested path point. More...
 
virtual bool SetStroke (bool stroke)=0
 
virtual bool SetFillType (PdfFillRule fill)=0
 
virtual bool MoveTo (PdfPoint *point)=0
 
virtual bool LineTo (PdfPoint *point)=0
 
virtual bool CurveTo (PdfPoint *control_p_1, PdfPoint *control_p_2, PdfPoint *point)=0
 
virtual bool ArcTo (PdfPoint *end_p, PdfPoint *radius_p, double angle, bool is_large, bool sweep)=0
 
virtual bool ClosePath ()=0
 
- Public Member Functions inherited from PdsPageObject
virtual PdfPageObjectType GetObjectType ()=0
 Gets the type of an object. More...
 
virtual void GetBBox (PdfRect *bbox)=0
 
virtual int GetId ()=0
 Gets the ordinal number of a page object. More...
 
virtual void SetRender (bool render)=0
 Set page object element to draw or not while rendering page content. More...
 
virtual PdsObjectGetStructObject (bool struct_parent)=0
 
virtual PdsContentMarkGetContentMark ()=0
 
virtual PdfPageGetPage ()=0
 Gets a reference to the page on which the object is present. More...
 
virtual bool GetGState (PdfGraphicState *g_state)=0
 Gets the graphic state of the page object. More...
 
virtual bool SetGState (PdfGraphicState *g_state)=0
 
virtual bool SetMatrix (PdfMatrix *matrix)=0
 

Detailed Description

PdsPath class.

A PdsPath is a path object in a PDF page content.

Member Function Documentation

◆ GetNumPathPoints()

virtual int PdsPath::GetNumPathPoints ( )
pure virtual

Gets the number of path points.

Returns
Number of path points in the path construction.

◆ GetPathPoint()

virtual PdsPathPoint* PdsPath::GetPathPoint ( int  index)
pure virtual

Gets the requested path point.

Parameters
indexIndex of path point to obtain.
Returns
The requested path point.