Loading...
Searching...
No Matches
ShapedText.h
Go to the documentation of this file.
1//---------------------------------------------------------------------------------------
2// Copyright (c) 2001-2025 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
15namespace pdftron { namespace PDF {
16class Font;
17
24{
25public:
26 //enums:
39 ShapedText(const ShapedText& other);
40 ShapedText(TRN_ShapedText impl);
43
44 void Destroy();
45
46 //methods:
47
53 double GetScale() const;
54
61
68
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
111private:
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
UInt32 GetGlyph(UInt32 index) const
double GetScale() const
ShapedText & operator=(const ShapedText &other)
ShapedText(TRN_ShapedText impl)
ShapingStatus GetShapingStatus() const
double GetGlyphXPos(UInt32 index) const
FailureReason GetFailureReason() const
double GetGlyphYPos(UInt32 index) const
UString GetText() const
TRN_ShapedText m_impl
Definition ShapedText.h:108
ShapedText(const ShapedText &other)
TRN_UInt32 UInt32
Definition BasicTypes.h:13