17#include <librevenge/librevenge.h> 
   29  virtual void writeOut(librevenge::RVNGPropertyListVector &vec) 
const = 0;
 
   30  virtual void writeOut(std::ostream &s) 
const = 0;
 
   33  virtual void getBoundingBox(
double x0, 
double y0, 
double &px, 
double &py, 
double &qx, 
double &qy) 
const = 0;
 
   34  virtual double getX() 
const = 0;
 
   35  virtual double getY() 
const = 0;
 
 
   52  void appendArcTo(
double rx, 
double ry, 
double rotation, 
bool longAngle, 
bool sweep, 
double x, 
double y);
 
   59  void writeOut(librevenge::RVNGPropertyListVector &vec) 
const;
 
   62  void getBoundingBox(
double x0, 
double y0, 
double &xmin, 
double &ymin, 
double &xmax, 
double &ymax) 
const;
 
   72  void getBoundingBox(
double &xmin, 
double &ymin, 
double &xmax, 
double &ymax) 
const;
 
 
FHPathElement()
Definition FHPath.h:27
virtual void transform(const FHTransform &trafo)=0
virtual void writeOut(librevenge::RVNGPropertyListVector &vec) const =0
virtual double getY() const =0
virtual double getX() const =0
virtual void writeOut(std::ostream &s) const =0
virtual FHPathElement * clone()=0
virtual void getBoundingBox(double x0, double y0, double &px, double &py, double &qx, double &qy) const =0
virtual ~FHPathElement()
Definition FHPath.h:28
void appendQuadraticBezierTo(double x1, double y1, double x, double y)
Definition FHPath.cpp:633
bool m_isClosed
Definition FHPath.h:76
FHPath & operator=(const FHPath &path)
Definition FHPath.cpp:655
bool m_evenOdd
Definition FHPath.h:79
unsigned m_graphicStyleId
Definition FHPath.h:78
void transform(const FHTransform &trafo)
Definition FHPath.cpp:708
void appendPath(const FHPath &path)
Definition FHPath.cpp:669
void getBoundingBox(double x0, double y0, double &xmin, double &ymin, double &xmax, double &ymax) const
Definition FHPath.cpp:761
std::vector< std::unique_ptr< FHPathElement > > m_elements
Definition FHPath.h:75
void clear()
Definition FHPath.cpp:714
void setXFormId(unsigned xFormId)
Definition FHPath.cpp:679
void appendArcTo(double rx, double ry, double rotation, bool longAngle, bool sweep, double x, double y)
Definition FHPath.cpp:638
bool empty() const
Definition FHPath.cpp:722
void appendMoveTo(double x, double y)
Definition FHPath.cpp:618
unsigned getGraphicStyleId() const
Definition FHPath.cpp:751
void appendCubicBezierTo(double x1, double y1, double x2, double y2, double x, double y)
Definition FHPath.cpp:628
std::string getPathString() const
Definition FHPath.cpp:700
bool getEvenOdd() const
Definition FHPath.cpp:756
double getY() const
Definition FHPath.cpp:739
void writeOut(librevenge::RVNGPropertyListVector &vec) const
Definition FHPath.cpp:694
void setGraphicStyleId(unsigned graphicStyleId)
Definition FHPath.cpp:684
FHPath()
Definition FHPath.h:42
~FHPath()
Definition FHPath.cpp:675
void appendClosePath()
Definition FHPath.cpp:643
unsigned m_xFormId
Definition FHPath.h:77
bool isClosed() const
Definition FHPath.cpp:727
double getX() const
Definition FHPath.cpp:732
void setEvenOdd(bool evenOdd)
Definition FHPath.cpp:689
unsigned getXFormId() const
Definition FHPath.cpp:746
void appendLineTo(double x, double y)
Definition FHPath.cpp:623
Definition FHCollector.h:23