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
5
6#include <string>
7
9{
10public:
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_ */
Definition IFontManager.hpp:9
virtual void setWeightFont(iv::eFontWeight fontWeight)=0
virtual void getSize(const std::string &text, double heightCharacter, double *widthText, double *heightText) const =0
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
virtual ~IFontManager()=default
eFontWeight
Definition enums.hpp:87