Drawing

class PMI::Drawing

This class represents a collection of polygons, which can be associated to an Entity.

Methods

PMI::Drawing::Drawing()
PMI::Drawing::Drawing(Drawing const &that)
PMI::Drawing::~Drawing()
void PMI::Drawing::Set(Drawing const &that)
Drawing const &PMI::Drawing::operator=(Drawing const &that)
unsigned int PMI::Drawing::GetPolygonCount() const

const

Returns

the number of Polygons in this Drawing
void PMI::Drawing::GetPolygons(unsigned int &out_count, Polygon out_polygons[]) const

const

Gets the polygons for this Frame.

Parameters

out_count: the number of polygons in this Drawing. Returned to the user.

polygons: the array of polygons for this Drawing. Returned to the user. Necessary space should be allocated prior to calling. If pointer is NULL no values will be put into the array.

void PMI::Drawing::SetPolygons(unsigned int in_count, Polygon const in_polygons[])

Sets the polygons for this Drawing. These will replace any existing polygons.

Parameters

in_count: the number of polygons in the array

in_polygons: the array of polygons for this Drawing

Variables

PMII::PrivateImpl *PMI::Drawing::impl_

private

PMII::PrivateImpl