![]() |
PDFix SDK
6.12.0
|
Public Member Functions | |
virtual int | GetNumPathPoints () const =0 |
Gets the number of path points. More... | |
virtual PdsPathPoint * | GetPathPoint (int index)=0 |
Gets the requested path point. More... | |
virtual bool | SetStroke (bool stroke)=0 |
Indicate whether the path should be stroked. More... | |
virtual bool | SetFillType (PdfFillRule fill)=0 |
Sets path's fill rule. More... | |
virtual bool | MoveTo (const PdfPoint *point)=0 |
Set the current point. More... | |
virtual bool | LineTo (const PdfPoint *point)=0 |
Draw a line from the current point to the given point. More... | |
virtual bool | CurveTo (const PdfPoint *control_p_1, const PdfPoint *control_p_2, const PdfPoint *point)=0 |
virtual bool | ArcTo (const PdfPoint *end_p, const PdfPoint *radius_p, float angle, bool is_large, bool sweep)=0 |
Draw an arc from the current point to the end point. More... | |
virtual bool | ClosePath ()=0 |
Closes the current subpath. More... | |
![]() | |
virtual PdfPageObjectType | GetObjectType () const =0 |
Gets the type of an object. More... | |
virtual void | GetBBox (PdfRect *bbox) const =0 |
virtual void | GetQuad (PdfQuad *quad) const =0 |
virtual int | GetId () const =0 |
Gets the ordinal number of a page object. More... | |
virtual int | GetStateFlags () const =0 |
Get the object state flags. More... | |
virtual bool | SetStateFlags (int flags)=0 |
Set the object state flags. More... | |
virtual PdsObject * | GetStructObject (bool struct_parent)=0 |
virtual PdsContentMark * | GetContentMark ()=0 |
virtual PdfPage * | GetPage ()=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 (const PdfGraphicState *g_state)=0 |
virtual bool | SetMatrix (const PdfMatrix *matrix)=0 |
virtual void | MoveToContent (PdsContent *content, int index)=0 |
Moves object to another content. More... | |
virtual PdsPageObject * | CopyToContent (PdsContent *content, int index)=0 |
Copies object to another content. More... | |
|
pure virtual |
Draw an arc from the current point to the end point.
end_p | Path point where the arc ends. |
radius_p | Path point of radius. |
angle | X-axis rotation in degrees. |
is_large | Indicates if smaller or larger arc is chosen. |
sweep | Direction in which arc is drawn. |
|
pure virtual |
Closes the current subpath.
|
pure virtual |
Draw a Bezier curve from the current point to the given point using control_p_1 and control_p_2 as control points.
control_p_1 | First control point. |
control_p_2 | Second control point. |
point | Path point where the curve ends. |
|
pure virtual |
Gets the number of path points.
|
pure virtual |
Gets the requested path point.
index | Index of path point to obtain. |
|
pure virtual |
Draw a line from the current point to the given point.
point | Path point where the line ends. |
|
pure virtual |
Set the current point.
point | Path point to set. |
|
pure virtual |
Sets path's fill rule.
fill | Path's fill rule. |
|
pure virtual |
Indicate whether the path should be stroked.
stroke | if true the path should be stroked otherwise not. |