libmspub::CustomShape Struct Reference documentation

- Main Page
- Namespaces
- Classes
- Files

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

Public Member Functions | Public Attributes | List of all members
libmspub::CustomShape Struct Reference

`#include <PolygonUtils.h>`

## Public Member Functions
Coordinate | getTextRectangle (double x, double y, double width, double height, boost::function< double(unsigned index)> calculator) const
| CustomShape (const Vertex *p_vertices, unsigned numVertices, const unsigned short *p_elements, unsigned numElements, const Calculation *p_calculations, unsigned numCalculations, const int *p_defaultAdjustValues, unsigned numDefaultAdjustValues, const TextRectangle *p_textRectangles, unsigned numTextRectangles, unsigned coordWidth, unsigned coordHeight, const Vertex *p_gluePoints, unsigned numGluePoints, unsigned char adjustShiftMask=0)

## Public Attributes
const Vertex * | mp_vertices
unsigned | m_numVertices
const unsigned short * | mp_elements
unsigned | m_numElements
const Calculation * | mp_calculations
unsigned | m_numCalculations
const int * | mp_defaultAdjustValues
unsigned | m_numDefaultAdjustValues
const TextRectangle * | mp_textRectangles
unsigned | m_numTextRectangles
unsigned | m_coordWidth
unsigned | m_coordHeight
const Vertex * | mp_gluePoints
unsigned | m_numGluePoints
unsigned char | m_adjustShiftMask

## Constructor & Destructor Documentation

libmspub::CustomShape::CustomShape | ( | const Vertex * | p_vertices,
|  | unsigned | numVertices,
|  | const unsigned short * | p_elements,
|  | unsigned | numElements,
|  | const Calculation * | p_calculations,
|  | unsigned | numCalculations,
|  | const int * | p_defaultAdjustValues,
|  | unsigned | numDefaultAdjustValues,
|  | const TextRectangle * | p_textRectangles,
|  | unsigned | numTextRectangles,
|  | unsigned | coordWidth,
|  | unsigned | coordHeight,
|  | const Vertex * | p_gluePoints,
|  | unsigned | numGluePoints,
|  | unsigned char | adjustShiftMask = `0`
| ) |  |
| inline

## Member Function Documentation

Coordinate libmspub::CustomShape::getTextRectangle | ( | double | x,
|  | double | y,
|  | double | width,
|  | double | height,
|  | boost::function< double(unsigned index)> | calculator
| ) |  | const

## Member Data Documentation

unsigned char libmspub::CustomShape::m_adjustShiftMask

Referenced by libmspub::MSPUBCollector::getSpecialValue().

unsigned libmspub::CustomShape::m_coordHeight

Referenced by libmspub::MSPUBCollector::getSpecialValue(), and getTextRectangle().

unsigned libmspub::CustomShape::m_coordWidth

Referenced by libmspub::MSPUBCollector::getSpecialValue(), and getTextRectangle().

unsigned libmspub::CustomShape::m_numCalculations

Referenced by libmspub::MSPUBCollector::getCalculationValue().

unsigned libmspub::CustomShape::m_numDefaultAdjustValues

unsigned libmspub::CustomShape::m_numElements

unsigned libmspub::CustomShape::m_numGluePoints

unsigned libmspub::CustomShape::m_numTextRectangles

Referenced by getTextRectangle().

unsigned libmspub::CustomShape::m_numVertices

const Calculation* libmspub::CustomShape::mp_calculations

Referenced by libmspub::MSPUBCollector::getCalculationValue().

const int* libmspub::CustomShape::mp_defaultAdjustValues

const unsigned short* libmspub::CustomShape::mp_elements

const Vertex* libmspub::CustomShape::mp_gluePoints

const TextRectangle* libmspub::CustomShape::mp_textRectangles

Referenced by getTextRectangle().

const Vertex* libmspub::CustomShape::mp_vertices

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

- PolygonUtils.h
- PolygonUtils.cpp