25 #include "xml/tinyxml.h"
27 #include "OE_svg_base.h"
39 virtual bool draw(
float dpi);
40 virtual bool Parse(TiXmlElement *input);
55 static float sqr(
float x);
56 static float vmag(
float x,
float y);
57 static float vecrat(
float ux,
float uy,
float vx,
float vy);
58 static float vecang(
float ux,
float uy,
float vx,
float vy);
59 static void xformPoint(
float* dx,
float* dy,
float x,
float y,
float* t);
60 static void xformVec(
float* dx,
float* dy,
float x,
float y,
float* t);
65 const char* parseNumber(
const char* s,
char* it,
const int size);
66 const char* getNextPathItem(
const char* s,
char* it);
69 int getArgsPerElement(
char cmd);
70 void pathMoveTo(
OE_curve* curve,
float* cpx,
float* cpy,
float* args,
int rel);
71 void pathLineTo(
OE_curve* curve,
float* cpx,
float* cpy,
float* args,
int rel);
72 void pathHLineTo(
OE_curve* curve,
float* cpx,
float* cpy,
float* args,
int rel);
73 void pathVLineTo(
OE_curve* curve,
float* cpx,
float* cpy,
float* args,
int rel);
74 void pathCubicBezTo(
OE_curve* curve,
float* cpx,
float* cpy,
float* cpx2,
float* cpy2,
float* args,
int rel);
75 void pathCubicBezShortTo(
OE_curve* curve,
float* cpx,
float* cpy,
float* cpx2,
float* cpy2,
float* args,
int rel);
76 void pathQuadBezTo(
OE_curve* curve,
float* cpx,
float* cpy,
float* cpx2,
float* cpy2,
float* args,
int rel);
77 void pathQuadBezShortTo(
OE_curve* curve,
float* cpx,
float* cpy,
float* cpx2,
float* cpy2,
float* args,
int rel);
78 void pathArcTo(
OE_curve* curve,
float* cpx,
float* cpy,
float* args,
int rel);
virtual bool Parse(TiXmlElement *input)
parse the xml file to load params
Definition: OE_path.cpp:491
virtual ~OE_path()
Definition: OE_path.cpp:42
virtual bool draw(float dpi)
Definition: OE_path.cpp:665
Definition: OE_svg_base.h:27
Definition: OE_curve.h:30
OE_path()
Definition: OE_path.cpp:31