InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IPreflightArtworkPaintInfo.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Matt Phillips
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
25
#include "IPMUnknown.h"
26
#include "PackageAndPreflightID.h"
27
#include "GraphicTypes.h"
28
#include "BravoForwardDecl.h"
29
30
class
IPreflightArtworkCSInfo
;
31
37
class
IPreflightArtworkPaintInfo
:
public
IPMUnknown
38
{
39
public
:
40
enum
{ kDefaultIID = IID_IPREFLIGHTARTWORKPAINTINFO };
41
43
typedef
enum
44
{
45
kPaintSpatial_Invalid,
46
kPaintSpatial_Other,
47
kPaintSpatial_Constant,
48
kPaintSpatial_Image,
49
kPaintSpatial_Shading,
50
kPaintSpatial_Composite,
51
kPaintSpatial_Encapsulated,
52
kPaintSpatial_Pattern
53
}
PaintSpatialType
;
54
55
public
:
63
virtual
void
Initialize
(CAGMPaint& paint,
const
PMMatrix
& paintMatrix,
bool
overprint) = 0;
64
68
virtual
bool
GetOverprint
()
const
= 0;
69
73
virtual
PMMatrix
GetPaintMatrix
()
const
= 0;
74
80
virtual
IPreflightArtworkCSInfo
*
QueryColorSpace
()
const
= 0;
81
85
virtual
PaintSpatialType
GetSpatialType
()
const
= 0;
86
103
virtual
uint32
IsTrapSafeColor
(
const
PMReal
& threshold)
const
= 0;
104
111
virtual
uint32
IsTrapSafe
(
const
PMReal
& threshold)
const
= 0;
112
120
virtual
bool
IsWhite
(
const
PMReal
& tolerance = 0.001)
const
= 0;
121
128
virtual
int32
GetConstantColorValues
(
K2Vector<PMReal>
* comps)
const
= 0;
129
134
virtual
Int32Rect
GetImagePixelBounds
()
const
= 0;
135
140
virtual
PMPoint
GetImageResolution
()
const
= 0;
141
146
virtual
uint32
GetImageBitsPerPixel
()
const
= 0;
147
153
virtual
bool
IsOPIProxy
()
const
= 0;
154
155
};
156
tmpdoxygeninput
IPreflightArtworkPaintInfo.h
Generated on Sat Jul 19 2025 02:54:15 for InDesign SDK by
1.8.3.1