|
Krita Source Code Documentation
|
#include <KoPathShapeLoader.h>
Public Member Functions | |
| KoPathShapeLoader (KoPathShape *path) | |
| void | parseSvg (const QString &svgInputData, bool process=false) |
| ~KoPathShapeLoader () | |
Private Attributes | |
| KoPathShapeLoaderPrivate *const | d |
Parser for svg path data, passed by argument in the parseSvg() method A helper class for parsing path data when loading from svg/odf
Definition at line 20 of file KoPathShapeLoader.h.
|
explicit |
Definition at line 645 of file KoPathShapeLoader.cpp.
| KoPathShapeLoader::~KoPathShapeLoader | ( | ) |
| void KoPathShapeLoader::parseSvg | ( | const QString & | svgInputData, |
| bool | process = false ) |
There are two operating modes. By default the parser just delivers unaltered svg path data commands and parameters. In the second mode, it will convert all relative coordinates to absolute ones, and convert all curves to cubic beziers.
Definition at line 655 of file KoPathShapeLoader.cpp.
References d, and KoPathShapeLoaderPrivate::parseSvg().
|
private |
Definition at line 34 of file KoPathShapeLoader.h.