23 lines
339 B
C++
23 lines
339 B
C++
|
|
#include <string>
|
|
#include <utility>
|
|
#include "Font.h"
|
|
|
|
Font::Font(std::string name, int height, int width) {
|
|
this->name = std::move(name);
|
|
this->height = height;
|
|
this->width = width;
|
|
}
|
|
|
|
std::string Font::getName() {
|
|
return name;
|
|
}
|
|
|
|
int Font::getHeight() {
|
|
return height;
|
|
}
|
|
|
|
int Font::getWidth() {
|
|
return width;
|
|
}
|