cutop.cpp File Reference

(r1785/r1467)

#include "camtypes.h"
#include "cutop.h"
#include "clipint.h"
#include "layer.h"
#include "wrkrect.h"
#include "objchge.h"
#include "textops.h"
#include "nodetxts.h"
#include "ndoptmz.h"
#include "progress.h"
#include "transop.h"
#include "camdoc.h"
#include "fillramp.h"
#include "opgrad.h"
#include "blobs.h"
#include "cxftags.h"
#include "userattr.h"
#include "tmpltatr.h"
#include "ngsentry.h"
#include "slicehelper.h"
#include "filltool.h"
#include "ngitem.h"
#include "effects_stack.h"
#include "ophist.h"

Go to the source code of this file.

Functions

 DECLARE_SOURCE ("$Revision: 1467 $")
 CC_IMPLEMENT_DYNCREATE (OpCut, SelOperation) CC_IMPLEMENT_DYNCREATE(OpCopy
UndoableOperation CC_IMPLEMENT_DYNCREATE (OpPaste, SelOperation) CC_IMPLEMENT_DYNCREATE(OpDelete
UndoableOperation SelOperation CC_IMPLEMENT_DYNCREATE (CarbonCopyOp, SelOperation) CC_IMPLEMENT_DYNCREATE(OpDuplicate
UndoableOperation SelOperation
CarbonCopyOp 
CC_IMPLEMENT_DYNCREATE (OpClone, CarbonCopyOp) CC_IMPLEMENT_DYNCREATE(OpCopyAndTransform
UndoableOperation SelOperation
CarbonCopyOp CarbonCopyOp 
CC_IMPLEMENT_DYNCREATE (OpPasteAttributes, SelOperation) CC_IMPLEMENT_DYNAMIC(OpParamPasteAtPosition
UndoableOperation SelOperation
CarbonCopyOp CarbonCopyOp
static OpParam void 
SetCutOpText (String_256 *UIDescription, UINT32 PrefixStringID)
 Shared code used by almost all the GetState methods in kernel cutop.cpp Given a prefix string ("Copy "), it scans the selection for a description and generates an op description string ("Cut shape").


Function Documentation

UndoableOperation SelOperation CarbonCopyOp CarbonCopyOp CC_IMPLEMENT_DYNCREATE OpPasteAttributes  ,
SelOperation 
 

UndoableOperation SelOperation CarbonCopyOp CC_IMPLEMENT_DYNCREATE OpClone  ,
CarbonCopyOp 
 

UndoableOperation SelOperation CC_IMPLEMENT_DYNCREATE CarbonCopyOp  ,
SelOperation 
 

UndoableOperation CC_IMPLEMENT_DYNCREATE OpPaste  ,
SelOperation 
 

CC_IMPLEMENT_DYNCREATE OpCut  ,
SelOperation 
 

DECLARE_SOURCE "$Revision: 1467 $"   ) 
 

UndoableOperation SelOperation CarbonCopyOp CarbonCopyOp static OpParam void SetCutOpText String_256 UIDescription,
UINT32  PrefixStringID
[static]
 

Shared code used by almost all the GetState methods in kernel cutop.cpp Given a prefix string ("Copy "), it scans the selection for a description and generates an op description string ("Cut shape").

Author:
Jason_Williams (Xara Group Ltd) <camelotdev@xara.com>
Date:
22/5/95
Parameters:
UIDescription - points to the UOIDescription for a GetState method [INPUTS] PrefixStringID - the ID of a prefix to use (e.g. "Cut ")
UIDescription will either be left unchanged (no special description [OUTPUTS] available) or will be filled in (e.g. "Cut lines")

Definition at line 192 of file cutop.cpp.

00193 {
00194     String_256 Description = GetApplication()->FindSelection()->Describe(MENU);
00195 
00196     if (!Description.IsEmpty())
00197     {
00198         *UIDescription = String_256(PrefixStringID);
00199         *UIDescription += Description;
00200     }
00201     // else Leave the UIDescription as it stands (probably a simple "Cut" etc)
00202 }


Generated on Sat Nov 10 03:49:07 2007 for Camelot by  doxygen 1.4.4