Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Fonts
FontLayout.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
#include "Types.h"
6
#include "Fonts.h"
7
#include <vector>
8
9
namespace
Eegeo
10
{
11
namespace
Fonts
12
{
13
class
FontLayout
:
Eegeo::NonCopyable
14
{
15
public
:
16
FontLayout
(
const
FontInstance
& fontInstance);
17
18
float
GetTextWidth(
const
char
* textUtf8,
size_t
bufferLen)
const
;
19
20
float
GetTextWidthUtf32(std::vector<u32>::const_iterator textUtf32Start, std::vector<u32>::const_iterator textUtf32End)
const
;
21
22
private
:
23
const
FontInstance
& m_fontInstance;
24
};
25
}
26
}
Generated on Sat Jun 10 2023 02:00:30 for eeGeo Platform SDK by
1.8.3.1