libfreehand::FHPath Class Reference

#include <FHPath.h>

Inheritance diagram for libfreehand::FHPath:
libfreehand::FHPathElement

Public Member Functions

 FHPath ()
 
 FHPath (const FHPath &path)
 
 ~FHPath ()
 
FHPathoperator= (const FHPath &path)
 
void appendMoveTo (double x, double y)
 
void appendLineTo (double x, double y)
 
void appendCubicBezierTo (double x1, double y1, double x2, double y2, double x, double y)
 
void appendQuadraticBezierTo (double x1, double y1, double x, double y)
 
void appendArcTo (double rx, double ry, double rotation, bool longAngle, bool sweep, double x, double y)
 
void appendClosePath ()
 
void appendPath (const FHPath &path)
 
void setXFormId (unsigned xFormId)
 
void setGraphicStyleId (unsigned graphicStyleId)
 
void setEvenOdd (bool evenOdd)
 
void writeOut (librevenge::RVNGPropertyListVector &vec) const
 
void transform (const FHTransform &trafo)
 
FHPathElementclone ()
 
void getBoundingBox (double x0, double y0, double &xmin, double &ymin, double &xmax, double &ymax) const
 
double getX () const
 
double getY () const
 
void clear ()
 
bool empty () const
 
bool isClosed () const
 
unsigned getXFormId () const
 
unsigned getGraphicStyleId () const
 
bool getEvenOdd () const
 
void getBoundingBox (double &xmin, double &ymin, double &xmax, double &ymax) const
 
- Public Member Functions inherited from libfreehand::FHPathElement
 FHPathElement ()
 
virtual ~FHPathElement ()
 

Private Attributes

std::vector< FHPathElement * > m_elements
 
bool m_isClosed
 
unsigned m_xFormId
 
unsigned m_graphicStyleId
 
bool m_evenOdd
 

Constructor & Destructor Documentation

§ FHPath() [1/2]

libfreehand::FHPath::FHPath ( )
inline

Referenced by clone().

§ FHPath() [2/2]

libfreehand::FHPath::FHPath ( const FHPath path)

§ ~FHPath()

libfreehand::FHPath::~FHPath ( )

Member Function Documentation

§ appendArcTo()

void libfreehand::FHPath::appendArcTo ( double  rx,
double  ry,
double  rotation,
bool  longAngle,
bool  sweep,
double  x,
double  y 
)

§ appendClosePath()

§ appendCubicBezierTo()

void libfreehand::FHPath::appendCubicBezierTo ( double  x1,
double  y1,
double  x2,
double  y2,
double  x,
double  y 
)

§ appendLineTo()

void libfreehand::FHPath::appendLineTo ( double  x,
double  y 
)

§ appendMoveTo()

§ appendPath()

void libfreehand::FHPath::appendPath ( const FHPath path)

§ appendQuadraticBezierTo()

void libfreehand::FHPath::appendQuadraticBezierTo ( double  x1,
double  y1,
double  x,
double  y 
)

§ clear()

void libfreehand::FHPath::clear ( )

Referenced by operator=(), and ~FHPath().

§ clone()

libfreehand::FHPathElement * libfreehand::FHPath::clone ( )
virtual

§ empty()

§ getBoundingBox() [1/2]

void libfreehand::FHPath::getBoundingBox ( double  x0,
double  y0,
double &  xmin,
double &  ymin,
double &  xmax,
double &  ymax 
) const
virtual

§ getBoundingBox() [2/2]

void libfreehand::FHPath::getBoundingBox ( double &  xmin,
double &  ymin,
double &  xmax,
double &  ymax 
) const

§ getEvenOdd()

bool libfreehand::FHPath::getEvenOdd ( ) const

§ getGraphicStyleId()

§ getX()

double libfreehand::FHPath::getX ( ) const
virtual

§ getXFormId()

§ getY()

double libfreehand::FHPath::getY ( ) const
virtual

§ isClosed()

bool libfreehand::FHPath::isClosed ( ) const

§ operator=()

libfreehand::FHPath & libfreehand::FHPath::operator= ( const FHPath path)

§ setEvenOdd()

§ setGraphicStyleId()

§ setXFormId()

void libfreehand::FHPath::setXFormId ( unsigned  xFormId)

§ transform()

§ writeOut()

void libfreehand::FHPath::writeOut ( librevenge::RVNGPropertyListVector &  vec) const
virtual

Member Data Documentation

§ m_elements

std::vector<FHPathElement *> libfreehand::FHPath::m_elements
private

§ m_evenOdd

bool libfreehand::FHPath::m_evenOdd
private

Referenced by getEvenOdd(), and setEvenOdd().

§ m_graphicStyleId

unsigned libfreehand::FHPath::m_graphicStyleId
private

§ m_isClosed

bool libfreehand::FHPath::m_isClosed
private

Referenced by clear(), isClosed(), and operator=().

§ m_xFormId

unsigned libfreehand::FHPath::m_xFormId
private

The documentation for this class was generated from the following files:

Generated for libfreehand by doxygen 1.8.12