#include <cutop.h>
Inheritance diagram for OpCopyAndTransform:
Public Member Functions | |
OpCopyAndTransform () | |
OpCopyAndTransform default constructor. The CopyTransform matrix will be constructed, by default, as an Identity matrix. Therefore, using this constructor essentially creates a Clone operation. | |
OpCopyAndTransform (Trans2DMatrix Transform, BOOL PassSelectCopy=FALSE) | |
OpCopyAndTransform constructor. | |
virtual void | Do (OpDescriptor *) |
Performs the CopyAndTransform operation with the current CopyTransform matrix and the current SelectCopy status. | |
Static Public Member Functions | |
static BOOL | Init () |
OpCopyAndTransform initialiser method. | |
static OpState | GetState (String_256 *, OpDescriptor *) |
For finding the operations state. | |
Protected Attributes | |
Trans2DMatrix | CopyTransform |
BOOL | SelectCopy |
Definition at line 418 of file cutop.h.
|
OpCopyAndTransform default constructor. The CopyTransform matrix will be constructed, by default, as an Identity matrix. Therefore, using this constructor essentially creates a Clone operation.
Definition at line 2483 of file cutop.cpp. 02483 : CarbonCopyOp() 02484 { 02485 }
|
|
OpCopyAndTransform constructor.
Definition at line 2510 of file cutop.cpp. 02510 :CarbonCopyOp() 02511 { 02512 CopyTransform=Transform; 02513 SelectCopy=PassSelectCopy; 02514 }
|
|
Performs the CopyAndTransform operation with the current CopyTransform matrix and the current SelectCopy status.
It keeps the original selection selected rather than selecting the copy.
Reimplemented from Operation. Definition at line 2607 of file cutop.cpp. 02608 { 02609 DoProcessing(CopyTransform, SelectCopy); 02610 }
|
|
For finding the operations state.
Reimplemented from CarbonCopyOp. Definition at line 2575 of file cutop.cpp. 02576 { 02577 OpState OpSt; 02578 02579 SetCutOpText(UIDescription, _R(IDS_CLIPBOARD_PRECOPYANDTRANSFORM)); 02580 02581 return(OpSt); 02582 }
|
|
OpCopyAndTransform initialiser method.
Reimplemented from SimpleCCObject. Definition at line 2539 of file cutop.cpp. 02540 { 02541 return (RegisterOpDescriptor(0, 02542 _R(IDS_COPYANDTRANSFORMOP), 02543 CC_RUNTIME_CLASS(OpCopyAndTransform), 02544 OPTOKEN_COPYANDTRANSFORM, 02545 OpCopyAndTransform::GetState, 02546 0, /* help ID */ 02547 _R(IDBBL_COPYANDTRANSFORM), 02548 0, // resource ID 02549 0, 02550 SYSTEMBAR_ILLEGAL, // Bar ID 02551 TRUE, // Receive messages 02552 FALSE, 02553 FALSE, 02554 0, 02555 (GREY_WHEN_NO_CURRENT_DOC | GREY_WHEN_NO_SELECTION) )); 02556 }
|
|
|
|
|