#include <sttool.h>


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 |
Either with just one click or draging a rectangle to fit the image in.
Definition at line 841 of file sttool.h.
| 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.
| 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.
| drawPatternOnTop | Set true to draw on top of the image, else false |
| bool a2dImageTool::GetDrawPatternOnTop | ( | ) | [inline] |
Returns if the pattern will be drawn on top of the image.
true if pattern will be drawn on top of this image, else false (default)