libpagemaker::OutputShape Class Reference documentation

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Private Attributes | List of all members
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 PMDFillProperties & | getFillProperties () const
const PMDStrokeProperties & | getStrokeProperties () const
double | getRotation () const
double | getSkew () const
std::string | getText () const
std::vector< PMDCharProperties > | getCharProperties () const
std::vector< PMDParaProperties > | getParaProperties () const
librevenge::RVNGBinaryData | getBitmap () const
std::pair< InchPoint, InchPoint > | getBoundingBox () 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< InchPoint > | m_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< PMDCharProperties > | m_charProps
std::vector< PMDParaProperties > | m_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

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

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

Referenced by libpagemaker::PMDCollector::paintShape().

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

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

Referenced by libpagemaker::PMDCollector::paintShape().

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

Referenced by libpagemaker::PMDCollector::paintShape().

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

Referenced by libpagemaker::PMDCollector::paintShape().

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

Referenced by libpagemaker::PMDCollector::paintShape().

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

Referenced by libpagemaker::PMDCollector::paintShape().

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

Referenced by libpagemaker::PMDCollector::paintShape().

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

Referenced by libpagemaker::PMDCollector::paintShape().

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

Referenced by libpagemaker::PMDCollector::paintShape().

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

Referenced by libpagemaker::PMDCollector::paintShape().

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

Referenced by libpagemaker::PMDCollector::paintShape().

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

Referenced by libpagemaker::PMDCollector::paintShape().

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

Referenced by libpagemaker::PMDCollector::paintShape().

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

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

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

Referenced by libpagemaker::PMDCollector::paintShape().

## Member Data Documentation

double libpagemaker::OutputShape::m_bboxBot
| private

double libpagemaker::OutputShape::m_bboxLeft
| private

double libpagemaker::OutputShape::m_bboxRight
| private

double libpagemaker::OutputShape::m_bboxTop
| private

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

Referenced by getBitmap().

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

Referenced by getCharProperties().

PMDFillProperties libpagemaker::OutputShape::m_fillProps
| private

Referenced by getFillProperties().

double libpagemaker::OutputShape::m_height
| private

Referenced by getHeight().

bool libpagemaker::OutputShape::m_isClosed
| private

Referenced by getIsClosed().

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

Referenced by getParaProperties().

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

double libpagemaker::OutputShape::m_rotation
| private

Referenced by getRotation().

uint8_t libpagemaker::OutputShape::m_shapeType
| private

Referenced by shapeType().

double libpagemaker::OutputShape::m_skew
| private

Referenced by getSkew().

PMDStrokeProperties libpagemaker::OutputShape::m_strokeProps
| private

Referenced by getStrokeProperties().

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

Referenced by getText().

double libpagemaker::OutputShape::m_width
| private

Referenced by getWidth().

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

- OutputShape.h