libpagemaker::OutputShape Class Reference

#include <OutputShape.h>

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

◆ OutputShape() [1/3]

libpagemaker::OutputShape::OutputShape ( bool  isClosed,
int  shape,
double  rotation,
double  skew,
const PMDFillProperties fillProps,
const PMDStrokeProperties strokeProps 
)
inline

◆ OutputShape() [2/3]

libpagemaker::OutputShape::OutputShape ( bool  isClosed,
int  shape,
double  rotation,
double  skew,
std::string  text,
std::vector< PMDCharProperties charProps,
std::vector< PMDParaProperties paraProps 
)
inline

◆ OutputShape() [3/3]

libpagemaker::OutputShape::OutputShape ( bool  isClosed,
int  shape,
double  rotation,
double  skew,
librevenge::RVNGBinaryData  bitmap 
)
inline

Member Function Documentation

◆ addPoint()

void libpagemaker::OutputShape::addPoint ( InchPoint  point)
inline

◆ getBitmap()

librevenge::RVNGBinaryData libpagemaker::OutputShape::getBitmap ( ) const
inline

◆ getBoundingBox()

std::pair< InchPoint, InchPoint > libpagemaker::OutputShape::getBoundingBox ( ) const
inline

◆ getCharProperties()

std::vector< PMDCharProperties > libpagemaker::OutputShape::getCharProperties ( ) const
inline

◆ getFillProperties()

const PMDFillProperties & libpagemaker::OutputShape::getFillProperties ( ) const
inline

◆ getHeight()

double libpagemaker::OutputShape::getHeight ( ) const
inline

◆ getIsClosed()

bool libpagemaker::OutputShape::getIsClosed ( ) const
inline

◆ getParaProperties()

std::vector< PMDParaProperties > libpagemaker::OutputShape::getParaProperties ( ) const
inline

◆ getPoint()

InchPoint libpagemaker::OutputShape::getPoint ( unsigned  i) const
inline

◆ getRotation()

double libpagemaker::OutputShape::getRotation ( ) const
inline

◆ getSkew()

double libpagemaker::OutputShape::getSkew ( ) const
inline

◆ getStrokeProperties()

const PMDStrokeProperties & libpagemaker::OutputShape::getStrokeProperties ( ) const
inline

◆ getText()

std::string libpagemaker::OutputShape::getText ( ) const
inline

◆ getWidth()

double libpagemaker::OutputShape::getWidth ( ) const
inline

◆ numPoints()

unsigned libpagemaker::OutputShape::numPoints ( ) const
inline

◆ setBoundingBox()

void libpagemaker::OutputShape::setBoundingBox ( InchPoint  bboxTopLeft,
InchPoint  bboxBotRight 
)
inline

◆ setDimensions()

void libpagemaker::OutputShape::setDimensions ( double  width,
double  height 
)
inline

◆ shapeType()

uint8_t libpagemaker::OutputShape::shapeType ( ) const
inline

Member Data Documentation

◆ m_bboxBot

double libpagemaker::OutputShape::m_bboxBot
private

Referenced by getBoundingBox(), and setBoundingBox().

◆ m_bboxLeft

double libpagemaker::OutputShape::m_bboxLeft
private

Referenced by getBoundingBox(), and setBoundingBox().

◆ m_bboxRight

double libpagemaker::OutputShape::m_bboxRight
private

Referenced by getBoundingBox(), and setBoundingBox().

◆ m_bboxTop

double libpagemaker::OutputShape::m_bboxTop
private

Referenced by getBoundingBox(), and setBoundingBox().

◆ m_bitmap

librevenge::RVNGBinaryData libpagemaker::OutputShape::m_bitmap
private

Referenced by getBitmap(), and getBoundingBox().

◆ m_charProps

std::vector<PMDCharProperties> libpagemaker::OutputShape::m_charProps
private

Referenced by getCharProperties().

◆ m_fillProps

PMDFillProperties libpagemaker::OutputShape::m_fillProps
private

Referenced by getFillProperties().

◆ m_height

double libpagemaker::OutputShape::m_height
private

Referenced by getHeight(), and setDimensions().

◆ m_isClosed

bool libpagemaker::OutputShape::m_isClosed
private

Referenced by getIsClosed().

◆ m_paraProps

std::vector<PMDParaProperties> libpagemaker::OutputShape::m_paraProps
private

Referenced by getParaProperties().

◆ m_points

std::vector<InchPoint> libpagemaker::OutputShape::m_points
private

◆ m_rotation

double libpagemaker::OutputShape::m_rotation
private

Referenced by getRotation().

◆ m_shapeType

uint8_t libpagemaker::OutputShape::m_shapeType
private

Referenced by shapeType().

◆ m_skew

double libpagemaker::OutputShape::m_skew
private

Referenced by getSkew().

◆ m_strokeProps

PMDStrokeProperties libpagemaker::OutputShape::m_strokeProps
private

Referenced by getStrokeProperties().

◆ m_text

std::string libpagemaker::OutputShape::m_text
private

Referenced by getText().

◆ m_width

double libpagemaker::OutputShape::m_width
private

Referenced by getWidth(), and setDimensions().


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

Generated for libpagemaker by doxygen 1.9.8