kpresenter
KPrSVGPathParser Class Reference
List of all members.Detailed Description
Definition at line 27 of file KPrSVGPathParser.h.
Public Member Functions | |
virtual | ~KPrSVGPathParser () |
ObjType | getType (QString &d) |
KoPointArray | getPoints (QString &d, bool convert2lines=false) |
Protected Member Functions | |
virtual void | svgMoveTo (double x1, double y1, bool abs=true) |
virtual void | svgLineTo (double x1, double y1, bool abs=true) |
virtual void | svgCurveToCubic (double x1, double y1, double x2, double y2, double x, double y, bool abs=true) |
virtual void | svgClosePath () |
Constructor & Destructor Documentation
virtual KPrSVGPathParser::~KPrSVGPathParser | ( | ) | [inline, virtual] |
Member Function Documentation
ObjType KPrSVGPathParser::getType | ( | QString & | d | ) |
Get the type of object which can handle the path.
- Parameters:
-
d the svg:d attribute of the draw:path object
- Returns:
- The object type. This can be: OT_FREEHAND OT_CLOSED_LINE OT_QUADRICBEZIERCURVE OT_CUBICBEZIERCURVE or OT_UNDEFINED if path is not supported
Definition at line 23 of file KPrSVGPathParser.cpp.
KoPointArray KPrSVGPathParser::getPoints | ( | QString & | d, | |
bool | convert2lines = false | |||
) |
Get the points of the path.
- Parameters:
-
d the svg:d attribute of the draw:path object convert2lines true if curves should be replaced by lines.
- Returns:
- points of the path
Definition at line 53 of file KPrSVGPathParser.cpp.
The documentation for this class was generated from the following files: