InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
ITransformCmdData.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Lin Xia
6
//
7
// $Author$
8
//
9
// $DateTime$
10
//
11
// $Revision$
12
//
13
// $Change$
14
//
15
// Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16
//
17
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18
// with the terms of the Adobe license agreement accompanying it. If you have received
19
// this file from a source other than Adobe, then your use, modification, or
20
// distribution of it requires the prior written permission of Adobe.
21
//
22
//
23
// Data interface for generic transform command.
24
// Caller of the command should set a transform matrix and the type of the transformation,
25
// which can be a combination of move, rotate, scale, and skew.
26
// Note transform context and if it is absolute is implied in the transformation matrix.
27
//
28
//========================================================================================
29
30
#ifndef __ITransformCmdData__
31
#define __ITransformCmdData__
32
33
#include "IPMUnknown.h"
34
#include "ITransform.h"
35
#include "GenericID.h"
36
#include "PMPoint.h"
37
#include "PMMatrix.h"
38
39
class
ITransformCmdData
:
public
IPMUnknown
40
{
41
public
:
42
enum
{ kDefaultIID = IID_ITRANSFORMCMDDATA };
43
44
51
virtual
void
SetTransformData
(
52
const
Transform::CoordinateSpace
&coordinateSpace,
53
const
Transform::TransformOrigin
& referencePoint,
54
const
Transform::TransformValue
& xform,
55
Transform::ScaleMethod
scaleMethod = Transform::ConsultScalingPreference()) = 0;
56
59
virtual
Transform::CoordinateSpace
GetTransformCoordinates
()
const
= 0;
60
63
virtual
Transform::TransformOrigin
GetTransformReferencePoint
()
const
= 0;
64
67
virtual
Transform::TransformValue
GetTransformValue
()
const
= 0;
68
71
virtual
uint32
GetTransformContent
()
const
= 0;
72
75
virtual
Transform::ScaleMethod
GetScaleMethod
()
const
= 0;
76
79
virtual
void
SetTransformValue
(
const
Transform::TransformValue
& xform) = 0;
80
81
};
82
83
84
#endif
tmpdoxygeninput
ITransformCmdData.h
Generated on Sat Jul 19 2025 02:54:16 for InDesign SDK by
1.8.3.1