wren
Vulkan-based game engine
Loading...
Searching...
No Matches
font.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <array>
4
#include <filesystem>
5
#include <string_view>
6
#include <wren/utils/errors.hpp>
7
8
namespace
wren::text
{
9
10
static
constexpr
std::array
DEFAULT_FONTS
= {
11
std::string_view{
"Canterlla Regular"
},
12
};
13
14
auto
load_default_font
() ->
wren::expected<std::filesystem::path>
;
15
16
}
// namespace wren::text
wren::text
Definition
font.hpp:8
wren::text::load_default_font
auto load_default_font() -> wren::expected< std::filesystem::path >
Definition
font.cpp:11
wren::text::DEFAULT_FONTS
static constexpr std::array DEFAULT_FONTS
Definition
font.hpp:10
wren::expected
std::expected< T, Err > expected
Definition
result.hpp:49
wren_text
include
wren_text
font.hpp
Generated by
1.10.0