26 lines
424 B
C++
26 lines
424 B
C++
#include "FontType.h"
|
|
|
|
|
|
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;
|
|
}
|
|
|
|
int FontType::getId() const{
|
|
return id;
|
|
}
|
|
|
|
std::string FontType::getName() const{
|
|
return name;
|
|
}
|
|
|
|
int FontType::getHeight() const{
|
|
return height;
|
|
}
|
|
|
|
int FontType::getWidth() const{
|
|
return width;
|
|
}
|