14 #include <librevenge/librevenge.h>
26 virtual void writeOut(librevenge::RVNGPropertyListVector &vec)
const = 0;
29 virtual void getBoundingBox(
double x0,
double y0,
double &px,
double &py,
double &qx,
double &qy)
const = 0;
30 virtual double getX()
const = 0;
31 virtual double getY()
const = 0;
48 void appendArcTo(
double rx,
double ry,
double rotation,
bool longAngle,
bool sweep,
double x,
double y);
55 void writeOut(librevenge::RVNGPropertyListVector &vec)
const;
58 void getBoundingBox(
double x0,
double y0,
double &xmin,
double &ymin,
double &xmax,
double &ymax)
const;
68 void getBoundingBox(
double &xmin,
double &ymin,
double &xmax,
double &ymax)
const;
void appendLineTo(double x, double y)
Definition: FHPath.cpp:582
virtual FHPathElement * clone()=0
FHPath()
Definition: FHPath.h:38
std::vector< FHPathElement * > m_elements
Definition: FHPath.h:71
virtual void writeOut(librevenge::RVNGPropertyListVector &vec) const =0
bool isClosed() const
Definition: FHPath.cpp:689
void setGraphicStyleId(unsigned graphicStyleId)
Definition: FHPath.cpp:646
virtual double getX() const =0
unsigned getXFormId() const
Definition: FHPath.cpp:708
void setEvenOdd(bool evenOdd)
Definition: FHPath.cpp:651
bool m_isClosed
Definition: FHPath.h:72
bool empty() const
Definition: FHPath.cpp:684
void appendMoveTo(double x, double y)
Definition: FHPath.cpp:577
unsigned m_xFormId
Definition: FHPath.h:73
void setXFormId(unsigned xFormId)
Definition: FHPath.cpp:641
void appendArcTo(double rx, double ry, double rotation, bool longAngle, bool sweep, double x, double y)
Definition: FHPath.cpp:597
void appendPath(const FHPath &path)
Definition: FHPath.cpp:630
unsigned getGraphicStyleId() const
Definition: FHPath.cpp:713
FHPath & operator=(const FHPath &path)
Definition: FHPath.cpp:615
virtual double getY() const =0
void getBoundingBox(double x0, double y0, double &xmin, double &ymin, double &xmax, double &ymax) const
Definition: FHPath.cpp:723
double getY() const
Definition: FHPath.cpp:701
void appendClosePath()
Definition: FHPath.cpp:602
FHPathElement()
Definition: FHPath.h:24
void clear()
Definition: FHPath.cpp:673
void transform(const FHTransform &trafo)
Definition: FHPath.cpp:662
virtual void getBoundingBox(double x0, double y0, double &px, double &py, double &qx, double &qy) const =0
~FHPath()
Definition: FHPath.cpp:636
virtual void transform(const FHTransform &trafo)=0
bool m_evenOdd
Definition: FHPath.h:75
double getX() const
Definition: FHPath.cpp:694
FHPathElement * clone()
Definition: FHPath.cpp:668
bool getEvenOdd() const
Definition: FHPath.cpp:718
void appendCubicBezierTo(double x1, double y1, double x2, double y2, double x, double y)
Definition: FHPath.cpp:587
void appendQuadraticBezierTo(double x1, double y1, double x, double y)
Definition: FHPath.cpp:592
unsigned m_graphicStyleId
Definition: FHPath.h:74
void writeOut(librevenge::RVNGPropertyListVector &vec) const
Definition: FHPath.cpp:656
virtual ~FHPathElement()
Definition: FHPath.h:25