2019-11-07 16:34:15 +01:00
|
|
|
#include "FontType.h"
|
|
|
|
|
|
|
|
|
2019-11-12 14:07:02 +01:00
|
|
|
FontType::FontType(int id, std::string name, int height, int width) noexcept {
|
|
|
|
this->id = id;
|
2019-11-07 17:35:30 +01:00
|
|
|
this->name = std::move(name);
|
|
|
|
this->height = height;
|
|
|
|
this->width = width;
|
2019-11-07 16:34:15 +01:00
|
|
|
}
|
|
|
|
|
2019-11-12 14:07:02 +01:00
|
|
|
int FontType::getId() const{
|
|
|
|
return id;
|
|
|
|
}
|
|
|
|
|
|
|
|
std::string FontType::getName() const{
|
2019-11-07 17:35:30 +01:00
|
|
|
return name;
|
2019-11-07 16:34:15 +01:00
|
|
|
}
|
|
|
|
|
2019-11-12 14:07:02 +01:00
|
|
|
int FontType::getHeight() const{
|
2019-11-07 17:35:30 +01:00
|
|
|
return height;
|
2019-11-07 16:34:15 +01:00
|
|
|
}
|
|
|
|
|
2019-11-12 14:07:02 +01:00
|
|
|
int FontType::getWidth() const{
|
2019-11-07 17:35:30 +01:00
|
|
|
return width;
|
2019-11-07 16:34:15 +01:00
|
|
|
}
|