a2dHitEvent Class Reference

structure to give as parameter to member functions of wxCanvasObject More...

#include <canobj.h>

Collaboration diagram for a2dHitEvent:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 a2dHitEvent (double absx=0, double absy=0, bool continues=true, a2dHitOption option=a2dCANOBJHITOPTION_NONE, bool wantExtended=false)
void SetProcessed (bool val)

Public Attributes

double m_relx
 (world coordinates) hit point x relative to the canvas object its parent object(s)
double m_rely
 (world coordinates) hit point y relative to the canvas object its parent object(s)
double m_x
 (world coordinates) hit point x as in a2dCanvasView or any other top level
double m_y
 (world coordinates) hit point y as in a2dCanvasView or any other top level
bool m_xyRelToChildren
 is set, m_x and m_y are supplied relative to the child objects ( object matrix m_world already applied )
wxUint32 m_option
 the way to hit/traverse the document.
a2dHit m_how
 return in which way the object was hit (stroke, fill, ...)
a2dExtendedResult m_extended
 extended result information with e.g path to lead to the nested object hit
bool m_extendedWanted
 fill m_extended or not
int m_maxlevel
 maximum level of hit object below this (this = level 0)
wxEvent * m_event
 event to process in case of event processing call
bool m_processed
 set if event was processed sofar
bool m_continue
 set if the event processing or hittest needs to continue after first hit
bool m_isHit
 in the end if there was a hit (even if not processed event)
int m_id
 application specific use


Detailed Description

structure to give as parameter to member functions of wxCanvasObject

During event processing and hittesting in a a2dCanvasView and a2dCanvasDocument, this structure is used to give and assemble information while traversing the document.

Definition at line 470 of file canobj.h.


The documentation for this class was generated from the following file:
a2dHitEvent Class Reference -- Tue Aug 31 18:28:09 2010 -- 31 Aug 2010 -- 1.5.5 -- wxArt2D -- . -- Main Page Reference Documentation