#include <curve.h>


Public Types | |
| enum | a2dBarRenderFlags { a2dBAR_RENDER_NO_POINTS = 0x0001, a2dBAR_RENDER_NORMAL = 0x0002, a2dBAR_RENDER_3D = 0x0004, a2dBAR_RENDER_LINE = 0x0008, a2dBAR_RENDER_DEFAULT = a2dCURVES_RENDER_NORMAL } |
| these flags define how curves are drawn More... | |
Public Member Functions | |
| a2dBarCurve (a2dVertexArray *points) | |
| a2dBarCurve (const a2dBarCurve &other, CloneOptions options) | |
| void | SetBarWidth (double barwidth) |
| double | GetBarWidth () |
| virtual a2dObject * | Clone (CloneOptions options) const |
| This is here so that this class cannot be used directly. | |
| double | GetExtrudeDepth () |
| double | GetExtrudeAngle () |
| void | SetExtrudeDepth (double depth) |
| void | SetExtrudeAngle (double angle3d) |
| void | SetExtrudeFill (const a2dFill &fill) |
| const a2dFill & | GetExtrudeFill () |
Protected Member Functions | |
| void | DoWalker (wxObject *parent, a2dWalkerIOHandler &handler) |
| iterate over this object and its children | |
| virtual void | DoSave (wxObject *parent, a2dIOHandlerXmlSerOut &out, a2dXmlSer_flag xmlparts, a2dObjectList *towrite) |
| write object specific CVGL data | |
| void | DoLoad (wxObject *parent, a2dIOHandlerXmlSerIn &parser, a2dXmlSer_flag xmlparts) |
| load object specific CVG data | |
| void | DoRender (a2dIterC &ic, OVERLAP clipparent) |
| render derived object | |
Protected Attributes | |
| double | m_barwidth |
| double | m_depth |
| double | m_angle3d |
| a2dFill | m_extrudeFill |
Static Protected Attributes | |
| static const a2dPropertyIdRefObject | PROPID_extrudeFill |
Definition at line 963 of file curve.h.
| void a2dBarCurve::DoWalker | ( | wxObject * | parent, | |
| a2dWalkerIOHandler & | handler | |||
| ) | [protected, virtual] |
iterate over this object and its children
This function allows you to extend the functionality of all a2dCanvasObject classes in a a2dCanvasDocument, without adding extra members to these objects.
Default functions are called on the a2dWalkerIOHandler, which redirect the calls to other functions based on this object its classname. On can register classes to a2dWalkerIOHandler or derived classes. This way for each unique object in the document there can be a function in a2dWalkerIOHandler.
Reimplemented from a2dCanvasObject.
| void a2dBarCurve::DoLoad | ( | wxObject * | parent, | |
| a2dIOHandlerXmlSerIn & | parser, | |||
| a2dXmlSer_flag | xmlparts | |||
| ) | [protected, virtual] |
load object specific CVG data
todo ignore until this down here is fully converted.
Reimplemented from a2dVertexCurve.
render derived object
if the object has sub objects (apart from the childobject which are handled here), those subobject most rendered by iterating on layer when needed/wanted, simular to child objects. We do not iterate here, since that is only needed if indeed there or subobjects. This will be know in a "wxDerivedCanvasObject DoRender".
SO parent objects that call this function, must:
Reimplemented from a2dVertexCurve.