Nix (Dev)
3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
IFontManager.hpp
Go to the documentation of this file.
1
#ifndef LIBS_GRAPHICS_IFONTMANAGER_HPP_
2
#define LIBS_GRAPHICS_IFONTMANAGER_HPP_
3
4
#include "
core/CEnumCommon.hpp
"
5
6
#include <string>
7
8
class
IFontManager
9
{
10
public
:
11
virtual
~IFontManager
() =
default
;
12
13
virtual
void
getCoordCornerLeftDown
(
const
std::string &text,
double
x,
double
y,
double
heightCharacter,
14
unsigned
char
justify,
double
*xCornerLeftDown,
double
*yCornerLeftDown,
15
double
*widthTextOpt,
double
*heightTextOpt)
const
= 0;
16
virtual
void
getSize
(
const
std::string &text,
double
heightCharacter,
double
*widthText,
17
double
*heightText)
const
= 0;
18
19
virtual
void
setWeightFont
(
iv::eFontWeight
fontWeight) = 0;
20
};
21
22
#endif
/* LIBS_GRAPHICS_IFONTMANAGER_HPP_ */
CEnumCommon.hpp
IFontManager
Definition
IFontManager.hpp:9
IFontManager::setWeightFont
virtual void setWeightFont(iv::eFontWeight fontWeight)=0
IFontManager::getSize
virtual void getSize(const std::string &text, double heightCharacter, double *widthText, double *heightText) const =0
IFontManager::getCoordCornerLeftDown
virtual void getCoordCornerLeftDown(const std::string &text, double x, double y, double heightCharacter, unsigned char justify, double *xCornerLeftDown, double *yCornerLeftDown, double *widthTextOpt, double *heightTextOpt) const =0
IFontManager::~IFontManager
virtual ~IFontManager()=default
iv::eFontWeight
eFontWeight
Definition
enums.hpp:87
src
ui
graphics
IFontManager.hpp
Generated by
1.12.0