InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
DVAGMAcquireClip.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 __DVAGMAcquireClip__
25
#define __DVAGMAcquireClip__
26
27
class
IControlView
;
28
class
IViewPort
;
29
38
class
DVAGMAcquireClip
39
{
40
public
:
49
DVAGMAcquireClip
(
IViewPort
* vp,
IControlView
* view, SysRgn clipRgn = nil);
50
58
DVAGMAcquireClip
(
IViewPort
* vp, SysRgn clipRgn);
59
63
~DVAGMAcquireClip
();
64
70
SysRgn
GetClip
()
const
;
71
77
SysRgn
GetOriginAdjustedClip
()
const
;
78
82
void
SetupPlatformClip
();
83
87
void
TearDownPlatformClip
();
88
89
private
:
90
void
SetPlatformClipRgnFromView(
IControlView
* view, SysRgn clipRgn);
91
void
SetPlatformClipRgn(SysRgn clipRgn);
92
void
CommonInit();
93
94
private
:
95
IViewPort
* fVP;
96
IControlView
* fView;
97
SysRgn fClipRgn;
98
SysRgn fPrevClipRgn;
99
bool16 fClipHasBeenApplied;
100
bool16 fClipRgnWasCreated;
// i.e. does this object own the fClipRgn?
101
};
102
103
#endif
tmpdoxygeninput
DVAGMAcquireClip.h
Generated on Sat Jul 19 2025 02:54:11 for InDesign SDK by
1.8.3.1