General information:Author: klaas Version: 1.0 Date: Thu Oct 21 14:44:14 MET 1999 |
Header files:
|
Code files:
|
virtual Base class for all primitive types. A shape is a primitive that can be drawn directly, without refrencing other shapes, also it has a boundingbox. Therefore a reference to a structure is not a shape. That kind of elements are derived from the class Element directly
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: NONE |
Declaration:
Shape()
Description:
Constructors
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: virtual BoundingBox* |
Declaration:
virtual BoundingBox* GetBoundingBox()
Description:
calculate the boundingbox for the shape
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: virtual int |
Declaration:
virtual int GetLayer()
Description:
get the layer of the shape
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: virtual void |
Declaration:
virtual void SetLayer(int)
Description:
set the layer of the shape
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: virtual int |
Declaration:
virtual int GetWidth()
Description:
get the width of the shape
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: virtual void |
Declaration:
virtual void SetWidth(int width)
Description:
set the width of the shape
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: virtual Shape* |
Declaration:
virtual Shape* Duplicate()
Description:
duplicate the primitive
scope: public | purpose: normal | inline?: no | function property: standard | type: basic | typename: virtual void |
Declaration:
virtual void Convert(G_Polygon*, double)
Description:
convert primitive to polygon
scope: protected | type: basic | typename: int |
Declaration:
int _layer
Description:
layer off primitive
scope: protected | type: basic | typename: int |
Declaration:
int _width
Description:
width of primitive
scope: protected | type: basic | typename: BoundingBox* |
Declaration:
BoundingBox* _boundingbox
Description:
boundingbox of primitive