|
|
| a2dHabitat (wxUint16 maximumLayers=wxDEFAULTMAXLAYER) |
| |
|
void | Init (a2dLayers *layers=NULL) |
| |
|
void | SetDefaultUnitsScale (double scale) |
| |
|
double | GetDefaultUnitsScale () |
| |
|
double | USERUNITS () |
| | how accurate is the drawing
|
| |
|
double | PHYSUNITS () |
| | how many meters is 1 unit in the database
|
| |
|
void | USERUNITS (double userunit) |
| | how accurate is the drawing
|
| |
|
void | PHYSUNITS (double physicalunit) |
| | how many meters is 1 unit in the database
|
| |
|
double | ENTRYUNITS () |
| | entry of data
|
| |
|
double | POLYTOARCRMIN () |
| |
|
double | POLYTOARCRMAX () |
| |
|
double | POLYTOARCABER () |
| |
|
double | ARCTOPOLYABER () |
| |
|
double | ACCUR () |
| |
| a2dLayers * | GetLayerSetup () |
| | Get the central layersettings for the canvas library. More...
|
| |
| void | SetLayerSetup (a2dLayers *layersetup) |
| | set the layersettings for the canvas library. More...
|
| |
|
void | SetSymbolLayer (wxUint16 layerId) |
| |
|
wxUint16 | GetSymbolLayer () |
| |
|
void | SetMaxLayer (wxUint16 nrLayers) |
| |
|
wxUint16 | GetMaxLayer () |
| |
| bool | LoadLayers (const wxString &filename) |
| |
|
void | SetPinSize (double size) |
| |
|
double | GetPinSize () |
| |
|
void | SetHandleSize (double size) |
| |
|
double | GetHandleSize () |
| |
|
void | SetPin (a2dPin *newpin) |
| | set default pin for graph like structure
|
| |
|
a2dPin * | GetPin () |
| | get default pin for graph like structure
|
| |
| void | SetPinCanConnect (a2dPin *newpin) |
| |
| a2dPin * | GetPinCanConnect () |
| | represents the pin styles for pins that can connect right now More...
|
| |
| void | SetPinCannotConnect (a2dPin *newpin) |
| |
| a2dPin * | GetPinCannotConnect () |
| | represnts the pin styles for pins that cannot connect right now More...
|
| |
|
void | SetHandle (a2dHandle *newhandle) |
| | set default handle for editing
|
| |
|
a2dHandle * | GetHandle () |
| | get default handle for editing
|
| |
|
a2dText * | GetPropertyText () |
| | default text for displaying properties.
|
| |
|
a2dStroke & | GetHighLightStroke () |
| | Get Stroke to use for Highlighted a2dCanvasObject's.
|
| |
|
a2dFill & | GetHighLightFill () |
| | Get Fill to use for Highlighted a2dCanvasObject's.
|
| |
|
void | SetHighLightStroke (const a2dStroke &stroke) |
| | Set Stroke to use for Highlighted a2dCanvasObject's.
|
| |
|
void | SetHighLightFill (const a2dFill &fill) |
| | Set Fill to use for Highlighted a2dCanvasObject's.
|
| |
|
a2dStroke & | GetSelectStroke () |
| | Get Stroke to use for Selected a2dCanvasObject's.
|
| |
|
a2dFill & | GetSelectFill () |
| | Get Fill to use for Selected a2dCanvasObject's.
|
| |
|
a2dStroke & | GetSelect2Stroke () |
| | Get Stroke to use for Selected2 a2dCanvasObject's.
|
| |
|
a2dFill & | GetSelect2Fill () |
| | Get Fill to use for Selected2 a2dCanvasObject's.
|
| |
|
void | SetSelectStroke (const a2dStroke &stroke) |
| | Set Stroke to use for Selected a2dCanvasObject's.
|
| |
|
void | SetSelectFill (const a2dFill &fill) |
| | Set Fill to use for Selected a2dCanvasObject's.
|
| |
|
void | SetSelect2Stroke (const a2dStroke &stroke) |
| | Set Stroke to use for Selected2 a2dCanvasObject's.
|
| |
|
void | SetSelect2Fill (const a2dFill &fill) |
| | Set Fill to use for Selected2 a2dCanvasObject's.
|
| |
|
void | SetSelectDrawStyle (a2dDocumentRenderStyle drawstyle) |
| | sets draw style to be used for selected object
|
| |
|
a2dDocumentRenderStyle | GetSelectDrawStyle () const |
| | returns draw style to be used for selected object
|
| |
|
void | SetDrawStyle (wxUint32 drawstyle) |
| |
|
wxUint32 | GetDrawStyle () |
| | get drawstyles used for drawing the document
|
| |
|
a2dStroke & | GetDefaultStroke () |
| | Get Stroke to use for non layered a2dCanvasObject's.
|
| |
|
a2dFill & | GetDefaultFill () |
| | Get Fill to use for non layered a2dCanvasObject's.
|
| |
|
void | SetDefaultStroke (const a2dStroke &stroke) |
| | Set Stroke to use for non layered a2dCanvasObject's.
|
| |
|
void | SetDefaultFill (const a2dFill &fill) |
| | Set Fill to use for non layered a2dCanvasObject's.
|
| |
|
void | SetRestrictionEngine (a2dRestrictionEngine *restrict) |
| | Set restriction engine (grid snapping) used normally.
|
| |
|
a2dRestrictionEngine * | GetRestrictionEngine () |
| | Get restriction engine (grid snapping)
|
| |
|
void | SetConnectionGenerator (a2dConnectionGenerator *connectionGenerator) |
| | Set class for generating new connection objects between object and pins.
|
| |
|
a2dConnectionGenerator * | GetConnectionGenerator () const |
| | Get class for generating new connection objects between object and pins.
|
| |
| wxUint16 | GetHitMarginDevice () const |
| | hit marging in pixels. More...
|
| |
| void | SetHitMarginDevice (wxUint16 val) |
| | hit marging in pixels. More...
|
| |
| double | GetHitMarginWorld () const |
| | hit marging in world units. More...
|
| |
| void | SetHitMarginWorld (double val) |
| | hit marging in world units. More...
|
| |
|
double | GetCopyMinDistance () const |
| | get minimum distance of copied object from original
|
| |
|
void | SetCopyMinDistance (double val) |
| | set minimum distance of copied object from original
|
| |
| double | GetCoordinateEpsilon () const |
| | coordinates below this distance will be trated as equal More...
|
| |
| void | SetCoordinateEpsilon (double val) |
| |
|
void | SetReverseOrder (bool reverse_order) |
| | Set to draw layers in reverse order.
|
| |
|
bool | GetReverseOrder () const |
| | Get Setting for draw layers in reverse order.
|
| |
|
void | SetRouteOneLine (bool oneLine) |
| | set true result in having straight lines rerouted between begin and end pin
|
| |
|
bool | GetRouteOneLine () const |
| | see SetRouteOneLine()
|
| |
|
void | SetGroupA (const a2dLayerGroup &groupA) |
| | sets operand A in layer operation
|
| |
|
void | SetGroupB (const a2dLayerGroup &groupB) |
| | sets operand B in layer operation
|
| |
|
a2dLayerGroup & | GetGroupA () |
| | return group A layers
|
| |
|
a2dLayerGroup & | GetGroupB () |
| | return group B layers
|
| |
|
void | AddGroupA (wxUint16 layer) |
| | add layer to group A layers
|
| |
|
void | AddGroupB (wxUint16 layer) |
| | add layer to group B layers
|
| |
|
void | SetTarget (wxUint16 target) |
| | set target layer in operation
|
| |
|
wxUint16 | GetTarget () |
| | get target layer in operation
|
| |
|
void | SetSelectedOnlyA (bool selectedOnlyA) |
| | set selectedOnlyA in group operations
|
| |
|
bool | GetSelectedOnlyA () const |
| | get selectedOnlyA in group operations
|
| |
|
void | SetSelectedOnlyB (bool selectedOnlyB) |
| | set selectedOnlyB in group operations
|
| |
|
bool | GetSelectedOnlyB () const |
| | get selectedOnlyB in group operations
|
| |
|
void | SetBooleanEngineMarge (const a2dDoMu &marge) |
| | boolean engine setting
|
| |
|
void | SetBooleanEngineGrid (long grid) |
| | boolean engine setting
|
| |
|
void | SetBooleanEngineDGrid (double dgrid) |
| | boolean engine setting
|
| |
|
void | SetBooleanEngineCorrectionAber (const a2dDoMu &aber) |
| | boolean engine setting
|
| |
|
void | SetBooleanEngineCorrectionFactor (const a2dDoMu &aber) |
| | boolean engine setting
|
| |
|
void | SetBooleanEngineMaxlinemerge (const a2dDoMu &maxline) |
| | boolean engine setting
|
| |
|
void | SetBooleanEngineWindingRule (bool rule) |
| | boolean engine setting
|
| |
|
void | SetBooleanEngineRoundfactor (double roundfac) |
| | boolean engine setting
|
| |
|
void | SetBooleanEngineSmoothAber (const a2dDoMu &aber) |
| |
|
void | SetBooleanEngineLinkHoles (bool doLinkHoles) |
| |
|
void | SetRadiusMin (const a2dDoMu &radiusMin) |
| | Polygon/polyline to Arc Minimum radius to test.
|
| |
|
void | SetRadiusMax (const a2dDoMu &radiusMax) |
| | Polygon/polyline to Arc Maximum radius to test.
|
| |
| void | SetAberPolyToArc (const a2dDoMu &aber) |
| | Polygon/polyline to Arc Maximum abberation. More...
|
| |
| void | SetAberArcToPoly (const a2dDoMu &aber) |
| | Arc to Polygon/polyline Maximum abberation. More...
|
| |
|
void | SetSmall (const a2dDoMu &smallest) |
| | detection of small object, smaller than this
|
| |
|
bool | GdsIoSaveTextAsPolygon (bool onOff) |
| |
|
bool | KeyIoSaveTextAsPolygon (bool onOff) |
| |
|
bool | GetGdsIoSaveTextAsPolygon () const |
| |
|
bool | GetKeyIoSaveTextAsPolygon () const |
| |
|
const a2dDoMu & | GetRadiusMin () const |
| | Polygon/polyline to Arc Minimum radius to test.
|
| |
|
const a2dDoMu & | GetRadiusMax () const |
| | Polygon/polyline to Arc Maximum radius to test.
|
| |
|
const a2dDoMu & | GetAberPolyToArc () const |
| | Polygon/polyline to Arc Maximum abberation.
|
| |
|
const a2dDoMu & | GetAberArcToPoly () const |
| | Arc to Polygon/polyline Maximum abberation.
|
| |
|
const a2dDoMu & | GetSmall () const |
| | detection of small object, smaller than this
|
| |
|
void | SetGridX (const a2dDoMu &gridX) |
| | grid setting X
|
| |
|
void | SetGridY (const a2dDoMu &gridY) |
| | grid setting Y
|
| |
|
const a2dDoMu & | GetBooleanEngineMarge () const |
| | boolean engine setting
|
| |
|
long | GetBooleanEngineGrid () const |
| | boolean engine setting
|
| |
|
double | GetBooleanEngineDGrid () const |
| | boolean engine setting
|
| |
|
const a2dDoMu & | GetBooleanEngineCorrectionAber () const |
| | boolean engine setting
|
| |
|
const a2dDoMu & | GetBooleanEngineCorrectionFactor () const |
| | boolean engine setting
|
| |
|
const a2dDoMu & | GetBooleanEngineMaxlinemerge () const |
| | boolean engine setting
|
| |
|
bool | GetBooleanEngineWindingRule () const |
| | boolean engine setting
|
| |
|
double | GetBooleanEngineRoundfactor () const |
| | boolean engine setting
|
| |
|
const a2dDoMu & | GetBooleanEngineSmoothAber () const |
| | boolean engine setting
|
| |
|
bool | GetBooleanEngineLinkHoles () const |
| | boolean engine setting
|
| |
| void | SetClearTarget (bool clearTarget) |
| | set clear of target in group operations More...
|
| |
|
bool | GetClearTarget () const |
| | get clear of target in group operations
|
| |
| void | SetLastXyEntry (double x, double y) |
| | set last mouse X position in world coordinates, as set by tools. More...
|
| |
|
double | GetLastXEntry () const |
| | holds last mouse X position in world coordinates, as set by tools.
|
| |
|
double | GetLastYEntry () const |
| | holds last mouse Y position in world coordinates, as set by tools.
|
| |
| void | SetRelativeStart (double x, double y) |
| | set RelativeStart measurement X and Y position in world coordinates More...
|
| |
|
double | GetRelativeStartX () const |
| | holds last RelativeStart measurement X position in world coordinates
|
| |
|
double | GetRelativeStartY () const |
| | holds last RelativeStart measurement Y position in world coordinates
|
| |
| const a2dStroke & | GetStroke () const |
| | get the current stroke More...
|
| |
| const a2dFill & | GetFill () const |
| | get the current fill More...
|
| |
|
void | SetStroke (const a2dStroke &stroke) |
| | used for new objects etc. to set the stroke
|
| |
|
void | SetStroke (const unsigned char red, const unsigned char green, const unsigned char blue) |
| | used for new objects etc. to set the stroke
|
| |
| void | SetFill (const a2dFill &fill) |
| | used for new objects etc. to set the fill More...
|
| |
|
void | SetFill (const unsigned char red, const unsigned char green, const unsigned char blue) |
| | used for new objects etc. to set the fill
|
| |
|
bool | GetSpline () const |
| | certain drawing tools like polygon drawing use this setting
|
| |
|
void | SetSpline (bool spline) |
| |
| a2dCanvasObject * | GetLineBegin () const |
| | get current line begin object for line and polyline. More...
|
| |
| a2dCanvasObject * | GetLineEnd () const |
| | get current line end object for line and polyline. More...
|
| |
|
void | SetLineBegin (a2dCanvasObject *begin) |
| | set current line begin object for line and polyline.
|
| |
|
void | SetLineEnd (a2dCanvasObject *end) |
| | set current line end object for line and polyline.
|
| |
|
void | SetEndScaleX (double xs) |
| | scaling in X for begin and end objects of lines and polylines
|
| |
|
void | SetEndScaleY (double ys) |
| | scaling in Y for begin and end objects of lines and polylines
|
| |
|
double | GetEndScaleX () const |
| | get scaling in X for begin and end objects of lines and polylines
|
| |
|
double | GetEndScaleY () const |
| | get scaling in Y for begin and end objects of lines and polylines
|
| |
|
void | SetContourWidthInDataBaseUnits (double width) |
| | set the Contour width of shapes defined in database units
|
| |
|
void | SetContourWidth (const a2dDoMu ¤tContourWidth) |
| | set the Contour width of shapes
|
| |
| double | GetContourWidthInDataBaseUnits () const |
| | get the Contour width of shapes in the document its units More...
|
| |
|
const a2dDoMu & | GetContourWidth () const |
| | get the Contour width of shapes in meters
|
| |
|
void | SetPathType (a2dPATH_END_TYPE pathtype) |
| | Set when m_contourwidth != 0 what is the end of the line should be.
|
| |
|
a2dPATH_END_TYPE | GetPathType () |
| | get when m_contourwidth != 0 what is the end of the line looks like.
|
| |
|
void | SetFont (const a2dFont &font) |
| | used for to set the font for non Text objects
|
| |
|
const a2dFont & | GetFont () const |
| | get current font active font.
|
| |
|
void | SetTextOwnStyle (bool ownStyle) |
| | If set, the text objects will use their own style ( GetTextStroke() etc. )
|
| |
|
bool | GetTextOwnStyle () const |
| | get the current text stroke
|
| |
|
void | SetTextStroke (const a2dStroke &stroke) |
| | used for new text objects etc. to set the stroke
|
| |
| a2dStroke | GetTextStroke () const |
| | get the current text stroke More...
|
| |
| void | SetTextFill (const a2dFill &fill) |
| | used for new text objects etc. to set the fill More...
|
| |
| a2dFill | GetTextFill () const |
| | get the current text fill More...
|
| |
|
void | SetTextFont (const a2dFont &font) |
| | used for new text objects etc. to set the font
|
| |
|
a2dFont | GetTextFont () const |
| | get current font active text font ( like used in text tool ).
|
| |
|
a2dText * | GetTextTemplateObject () |
| | set template for line object
|
| |
|
void | SetTextTemplateObject (a2dText *textTemplateobject) |
| | get template for text objects
|
| |
| void | SetLayer (wxUint16 layer, bool setStyleOfLayer=false) |
| |
|
wxUint16 | GetLayer () const |
| | layer set for new objects.
|
| |
| void | SetObjectGridSize (double objectGridSize) |
| | used for objects which depend in size on this grid More...
|
| |
|
double | GetObjectGridSize () |
| | used for objects which depend in size on this grid
|
| |
|
void | SetDrawingTemplate (a2dDrawing *drawingTemplate) |
| |
|
a2dDrawing * | GetDrawingTemplate () const |
| |
|
void | SetSymbolDrawingTemplate (a2dDrawing *drawingTemplate) |
| |
|
a2dDrawing * | GetSymbolDrawingTemplate () const |
| |
|
void | SetBuildInDrawingTemplate (a2dDrawing *drawingTemplate) |
| |
|
a2dDrawing * | GetBuildInDrawingTemplate () const |
| |
|
void | SetDiagramDrawingTemplate (a2dDrawing *drawingTemplate) |
| |
|
a2dDrawing * | GetDiagramDrawingTemplate () const |
| |
|
void | SetGuiDrawingTemplate (a2dDrawing *drawingTemplate) |
| |
|
a2dDrawing * | GetGuiDrawingTemplate () const |
| |
|
a2dNextSeg | GetEndSegmentMode () |
| | a2dDrawWirePolylineLTool segment mode initilization
|
| |
|
void | SetEndSegmentMode (a2dNextSeg mode) |
| | a2dDrawWirePolylineLTool segment mode initilization
|
| |
|
virtual bool | ProcessEvent (wxEvent &event) |
| |
|
bool | SearchDynamicEventTable (wxEvent &event) |
| |
|
void | Connect (int winid, int lastId, int eventType, wxObjectEventFunction func, wxObject *userData=(wxObject *) NULL, wxEvtHandler *eventSink=(wxEvtHandler *) NULL) |
| |
|
bool | Disconnect (int winid, int lastId, wxEventType eventType, wxObjectEventFunction func=NULL, wxObject *userData=(wxObject *) NULL, wxEvtHandler *eventSink=(wxEvtHandler *) NULL) |
| |
| void | ProcessConnectedEvent (wxEvent &event) |
| | wxCHECK_VERSION(2,9,0) More...
|
| |
| void | ConnectEvent (wxEventType type, wxEvtHandler *eventSink) |
| |
| bool | DisconnectEvent (wxEventType type, wxEvtHandler *eventSink) |
| |
| bool | DisconnectEventAll (wxEvtHandler *eventSink) |
| | Remove all dynamic events in classA, going to classB (eventSink) More...
|
| |
|
| a2dObject () |
| | constructor
|
| |
|
virtual | ~a2dObject () |
| | destructor
|
| |
|
void | operator= (const a2dObject &other) |
| | assignment operator
|
| |
| int | GetOwnedBy () |
| | like it to be protected, but this does not work with wxList macros More...
|
| |
| virtual a2dObject * | SetNonDynamic () |
| | Call to mark this object as non-dynamic (static/local/auto) More...
|
| |
| void | CheckReferences () |
| | Check zero reference count and delete if count is 0. More...
|
| |
|
a2dObject * | Clone (CloneOptions options, a2dRefMap *refs=NULL) const |
| | create an exact copy of this property
|
| |
|
| a2dObject (const a2dObject &other, CloneOptions options, a2dRefMap *refs) |
| |
| virtual wxString | GetName () const |
| | Returns the name of this object, if no name is given the internal id will be returned. More...
|
| |
| virtual void | SetName (const wxString &name) |
| | Creates the a2dStringProperty PROPID_Name. More...
|
| |
|
virtual bool | IsTemporary_DontSave () const |
| | Check if this is a temporary object, which should not be saved.
|
| |
| void | SaveAsDocument (a2dIOHandlerXmlSerOut &out) |
| | Save this object and all below as an XML document. More...
|
| |
| virtual void | Save (wxObject *parent, a2dIOHandlerXmlSerOut &out, a2dObjectList *towrite) |
| | write all needed to an XML type of file called the CVG format More...
|
| |
| void | LoadFromDocument (a2dIOHandlerXmlSerIn &parser) |
| | Load this object and all below from an XML document. More...
|
| |
| virtual void | Load (wxObject *parent, a2dIOHandlerXmlSerIn &parser) |
| | load object from CVG file More...
|
| |
| wxInt64 | GetUniqueSerializationId () const |
| | return a unique id for this object More...
|
| |
| virtual bool | AlwaysWriteSerializationId () const |
| | If true, always write an id. More...
|
| |
| virtual bool | LinkReference (a2dObject *other) |
| | link a reference in the object to the given value More...
|
| |
| virtual void | ResolveInform () |
| | inform an object that reference resolution was done More...
|
| |
|
void | Walker (wxObject *parent, a2dWalkerIOHandler &handler) |
| | This is used to recursively walk through an object tree.
|
| |
| void | SetCheck (bool check) |
| | general flag use at will. More...
|
| |
|
bool | GetCheck () const |
| | general flag use at will.
|
| |
| void | SetRelease (bool value) |
| | set release flag More...
|
| |
| bool | GetRelease () const |
| | get release flag More...
|
| |
| a2dAutoZeroPtr< a2dObject > ** | GetAutoZeroPtrList () |
| | return the list head pointer for autozero pointers to this object More...
|
| |
|
| DECLARE_PROPERTIES () |
| |
| a2dNamedProperty * | GetProperty (const a2dPropertyId *propertyId, a2dPropertyId::Flags flags=a2dPropertyId::flag_none) const |
| | get property on this object More...
|
| |
| void | SetProperty (a2dNamedProperty *propertyHolder, a2dPropertyId::SetFlags flags=a2dPropertyId::set_none) |
| | Set the property to the this object. More...
|
| |
| void | SetProperty (const a2dNamedProperty &propertyHolder, a2dPropertyId::SetFlags flags=a2dPropertyId::set_none) |
| | Set the property to the this object and if enabled, to all childs and object members. More...
|
| |
| virtual a2dNamedProperty * | FindProperty (const a2dPropertyId *id, a2dPropertyId::Flags flags=a2dPropertyId::flag_none) |
| | Find a dynamic property with given id in the property list. More...
|
| |
| virtual const a2dNamedProperty * | FindProperty (const a2dPropertyId *id, a2dPropertyId::Flags flags=a2dPropertyId::flag_none) const |
| | Find a dynamic property with given id in the property list. More...
|
| |
| virtual bool | HasProperty (const a2dPropertyId *id, const wxString &stringvalue=wxEmptyString) const |
| | Check if the object has a property with given id and string representation. More...
|
| |
| virtual void | OnPropertyChanged (const a2dPropertyId *id) |
| | This function is called after a property changed. More...
|
| |
| virtual bool | EditProperties (const a2dPropertyId *id, bool withUndo=true) |
| | edit properties of the object More...
|
| |
| void | TakeOverProperties (a2dObject *from, a2dPropertyIdList *listOfIds) |
| | Properties in the id list are taken from the given object, en set to this. More...
|
| |
| wxURI | GetURI () const |
| | quick way to get to PROPID_URI property More...
|
| |
| void | SetURI (const wxURI &url) |
| | quickly set a property PROPID_URI More...
|
| |
| const a2dNamedPropertyList & | GetPropertyList () const |
| | Get the Property List. More...
|
| |
|
bool | HasDynamicProperties () const |
| | test if there are dynamic properties in the m_propertylist
|
| |
| virtual bool | RemoveProperty (const a2dPropertyId *id, bool all=true) |
| | This function is called by a2dPropertyId to remove a property from the list. More...
|
| |
|
void | RemoveTemporaryProperties () |
| | remove all temporary properties
|
| |
| virtual bool | AddProperty (a2dNamedProperty *property) |
| | This function is called by a2dPropertyId to add a property to the list. More...
|
| |