RVC::CADELEMENT::DRAW Class Reference
CADELEMENT Interface class to render and/or transform CAD Elements into common types.
More...
#include <rvc/cadelement.h>
List of all members.
Public Member Functions |
| | DRAW () |
| virtual | ~DRAW () |
| int | DrawElement (const CADELEMENT &Element, const TRANS2D_AFFINE &BtoC) |
| ERRVALUE | DrawLines (const CADELEMENT &Element, const POLYLINELIST &LineList) |
| ERRVALUE | DrawPoints (const CADELEMENT &Element, const POLYLINE &Points) |
| ERRVALUE | DrawSubRegion (const CADELEMENT &Element, const SUBREGION2D &SubRegion) |
| ERRVALUE | DrawText (const CADELEMENT &Element, const MISTRING &string, const POLYLINELIST &LineList) |
Private Member Functions |
| virtual int | v_DrawElement (const CADELEMENT &Element, const TRANS2D_AFFINE &BtoC) |
| virtual ERRVALUE | v_DrawLines (const CADELEMENT &Element, const POLYLINELIST &LineList) |
| virtual ERRVALUE | v_DrawPoints (const CADELEMENT &Element, const POLYLINE &Points) |
| virtual ERRVALUE | v_DrawSubRegion (const CADELEMENT &Element, const SUBREGION2D &SubRegion) |
| virtual ERRVALUE | v_DrawText (const CADELEMENT &Element, const MISTRING &string, const POLYLINELIST &LineList) |
Detailed Description
CADELEMENT Interface class to render and/or transform CAD Elements into common types.
Constructor & Destructor Documentation
| RVC::CADELEMENT::DRAW::DRAW |
( |
|
) |
[inline] |
| virtual RVC::CADELEMENT::DRAW::~DRAW |
( |
|
) |
[inline, virtual] |
Member Function Documentation
First chance to render an element without any transformations to one of methods below.
- Returns:
- >0 if this method used the element and do not call methods below, ==0 if call the methods below, <0 error
- Parameters:
-
| Element | Original CADELEMENT |
| BtoC | Block to CAD transformation, methods below will do the transform before sending the converted element |
Transform CAD element to a set of one or more lines, only if the element can be represented as lines and not polygons.
- Parameters:
-
Transform CAD element to a set of one or more singular points, only if the element can be represented as singular points.
- Parameters:
-
Called if the CAD element is a text label element.
- Parameters:
-
| Element | Original CADELEMENT |
| string | Text string |
| LineList | First line is the baseline, all others after that are leader lines |
| virtual int RVC::CADELEMENT::DRAW::v_DrawElement |
( |
const CADELEMENT & |
Element, |
|
|
const TRANS2D_AFFINE & |
BtoC | |
|
) |
| | [inline, private, virtual] |
| virtual ERRVALUE RVC::CADELEMENT::DRAW::v_DrawPoints |
( |
const CADELEMENT & |
Element, |
|
|
const POLYLINE & |
Points | |
|
) |
| | [inline, private, virtual] |
The documentation for this class was generated from the following file: