CYD-UI
A C++ library for building native graphic user interfaces
Loading...
Searching...
No Matches
font.cppm
Go to the documentation of this file.
1// Copyright (c) 2024, Víctor Castillo Agüero.
2// SPDX-License-Identifier: GPL-3.0-or-later
3
4export module cydui.graphics.types:font;
5
6import std;
7
8// #include <cyd_fabric/templates/template_str_buffer.h>
9
10export namespace cydui::graphics::font {
11 struct Font {
12 std::string name;
13 int size;
14
15 bool antialias = true;
16 bool autohint = true;
17 };
18
19 //template<template_str_buffer data>
20 //consteval inline Font operator ""_font() {
21 //
22 // return {.hex = data.data};
23 //}
24 //
25}