library/src/FontType.cpp

21 lines
326 B
C++
Raw Normal View History

#include "FontType.h"
FontType::FontType(std::string name, int height, int width) {
this->name = std::move(name);
this->height = height;
this->width = width;
}
std::string FontType::getName() {
return name;
}
int FontType::getHeight() {
return height;
}
int FontType::getWidth() {
return width;
}