a2dImageTool Class Reference
[Objects used for interactive manipulation.]

Interactive Insertion of an a2dImage Object. More...

#include <sttool.h>

Inheritance diagram for a2dImageTool:

Inheritance graph
[legend]
Collaboration diagram for a2dImageTool:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 a2dImageTool (a2dStToolContr *controller)
bool ZoomSave ()
 Is Zooming while the tool is busy Save.
void SetDrawPatternOnTop (bool drawPatternOnTop)
 Sets if the pattern (a rectangle) will be drawn on top of this image.
bool GetDrawPatternOnTop ()
 Returns if the pattern will be drawn on top of the image.

Static Public Attributes

static const a2dCommandId COMID_PushTool_Image
 push this tool on the tools stack

Protected Member Functions

virtual void GenerateAnotation ()
 to display a string along with a tool drawing.
void OnChar (wxKeyEvent &event)
 called on key events
void OnMouseEvent (wxMouseEvent &event)
 called on mouse events

Protected Attributes

bool m_drawPatternOnTop


Detailed Description

Interactive Insertion of an a2dImage Object.

Either with just one click or draging a rectangle to fit the image in.

Remarks:
Left Click and/or drag.
See also:
a2dStToolContr

Definition at line 841 of file sttool.h.


Member Function Documentation

bool a2dImageTool::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 854 of file sttool.h.

void a2dImageTool::SetDrawPatternOnTop ( bool  drawPatternOnTop  )  [inline]

Sets if the pattern (a rectangle) will be drawn on top of this image.

If set to true the pattern (a rect) will be drawn on top of the image, else the pattern will be drawn behind the image.

Remarks:
By default the rectangle / pattern will be drawn behind the image
Parameters:
drawPatternOnTop Set true to draw on top of the image, else false

Definition at line 865 of file sttool.h.

bool a2dImageTool::GetDrawPatternOnTop (  )  [inline]

Returns if the pattern will be drawn on top of the image.

See also:
SetDrawPatternOnTop
Returns:
true if pattern will be drawn on top of this image, else false (default)

Definition at line 873 of file sttool.h.


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