Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Labels
LabelTextStyleFactory.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
6
#include "Labels.h"
7
#include "ILabelTextStyleFactory.h"
8
#include "Fonts.h"
9
#include "Types.h"
10
11
#include <string>
12
13
namespace
Eegeo
14
{
15
namespace
Labels
16
{
17
class
LabelTextStyleFactory
:
public
ILabelTextStyleFactory
,
private
Eegeo::NonCopyable
18
{
19
public
:
20
LabelTextStyleFactory
(
ILabelResourceFontBindingRepository
& labelResourceFontBindingRepository,
21
Fonts::IFontInstanceService
& fontInstanceService,
22
float
sizeScaleForProjection,
23
float
sizeScaleForPixelDensity);
24
25
LabelTextStyle
* Create(
const
LabelTextStyleDto
&
LabelTextStyleDto
);
26
private
:
27
const
Fonts::FontInstance
* GetFontInstance(
const
std::string& fontName);
28
29
ILabelResourceFontBindingRepository
& m_labelResourceFontBindingRepository;
30
Fonts::IFontInstanceService
& m_fontInstanceService;
31
const
float
m_sizeScaleForProjection;
32
const
float
m_sizeScaleForPixelDensity;
33
};
34
}
35
}
Generated on Sat Jun 10 2023 02:00:31 for eeGeo Platform SDK by
1.8.3.1