All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ShapedText.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 // !Warning! This file is autogenerated, modify the .codegen file, not this one
6 // (any changes here will be wiped out during the autogen process)
7 
8 #ifndef PDFTRON_H_CPPPDFShapedText
9 #define PDFTRON_H_CPPPDFShapedText
10 #include <C/PDF/TRN_ShapedText.h>
11 
12 #include <Common/BasicTypes.h>
13 #include <Common/UString.h>
14 
15 namespace pdftron { namespace PDF {
16 class Font;
17 
24 {
25 public:
26  //enums:
31  };
37  };
38  ShapedText();
39  ShapedText(const ShapedText& other);
40  ShapedText(TRN_ShapedText impl);
41  ShapedText& operator= (const ShapedText& other);
42  ~ShapedText();
43 
44  void Destroy();
45 
46  //methods:
47 
53  double GetScale() const;
54 
61 
68 
74  UString GetText() const;
75 
81  int GetNumGlyphs() const;
82 
89  UInt32 GetGlyph(UInt32 index) const;
90 
97  double GetGlyphXPos(UInt32 index) const;
98 
105  double GetGlyphYPos(UInt32 index) const;
106 
107 #ifndef SWIGHIDDEN
108  TRN_ShapedText m_impl;
109 #endif
110 
111 private:
112 
113 #ifndef SWIGHIDDEN
114  mutable bool m_owner;
115 #endif
116 };
117 
118 #include <Impl/ShapedText.inl>
119 } //end pdftron
120 } //end PDF
121 
122 
123 #endif //PDFTRON_H_CPPPDFShapedText
double GetGlyphXPos(UInt32 index) const
UInt32 GetGlyph(UInt32 index) const
double GetScale() const
TRN_UInt32 UInt32
Definition: BasicTypes.h:13
ShapedText & operator=(const ShapedText &other)
ShapingStatus GetShapingStatus() const
FailureReason GetFailureReason() const
double GetGlyphYPos(UInt32 index) const
UString GetText() const
TRN_ShapedText m_impl
Definition: ShapedText.h:108