InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
CAGMAcquireCoordSys.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Michael Burbidge
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
24
#ifndef __CAGMAcquireCoordSys__
25
#define __CAGMAcquireCoordSys__
26
27
#include "CAcquireCoordSys.h"
28
#include "PMMatrix.h"
29
30
#ifdef PUBLIC_BUILD
31
#endif
32
33
class
IControlView
;
34
class
IViewPort
;
35
class
ITransform
;
36
43
class
CAGMAcquireCoordSys
:
public
CAcquireCoordSys
44
{
45
public
:
46
47
// ----- Initialization -----
48
56
CAGMAcquireCoordSys
(
IViewPort
* viewPort,
IControlView
*controlView);
57
65
CAGMAcquireCoordSys
(
IViewPort
* viewPort,
ITransform
* xform = nil);
66
74
CAGMAcquireCoordSys
(
IViewPort
* viewPort,
const
PMMatrix
& theMatrix);
75
84
CAGMAcquireCoordSys
(
IViewPort
* viewPort,
const
PMMatrix
& theMatrix,
IControlView
* controlView);
85
94
CAGMAcquireCoordSys
(
IViewPort
* viewPort,
ITransform
* xform,
IControlView
* controlView);
95
99
~CAGMAcquireCoordSys
();
100
101
102
// ----- Accessors -----
103
107
IViewPort
*
GetViewPort
()
const
;
108
112
const
PMMatrix
&
GetTransform
()
const
;
113
117
const
PMMatrix
&
GetInverseTransform
()
const
;
118
122
IControlView
*
GetView
()
const
;
123
124
protected
:
128
void
CommonInit
();
129
133
void
CommonTerm
();
134
138
virtual
void
Resume
();
139
143
virtual
void
Suspend
();
144
148
void
Setup
();
149
153
void
TearDown
();
154
158
virtual
void
SetupSysOrigin
() = 0;
159
163
virtual
void
TearDownSysOrigin
() = 0;
164
165
// ----- Data fields -----
166
167
IViewPort
* fVP;
168
PMMatrix
fXForm;
169
PMMatrix
fInvXForm;
170
bool16 fInverseValid;
171
IControlView
* fView;
172
PMMatrix
fOrigMatrix;
173
};
174
175
176
inline
IViewPort
*
CAGMAcquireCoordSys::GetViewPort
()
const
177
{
178
return
fVP;
179
}
180
181
inline
const
PMMatrix
&
CAGMAcquireCoordSys::GetTransform
()
const
182
{
183
return
fXForm;
184
}
185
186
inline
IControlView
*
CAGMAcquireCoordSys::GetView
()
const
187
{
188
return
fView;
189
}
190
191
#endif
tmpdoxygeninput
CAGMAcquireCoordSys.h
Generated on Sat Jul 19 2025 02:54:11 for InDesign SDK by
1.8.3.1