Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Text
ShapedText.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
#include "Text.h"
6
#include "ShapedGlyph.h"
7
#include "Bounds.h"
8
9
namespace
Eegeo
10
{
11
namespace
Text
12
{
13
struct
ShapedText
14
{
15
public
:
16
ShapedText
(
const
std::vector<ShapedGlyph>& shapedGlyphs,
17
const
Geometry::Bounds2D
& bounds)
18
: m_shapedGlyphs(shapedGlyphs)
19
, m_bounds(bounds)
20
{}
21
22
const
std::vector<ShapedGlyph>& GetGlyphs()
const
{
return
m_shapedGlyphs; }
23
24
const
Geometry::Bounds2D
& GetBounds()
const
{
return
m_bounds; }
25
private
:
26
std::vector<ShapedGlyph> m_shapedGlyphs;
27
Geometry::Bounds2D
m_bounds;
// origin top-left, +ve x === right, +ve y === down
28
};
29
}
30
}
Generated on Sat Jun 10 2023 02:00:34 for eeGeo Platform SDK by
1.8.3.1