Drawing

Functions

Drawing

Drawing

~Drawing

void

Set

Drawing const &

operator=

unsigned int

GetPolygonCount

void

GetPolygons

void

SetPolygons

Detailed Description

class Drawing

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

Public Functions

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

the number of Polygons in this Drawing

void GetPolygons(unsigned int &out_count, Polygon out_polygons[]) 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 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