libpagemaker::OutputShape Class Reference

#include <OutputShape.h>

List of all members.

Public Member Functions

 OutputShape (bool isClosed, int shape, double rotation, double skew, const PMDFillProperties &fillProps, const PMDStrokeProperties &strokeProps)
 OutputShape (bool isClosed, int shape, double rotation, double skew, std::string text, std::vector< PMDCharProperties > charProps, std::vector< PMDParaProperties > paraProps)
 OutputShape (bool isClosed, int shape, double rotation, double skew, librevenge::RVNGBinaryData bitmap)
unsigned numPoints () const
InchPoint getPoint (unsigned i) const
bool getIsClosed () const
uint8_t shapeType () const
const PMDFillPropertiesgetFillProperties () const
const PMDStrokePropertiesgetStrokeProperties () const
double getRotation () const
double getSkew () const
std::string getText () const
std::vector< PMDCharPropertiesgetCharProperties () const
std::vector< PMDParaPropertiesgetParaProperties () const
librevenge::RVNGBinaryData getBitmap () const
std::pair< InchPoint, InchPointgetBoundingBox () const
void setBoundingBox (InchPoint bboxTopLeft, InchPoint bboxBotRight)
void addPoint (InchPoint point)
void setDimensions (double width, double height)
double getWidth () const
double getHeight () const

Private Attributes

bool m_isClosed
uint8_t m_shapeType
std::vector< InchPointm_points
double m_rotation
double m_skew
double m_bboxLeft
double m_bboxTop
double m_bboxRight
double m_bboxBot
PMDFillProperties m_fillProps
PMDStrokeProperties m_strokeProps
std::string m_text
std::vector< PMDCharPropertiesm_charProps
std::vector< PMDParaPropertiesm_paraProps
librevenge::RVNGBinaryData m_bitmap
double m_width
double m_height

Constructor & Destructor Documentation

libpagemaker::OutputShape::OutputShape ( bool  isClosed,
int  shape,
double  rotation,
double  skew,
const PMDFillProperties fillProps,
const PMDStrokeProperties strokeProps 
) [inline]
libpagemaker::OutputShape::OutputShape ( bool  isClosed,
int  shape,
double  rotation,
double  skew,
std::string  text,
std::vector< PMDCharProperties charProps,
std::vector< PMDParaProperties paraProps 
) [inline]
libpagemaker::OutputShape::OutputShape ( bool  isClosed,
int  shape,
double  rotation,
double  skew,
librevenge::RVNGBinaryData  bitmap 
) [inline]

Member Function Documentation

librevenge::RVNGBinaryData libpagemaker::OutputShape::getBitmap ( ) const [inline]
void libpagemaker::OutputShape::setBoundingBox ( InchPoint  bboxTopLeft,
InchPoint  bboxBotRight 
) [inline]
void libpagemaker::OutputShape::setDimensions ( double  width,
double  height 
) [inline]

Member Data Documentation

librevenge::RVNGBinaryData libpagemaker::OutputShape::m_bitmap [private]

Referenced by getBitmap(), and getBoundingBox().

Referenced by getHeight(), and setDimensions().

Referenced by getRotation().

Referenced by shapeType().

Referenced by getSkew().

std::string libpagemaker::OutputShape::m_text [private]

Referenced by getText().

Referenced by getWidth(), and setDimensions().


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