a2dCommand_SetSnap Class Reference
[commands used in command processor]

set snapping for tools on or off. More...

#include <cancom.h>

Inheritance diagram for a2dCommand_SetSnap:

Inheritance graph
[legend]
Collaboration diagram for a2dCommand_SetSnap:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 a2dCommand_SetSnap (bool set=true)
virtual a2dObjectClone (CloneOptions options=clone_deep) const
 Clone this object and return a pointer to the new object.

Public Attributes

bool m_value

Static Public Attributes

static const a2dCommandId Id

Protected Member Functions

bool Do (void)
bool Undo (void)
a2dCentralCanvasCommandProcessorGetCanvasCmp ()


Detailed Description

set snapping for tools on or off.

The a2dRestrictionEngine taken from a2dCanvasGlobals->GetRestrictionEngine(), will be set from a2dToolContr, making it possible to have snapping per view.

Definition at line 2522 of file cancom.h.


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