Spring 2.0 Reference Manual - Library - class Symbol


Class: Symbol




Summary:

Define the Symbol class

Description:

The Symbol class is used to draw dxf symbol.

Ascendent:

SObject

Related:

Dxf
Entitie.

Privated Attributes:

char* SYname name
float SYhotx hot point (x normalized)
float SYhoty hot point (y normalized)
float SYposx x position on the chart at WC
float SYposy y position on the chart at WC
float SYheight symbol height at WC
float SYwidth symbol width at WC
float SYexpansion symbol expansion factor
float SYrotate symbol rotation in degrees
EntitieList* SYentlist Entitie list

Protected Attributes:

None

Privated Methods:

ApxAproach float number to integer number.
Loadthis function verifies if the dxf file must or not must be opened for load entities.

Protected Methods:

None

Public Methods:

SymbolNormal constructor.
SymbolContructor and load the entities from dxffile and initializes the variables with default values.
SymbolConstructor and load the entities from dxffile and initializes the variables from file pointer fp.
SymbolConstructor and initializes the variables from Symbol sy.
SymbolConstructor and initializes the variables from Symbol sy.
operator==compare operator
operator==compare operator
operator=Attribute operator
operator=Attribute operator
~SymbolNormal destructor.
Initsymbol initializer
Initsymbol initializer
ShowThis method plots the symbol on the canvas.
ShowXorBoxThis method plots the symbol box.
ContainsThis method checks if the symbol box contains point p.
NameGet name of the symbol.
NameGet name of the symbol.
HotPointSet hot point.
HotPointGet hot point.
PositionSet position of the symbol on the chart.
PositionGet position of the symbol on the chart.
HeightGet the symbol height in WC.
HeightSet the symbol height and calculate the symbol width that supporting the original ration aspect.
WidthGet the symbol width in WC.
ExpansionGet the symbol expansion.
RotateGet the symbol rotation in degrees.
RotateSet the symbol rotation in degrees.
SaveSave the Symbol to disk.
GetRectangleGet the bounding box of symbol.
EntitieListPointerGet the EntitieList pointer. return: Pointer to EntitieList.

Class: Symbol

Private Method: Apx




Class: Symbol

Private Method: Load




Class: Symbol

Public Method: Symbol




Class: Symbol

Public Method: Symbol




Class: Symbol

Public Method: Symbol




Class: Symbol

Public Method: Symbol




Class: Symbol

Public Method: Symbol




Class: Symbol

Public Method: operator==




Class: Symbol

Public Method: operator==




Class: Symbol

Public Method: operator=




Class: Symbol

Public Method: operator=




Class: Symbol

Public Method: ~Symbol




Class: Symbol

Public Method: Init




Class: Symbol

Public Method: Init




Class: Symbol

Public Method: Show




Class: Symbol

Public Method: ShowXorBox




Class: Symbol

Public Method: Contains




Class: Symbol

Public Method: Name




Class: Symbol

Public Method: Name




Class: Symbol

Public Method: HotPoint




Class: Symbol

Public Method: HotPoint




Class: Symbol

Public Method: Position




Class: Symbol

Public Method: Position




Class: Symbol

Public Method: Height




Class: Symbol

Public Method: Height




Class: Symbol

Public Method: Width




Class: Symbol

Public Method: Expansion




Class: Symbol

Public Method: Rotate




Class: Symbol

Public Method: Rotate




Class: Symbol

Public Method: Save




Class: Symbol

Public Method: GetRectangle




Class: Symbol

Public Method: EntitieListPointer