InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IGfxCapturePort.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Pushp Agarwal
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change $
14 // ___________________
15 //
16 // ADOBE CONFIDENTIAL
17 //
18 // Copyright 2014 Adobe Systems Incorporated
19 // All Rights Reserved.
20 //
21 // NOTICE: All information contained herein is, and remains
22 // the property of Adobe Systems Incorporated and its suppliers,
23 // if any. The intellectual and technical concepts contained
24 // herein are proprietary to Adobe Systems Incorporated and its
25 // suppliers and are protected by all applicable intellectual property
26 // laws, including trade secret and copyright laws.
27 // Dissemination of this information or reproduction of this material
28 // is strictly forbidden unless prior written permission is obtained
29 // from Adobe Systems Incorporated.
30 //
31 //========================================================================================
32 #ifndef __IGFXCAPTUREPORT__
33 #define __IGFXCAPTUREPORT__
34 
35 #include "BravoForwardDecl.h"
36 #include "GraphicsID.h"
37 
41 {
42 public:
43  enum { kDefaultIID = IID_IGFXCAPTUREPORT };
44 
48  virtual void Setup() = 0;
49 
53  virtual void Setup(AGMGraphic*) = 0;
54  virtual AGMGraphic* GetGraphic() const = 0;
55  virtual AGMGraphixCapturePort* GetPort() const = 0;
56 
63  virtual void BeginFixedSizeGraphix(const PMPoint& location,PMReal viewThreshhold=0.0f) = 0;
64 
70  virtual void EndFixedSizeGraphix() = 0;
71 
77  virtual void StartClipGroup(const PMRect& clipRect,const PMMatrix& matrix) = 0;
78 
84  virtual void EndClipGroup() = 0;
85 
89  virtual void DrawGraphic(AGMGraphic* graphic) = 0;
90  /*
91  Returns true if line width of stroke applied is not scaled with ctm. This setting is part of GState
92  */
93  virtual bool16 GetDrawFixedLineWidth() const = 0;
94 
99  virtual void SetDrawFixedLineWidth(bool16 fixed) = 0;
100 
105  virtual void SetGreekingEnabled(bool16 enable = true) = 0;
106 
110  virtual void SetupWithPort(AGMGraphixPort*) = 0;
111 };
112 #endif