CShape Class Reference
Inheritance diagram for CShape:

Collaboration diagram for CShape:

Detailed Description
Build and draw the various shapes of geometrical objects.Public Types | |
| enum | TShapeType { LineShape, PointShape, VolShape, PolShape } |
| Used to identify the type of shape of a given object. More... | |
| enum | TShapeLine |
| Used to identify the shape of a line. More... | |
| enum | TShapePoint |
| Used to identify the shape of a point. More... | |
| enum | TShapeVolume |
| Used to identify the shape of a composite. More... | |
| enum | TShapePolygon |
| Used to identify the shape of a polygon. More... | |
Public Member Functions | |
| int | GetShapeType () |
| Get the type of shape associated with the object. | |
Public Attributes | |
| COLORREF | clrObject |
| The color of the geometrical object. | |
| int | nShapeId |
| Zero-based index of the shape of the geometrical object. | |
| int | nShapeNb |
| Number of possibles shapes for this object. | |
Protected Attributes | |
| int | nShapeType |
| The type of shape associated with the object. | |
| int | nShapeDef |
| Zero-based index of the default shape for the object. | |
Member Enumeration Documentation
| enum TShapeType |
| enum TShapeLine |
Used to identify the shape of a line.
| enum TShapePoint |
Used to identify the shape of a point.
| enum TShapeVolume |
Used to identify the shape of a composite.
| enum TShapePolygon |
Used to identify the shape of a polygon.
Member Function Documentation
| int GetShapeType | ( | ) | [inline] |
Get the type of shape associated with the object.
- Returns:
- The zero-based identifier of the shape (TShapeType)
Member Data Documentation
| COLORREF clrObject |
The color of the geometrical object.
| int nShapeId |
Zero-based index of the shape of the geometrical object.
| int nShapeNb |
Number of possibles shapes for this object.
int nShapeType [protected] |
The type of shape associated with the object.
int nShapeDef [protected] |
Zero-based index of the default shape for the object.



