All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PatternColor.h
Go to the documentation of this file.
1 //---------------------------------------------------------------------------------------
2 // Copyright (c) 2001-2024 by Apryse Software Inc. All Rights Reserved.
3 // Consult legal.txt regarding legal and license information.
4 //---------------------------------------------------------------------------------------
5 #ifndef PDFTRON_H_CPPPDFPatternColor
6 #define PDFTRON_H_CPPPDFPatternColor
7 
8 #include <SDF/Obj.h>
9 #include <Common/Matrix2D.h>
10 #include <PDF/Shading.h>
11 #include <C/PDF/TRN_PatternColor.h>
12 
13 
14 namespace pdftron {
15  namespace PDF {
16 
43 {
44 public:
45 
46  // Common PatternColor methods ----------------------------------------------------
47 
52  PatternColor (SDF::Obj pattern);
53 
54  PatternColor(const PatternColor&);
56 
57  ~PatternColor();
58 
59  enum Type
60  {
65  };
66 
70  Type GetType() const;
71 
76 
86 
87 
88  // Specific ShadingPattern methods -----------------------------------------------
89 
96 
97 
98  // Specific TilingPattern methods ------------------------------------------------
99 
101  {
105  };
106 
113  TilingType GetTilingType() const;
114 
123  Rect GetBBox();
124 
135  double GetXStep();
136 
143  double GetYStep();
144 
148  void Destroy();
149 
150 // @cond PRIVATE_DOC
151 #ifndef SWIGHIDDEN
152  PatternColor(TRN_PatternColor impl);
153  PatternColor();
154  TRN_PatternColor mp_pc;
155 #endif
156 // @endcond
157 };
158 
159 
160 
161 #include <Impl/PatternColor.inl>
162 
163 
164  }; // namespace PDF
165 }; // namespace pdftron
166 
167 #endif // PDFTRON_H_CPPPDFPatternColor
Common::Matrix2D GetMatrix()
PatternColor & operator=(const PatternColor &)
TilingType GetTilingType() const
PatternColor(SDF::Obj pattern)