libetonyek::IWORKPath Class Reference

#include <IWORKPath.h>

List of all members.

Classes

struct  Impl
struct  InvalidException

Public Member Functions

 IWORKPath ()
 IWORKPath (const std::string &path)
 IWORKPath (const IWORKPath &other)
IWORKPathoperator= (const IWORKPath &other)
void swap (IWORKPath &other)
void clear ()
void appendMoveTo (double x, double y)
void appendLineTo (double x, double y)
void appendCurveTo (double x1, double y1, double x2, double y2, double x, double y)
void appendClose ()
void operator*= (const glm::dmat3 &tr)
 Transform all elements of the path.
const std::string str () const
void write (librevenge::RVNGPropertyListVector &vec) const
 Create librevenge representation of this path.

Private Attributes

boost::shared_ptr< Implm_impl

Friends

bool approxEqual (const IWORKPath &left, const IWORKPath &right, const double eps)

Constructor & Destructor Documentation

libetonyek::IWORKPath::IWORKPath ( const std::string &  path) [explicit]

Member Function Documentation

void libetonyek::IWORKPath::appendCurveTo ( double  x1,
double  y1,
double  x2,
double  y2,
double  x,
double  y 
)
void libetonyek::IWORKPath::operator*= ( const glm::dmat3 &  tr)

Transform all elements of the path.

  • [in] tr the transformation

Referenced by BOOST_FUSION_ADAPT_STRUCT().

IWORKPath& libetonyek::IWORKPath::operator= ( const IWORKPath other)
const std::string libetonyek::IWORKPath::str ( ) const
void libetonyek::IWORKPath::write ( librevenge::RVNGPropertyListVector &  vec) const

Create librevenge representation of this path.

Referenced by BOOST_FUSION_ADAPT_STRUCT(), libetonyek::IWORKCollector::drawShape(), and libetonyek::KEYCollector::drawTextBox().


Friends And Related Function Documentation

bool approxEqual ( const IWORKPath left,
const IWORKPath right,
const double  eps 
) [friend]

Member Data Documentation

boost::shared_ptr<Impl> libetonyek::IWORKPath::m_impl [private]

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