aboutsummaryrefslogtreecommitdiff
path: root/src/platform/graphics/cairo/PangoFont.cpp
blob: f43b6c55717b76ada5e91986a55800100cfe9d96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "cru/platform/graphics/cairo/PangoFont.h"

namespace cru::platform::graphics::cairo {
PangoFont::PangoFont(CairoGraphicsFactory* factory, String font_family,
                     float font_size)
    : CairoResource(factory),
      font_family_(std::move(font_family)),
      font_size_(font_size) {}

PangoFont::~PangoFont() {}

String PangoFont::GetFontName() { return font_family_; }

float PangoFont::GetFontSize() { return font_size_; }
}  // namespace cru::platform::graphics::cairo