|
wxArt2D
|
The base class for all drawable objects in a a2dCanvasDocument. More...
#include "wx/wx.h"#include "wx/image.h"#include "wx/general/genmod.h"#include "wx/geometry.h"#include "wx/artbase/afmatrix.h"#include "wx/artbase/bbox.h"#include "wx/canvas/candefs.h"#include "wx/canvas/styleprop.h"#include "wx/canvas/xmlpars.h"#include "wx/canvas/restrict.h"#include "wx/canvas/hittest.h"#include "wx/canvas/connectgen.h"#include "wx/canvas/route.h"#include <bitset>#include "wx/canvas/canpin.h"

Go to the source code of this file.
Classes | |
| struct | a2dCanvasOHitFlags |
| a2dCanvasObject hit flags as a structure More... | |
| class | a2dExtendedResultItem |
| This is one hit result from a2dExtendedResult. More... | |
| class | a2dExtendedResult |
| An object of this class represents the context of a query like a hit test. More... | |
| class | a2dHitEvent |
| structure to give as parameter to member functions of a2dCanvasObject More... | |
| class | a2dCanvasObject |
| a2dCanvasObject is the base class for Canvas Objects. More... | |
| struct | a2dCanvasObject::RenderChild |
| used to tell which child object to render and to detect the need for it. More... | |
| class | a2dCanvasObjectFilter |
| class use by a2dIterC to filter objects for rendering. More... | |
| class | a2dCanvasObjectFilterLayerMask |
| filter on this layer and mask. More... | |
| class | a2dCanvasObjectFilterLayerMaskNoToolNoEdit |
| objects with m_editingcopy or m_toolobject are skipped. More... | |
| class | a2dCanvasObjectFilterOnlyNoMaskBlind |
| object not fitting the mask are drawn blind. More... | |
| class | a2dCanvasObjectFilterPropertyNoMaskBlind |
| objects not fitting the property are not drawn, inclusif its children. More... | |
| class | a2dCanvasObjectFilterSelected |
| filter for selected a2dCanvasObject's More... | |
| class | a2dCanvasObjectFilterSelected2 |
| filter for selected a2dCanvasObject's More... | |
| class | a2dCanvasObjectFilterHighLighted |
| filter for selected a2dCanvasObject's More... | |
| class | a2dCanvasObjectFilterToolObjects |
| filter for tool related a2dCanvasObject's More... | |
| class | a2dIterPP |
| class | a2dIterCU |
| An object of this class will update a a2dIterC with the required information. More... | |
| class | a2dIterC |
| while iterating a a2dCanvasDocument, this holds the context. More... | |
Typedefs | |
|
typedef a2dSmrtPtr < a2dCanvasObject > | a2dCanvasObjectPtr |
|
typedef a2dPropertyIdTyped < a2dCanvasObjectPtr, class a2dCanvasObjectPtrProperty > | a2dPropertyIdCanvasObject |
|
typedef a2dPropertyIdProp < class a2dStyleProperty > | a2dPropertyIdCanvasStyle |
|
typedef a2dPropertyIdProp < class a2dShadowStyleProperty > | a2dPropertyIdCanvasShadowStyle |
|
typedef a2dPropertyIdTyped < a2dBoundingBox, a2dBoudingBoxProperty > | a2dPropertyIdBoundingBox |
| typedef wxUint8 | a2dTag |
| typedef vector< a2dTag > | a2dTagVec |
|
typedef a2dPropertyIdTyped < a2dTagVec, class a2dTagVecProperty > | a2dPropertyIdTagVec |
| typedef bool(* | a2dCanvasObjectSorter )(const a2dCanvasObjectPtr &x, const a2dCanvasObjectPtr &y) |
| typedef unsigned int | a2dCanViewUpdateFlagsMask |
Functions | |
| a2dHitOption | operator| (a2dHitOption a, a2dHitOption b) |
| OR-ing a2dHitOption is allowed. | |
| wxEditStyle | operator| (wxEditStyle a, wxEditStyle b) |
| bool | SetPointIfCloser (const a2dPoint2D &pointToSnapTo, const a2dPoint2D &pointToSnap, a2dPoint2D &bestPointSofar, double thresHoldWorld) |
| bool | operator< (const a2dCanvasObjectPtr &a, const a2dCanvasObjectPtr &b) |
Variables | |
| a2dCanvasObjectSorter | s_a2dCanvasObjectSorter |
The base class for all drawable objects in a a2dCanvasDocument.
Next to a2dCanvasObject, there are classes for filtering object ( a2dCanvasObjectFilter ) when iterating recursively through a document hierarchy. The class a2dIterC is used for holding the iteration context, which on its turn holds the drawing context when needed.
Copyright: 2000-2004 (c) Robert Roebling
Licence: wxWidgets Licence
RCS-ID:
Definition in file canobj.h.
| enum a2dHitOption |
Enum for hit test options.
| enum wxEditStyle |
| bool SetPointIfCloser | ( | const a2dPoint2D & | pointToSnapTo, |
| const a2dPoint2D & | pointToSnap, | ||
| a2dPoint2D & | bestPointSofar, | ||
| double | thresHoldWorld | ||
| ) |
if pointToSnap is closer to pointToSnapTo than bestPointSofar, make bestPointSofar that point. But only if it is within thresHoldWorld distance.
Definition at line 4189 of file canobj.cpp.