InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IScaleObject.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Jesse Jones (jejones)
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
// Purpose: Owned items can use this interface to update themselves when a text frame is scaled.
24
//
25
//========================================================================================
26
27
#ifndef __IScaleObject__
28
#define __IScaleObject__
29
30
#include "PMReal.h"
31
#include "GenericID.h"
32
33
34
// ===================================================================================
35
// class IScaleObject
36
// ===================================================================================
37
class
IScaleObject
:
public
IPMUnknown
{
38
39
//-----------------------------------
40
// API
41
//
42
public
:
43
enum
{kDefaultIID = IID_ISCALEOBJECT};
44
45
class
ScaleContext
/* an API used internally by implementations of IScaleObject */
46
{
47
public
:
48
virtual
bool16 IsScaled (
UID
uid)
const
= 0;
49
virtual
void
SetScaled(
UID
uid) = 0;
50
};
51
61
virtual
ErrorCode
Scale
(
const
PMReal
& passdownXscale,
const
PMReal
& passdownYscale,
ScaleContext
& context) = 0;
62
};
63
64
65
#endif // __IScaleObject__
tmpdoxygeninput
IScaleObject.h
Generated on Sat Jul 19 2025 02:54:15 for InDesign SDK by
1.8.3.1