#include <cancom.h>


Public Member Functions | |
| a2dCommand_SetCanvasProperty (a2dPropObject *object, a2dNamedProperty *property) | |
| Set property on object. | |
| a2dCommand_SetCanvasProperty (a2dPropObject *object, const a2dPropertyIdRefObject *id, a2dObject *value) | |
| Set property on object. | |
| a2dCommand_SetCanvasProperty (a2dPropObject *object, const a2dPropertyIdString *id, const wxString &value) | |
| Set property on object. | |
| a2dCommand_SetCanvasProperty (a2dPropObject *object, const a2dPropertyIdBool *id, bool value) | |
| Set property on object. | |
| a2dCommand_SetCanvasProperty (a2dPropObject *object, const a2dPropertyIdInt16 *id, wxInt16 value) | |
| Set property on object. | |
| a2dCommand_SetCanvasProperty (a2dPropObject *object, const a2dPropertyIdUint16 *id, wxUint16 value) | |
| Set property on object. | |
| a2dCommand_SetCanvasProperty (a2dPropObject *object, const a2dPropertyIdInt32 *id, wxInt32 value) | |
| Set property on object. | |
| a2dCommand_SetCanvasProperty (a2dPropObject *object, const a2dPropertyIdUint32 *id, wxUint32 value) | |
| Set property on object. | |
| a2dCommand_SetCanvasProperty (a2dPropObject *object, const a2dPropertyIdDouble *id, double value) | |
| Set property on object. | |
| a2dCommand_SetCanvasProperty (a2dPropObject *object, const a2dPropertyIdCanvasObject *id, a2dCanvasObject *value) | |
| Set property on object. | |
| a2dCommand_SetCanvasProperty (a2dPropObject *object, const a2dPropertyIdMatrix *id, const a2dAffineMatrix &value) | |
| Set property on object. | |
| a2dCommand_SetCanvasProperty (a2dPropObject *object, const a2dPropertyIdPoint2D *id, const a2dPoint2D &point, int index=-1, bool afterinversion=true) | |
| Set property on object. | |
| a2dCommand_SetCanvasProperty (a2dPropObject *object, const a2dPropertyIdFill *id, const a2dFill &fill=*a2dNullFILL) | |
| a2dCommand_SetCanvasProperty (a2dPropObject *object, const a2dPropertyIdStroke *id, const a2dStroke &stroke=*a2dNullSTROKE) | |
| virtual a2dCommand * | CloneAndBind (a2dPropObject *object) |
| Copy and instantiate the command. | |
| bool | Do () |
| bool | Undo () |
| a2dCanvasCommandProcessor * | GetCanvasCmp () |
Static Public Attributes | |
| static const a2dCommandId | Id |
A a2dObject property is set on the a2dPropObject, and the first property on the a2dPropObject with the same name is used for undo. If the property was not yet set for the object, in Undo the new property is just removed, else the old value is restored.
Definition at line 1451 of file cancom.h.
| a2dCommand_SetCanvasProperty::a2dCommand_SetCanvasProperty | ( | a2dPropObject * | object, | |
| a2dNamedProperty * | property | |||
| ) | [inline] |
| a2dCommand_SetCanvasProperty::a2dCommand_SetCanvasProperty | ( | a2dPropObject * | object, | |
| const a2dPropertyIdRefObject * | id, | |||
| a2dObject * | value | |||
| ) | [inline] |
| a2dCommand_SetCanvasProperty::a2dCommand_SetCanvasProperty | ( | a2dPropObject * | object, | |
| const a2dPropertyIdString * | id, | |||
| const wxString & | value | |||
| ) | [inline] |
| a2dCommand_SetCanvasProperty::a2dCommand_SetCanvasProperty | ( | a2dPropObject * | object, | |
| const a2dPropertyIdBool * | id, | |||
| bool | value | |||
| ) | [inline] |
| a2dCommand_SetCanvasProperty::a2dCommand_SetCanvasProperty | ( | a2dPropObject * | object, | |
| const a2dPropertyIdInt16 * | id, | |||
| wxInt16 | value | |||
| ) | [inline] |
| a2dCommand_SetCanvasProperty::a2dCommand_SetCanvasProperty | ( | a2dPropObject * | object, | |
| const a2dPropertyIdUint16 * | id, | |||
| wxUint16 | value | |||
| ) | [inline] |
| a2dCommand_SetCanvasProperty::a2dCommand_SetCanvasProperty | ( | a2dPropObject * | object, | |
| const a2dPropertyIdInt32 * | id, | |||
| wxInt32 | value | |||
| ) | [inline] |
| a2dCommand_SetCanvasProperty::a2dCommand_SetCanvasProperty | ( | a2dPropObject * | object, | |
| const a2dPropertyIdUint32 * | id, | |||
| wxUint32 | value | |||
| ) | [inline] |
| a2dCommand_SetCanvasProperty::a2dCommand_SetCanvasProperty | ( | a2dPropObject * | object, | |
| const a2dPropertyIdDouble * | id, | |||
| double | value | |||
| ) | [inline] |
| a2dCommand_SetCanvasProperty::a2dCommand_SetCanvasProperty | ( | a2dPropObject * | object, | |
| const a2dPropertyIdCanvasObject * | id, | |||
| a2dCanvasObject * | value | |||
| ) |
Set property on object.
The property its name is used for undo, and restore the old value if available.
| id | the name of the property to set. | |
| value | the value to set the property to. | |
| object | the canvas object to set the property on. |
Definition at line 3245 of file cancom.cpp.
| a2dCommand_SetCanvasProperty::a2dCommand_SetCanvasProperty | ( | a2dPropObject * | object, | |
| const a2dPropertyIdMatrix * | id, | |||
| const a2dAffineMatrix & | value | |||
| ) |
Set property on object.
The property its name is used for undo, and restore the old value if available.
| id | the name of the property to set. | |
| value | the value to set the property to. | |
| object | the canvas object to set the property on. |
Definition at line 3257 of file cancom.cpp.
| a2dCommand_SetCanvasProperty::a2dCommand_SetCanvasProperty | ( | a2dPropObject * | object, | |
| const a2dPropertyIdPoint2D * | id, | |||
| const a2dPoint2D & | point, | |||
| int | index = -1, |
|||
| bool | afterinversion = true | |||
| ) |
Set property on object.
The property its name is used for undo, and restore the old value if available.
| id | the name of the property to set. | |
| point | the point for the internal a2dPoint2DProperty | |
| index | the index for the internal a2dPoint2DProperty | |
| afterinversion | the afterinversion for the internal a2dPoint2DProperty | |
| object | the canvas object to set the property on. |
Definition at line 3269 of file cancom.cpp.
| a2dCommand * a2dCommand_SetCanvasProperty::CloneAndBind | ( | a2dPropObject * | object | ) | [virtual] |
Copy and instantiate the command.
This is usefull for commands that are used as command templates in widgets. The widget owns a command template, that is not bound to an object. This function clones the command object and binds it to the given object.
\param object for which the command is to be generated.
Reimplemented from a2dCommand.
Definition at line 3299 of file cancom.cpp.