library/src/FontType.cpp

26 lines
424 B
C++
Raw Normal View History

#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;
this->name = std::move(name);
this->height = height;
this->width = width;
}
2019-11-12 14:07:02 +01:00
int FontType::getId() const{
return id;
}
std::string FontType::getName() const{
return name;
}
2019-11-12 14:07:02 +01:00
int FontType::getHeight() const{
return height;
}
2019-11-12 14:07:02 +01:00
int FontType::getWidth() const{
return width;
}