MatOCAD Logo

Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

wxIFMConvertRectEvent Class Reference

Used to convert between coord systems (absolute, background, client). More...

#include <events.h>

Inherits wxIFMRectEvent.

Inheritance diagram for wxIFMConvertRectEvent:

Inheritance graph
[legend]
Collaboration diagram for wxIFMConvertRectEvent:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 wxIFMConvertRectEvent (wxIFMComponent *component, int coordsFrom, int coordsTo, const wxRect &rect)
 wxIFMConvertRectEvent (wxIFMComponent *component, int coordsFrom, int coordsTo, const wxPoint &pos, const wxSize &size)
 wxIFMConvertRectEvent (const wxIFMConvertRectEvent &event)
virtual wxEvent * Clone () const
int GetSourceCoords () const
int GetDestinationCoords () const

Protected Attributes

int m_coordsTo
int m_coordsFrom
 which coordinate systems are we converting to and from

Detailed Description

Used to convert between coord systems (absolute, background, client).

See also:
coordsystems, wxIFMRectEvent

Definition at line 517 of file events.h.


Constructor & Destructor Documentation

wxIFMConvertRectEvent::wxIFMConvertRectEvent wxIFMComponent component,
int  coordsFrom,
int  coordsTo,
const wxRect &  rect
[inline]
 

Definition at line 526 of file events.h.

Referenced by Clone().

wxIFMConvertRectEvent::wxIFMConvertRectEvent wxIFMComponent component,
int  coordsFrom,
int  coordsTo,
const wxPoint &  pos,
const wxSize &  size
[inline]
 

Definition at line 533 of file events.h.

wxIFMConvertRectEvent::wxIFMConvertRectEvent const wxIFMConvertRectEvent event  )  [inline]
 

Definition at line 540 of file events.h.


Member Function Documentation

virtual wxEvent* wxIFMConvertRectEvent::Clone  )  const [inline, virtual]
 

Reimplemented from wxIFMRectEvent.

Definition at line 546 of file events.h.

References wxIFMConvertRectEvent().

int wxIFMConvertRectEvent::GetDestinationCoords  )  const [inline]
 

Returns:
Coord system to convert to

Definition at line 556 of file events.h.

References m_coordsTo.

Referenced by wxIFMDefaultResizePlugin::OnConvertRect(), and wxIFMDefaultPlugin::OnConvertRect().

int wxIFMConvertRectEvent::GetSourceCoords  )  const [inline]
 

Returns:
Coord system to convert from

Definition at line 551 of file events.h.

References m_coordsFrom.

Referenced by wxIFMDefaultResizePlugin::OnConvertRect(), and wxIFMDefaultPlugin::OnConvertRect().


Member Data Documentation

int wxIFMConvertRectEvent::m_coordsFrom [protected]
 

which coordinate systems are we converting to and from

Definition at line 521 of file events.h.

Referenced by GetSourceCoords().

int wxIFMConvertRectEvent::m_coordsTo [protected]
 

Definition at line 521 of file events.h.

Referenced by GetDestinationCoords().


The documentation for this class was generated from the following file:

 

SourceForge Logo