InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IPreflightArtworkMarkInfo.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 "IPreflightArtworkImage.h"
29 
32 
63 {
64 public:
65  enum { kDefaultIID = IID_IPREFLIGHTARTWORKMARKINFO };
66 
68  typedef enum
69  {
70  kMarkOp_Invalid,
71  kMarkOp_Stroke,
72  kMarkOp_Fill
73  } MarkOperation;
74 
76  typedef enum
77  {
78  kMarkType_Invalid,
79 
82 
85  } MarkType;
86 
87  typedef enum
88  {
89  kMarkPt_Invalid,
90  kMarkPt_MoveTo,
91  kMarkPt_LineTo,
92  kMarkPt_CurveTo,
93  kMarkPt_Close
94  } MarkPointType;
95 
96 public:
102  virtual IPreflightArtworkPaintInfo* QueryColorPaintInfo() const = 0;
103 
110  virtual IPreflightArtworkPaintInfo* QueryAlphaPaintInfo() const = 0;
111 
117  virtual IPreflightArtworkTextInfo* QueryTextInfo() const = 0;
118 
126  virtual void GetBounds(PMRect& r, const PMMatrix& m = PMMatrix()) const = 0;
127 
131  virtual bool GetOverprint() const = 0;
132 
136  virtual MarkType GetMarkType() const = 0;
137 
141  virtual MarkOperation GetMarkOperation() const = 0;
142 
147  virtual PMReal GetStrokeWidth() const = 0;
148 
155  virtual uint32 GetPathPoints(PMPoint* locs = nil, MarkPointType* ptTypes = nil) const = 0;
156 
163  virtual void GetAbsoluteMatrix(PMMatrix& m) const = 0;
164 
169  virtual void GetPathMatrix(PMMatrix& m) const = 0;
170 
174  virtual bool IsFromPattern() const = 0;
175 
201  (
202  const PMMatrix& path2image = PMMatrix(),
203  uint32 rf_flags = IPreflightArtworkImage::kRF_Default
204  ) const = 0;
205 };
206