a2dRenderImageZoomTool Class Reference

Interactive Zooming into a a2dRenderImage canvasobject. More...

#include <sttoolext.h>

Inheritance diagram for a2dRenderImageZoomTool:

Inheritance graph
[legend]
Collaboration diagram for a2dRenderImageZoomTool:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 a2dRenderImageZoomTool (a2dStToolContr *controller)
bool ZoomSave ()
 Is Zooming while the tool is busy Save.

Static Public Attributes

static const a2dCommandId COMID_PushTool_RenderImageZoom
 push this tool on the tools stack

Protected Member Functions

void OnChar (wxKeyEvent &event)
 called on key events
void OnMouseEvent (wxMouseEvent &event)
 called on mouse events

Protected Attributes

int m_zoom_x1
 mouse position used for zooming
int m_zoom_y1
 mouse position used for zooming
int m_zoom_x2
 mouse position used for zooming
int m_zoom_y2
 mouse position used for zooming
a2dRenderImagem_renderimage


Detailed Description

Interactive Zooming into a a2dRenderImage canvasobject.

draging a rectangle to zoom into area.

Remarks:
Left Click and/or drag.

Right Click for zoom popup.

Double Left Click for zoom out.

See also:
a2dStToolContr

Definition at line 36 of file sttoolext.h.


Member Function Documentation

bool a2dRenderImageZoomTool::ZoomSave (  )  [inline, virtual]

Is Zooming while the tool is busy Save.

If so, the active tool will redraw itself in the new Mapping state

Implements a2dBaseTool.

Definition at line 47 of file sttoolext.h.


The documentation for this class was generated from the following files:
a2dRenderImageZoomTool Class Reference -- Tue Aug 31 18:33:20 2010 -- 31 Aug 2010 -- 1.5.5 -- wxArt2D -- . -- Main Page Reference Documentation