|
Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
|
#include <FontRuntime.hpp>
Static Public Attributes | |
| static constexpr std::size_t | SlotCount = 10 |
| static constexpr std::size_t | PresentationFaceLimit = 32 |
Definition at line 73 of file FontRuntime.hpp.
| monopoly::fonts::Runtime::Runtime | ( | ) |
Definition at line 186 of file FontRuntime.cpp.
| monopoly::fonts::Runtime::~Runtime | ( | ) |
Definition at line 191 of file FontRuntime.cpp.
| std::expected< void, Error > monopoly::fonts::Runtime::blitText | ( | data::LegacyBitmapRGBA8 & | destination, |
| std::string_view | utf8, | ||
| int | x, | ||
| int | y, | ||
| std::uint32_t | colorRef | ||
| ) | const |
Definition at line 612 of file FontRuntime.cpp.
| std::expected< void, Error > monopoly::fonts::Runtime::blitText | ( | data::LegacyBitmapRGBA8 & | destination, |
| std::u16string_view | utf16, | ||
| int | x, | ||
| int | y, | ||
| std::uint32_t | colorRef | ||
| ) | const |
Definition at line 697 of file FontRuntime.cpp.
Definition at line 357 of file FontRuntime.cpp.
| std::expected< Metrics, Error > monopoly::fonts::Runtime::measure | ( | std::u16string_view | utf16 | ) | const |
Definition at line 373 of file FontRuntime.cpp.
|
noexcept |
Definition at line 485 of file FontRuntime.cpp.
|
noexcept |
Definition at line 198 of file FontRuntime.cpp.
| std::expected< data::LegacyBitmapRGBA8, Error > monopoly::fonts::Runtime::render | ( | std::string_view | utf8, |
| std::uint32_t | colorRef, | ||
| bool | antialiased = false |
||
| ) | const |
Definition at line 528 of file FontRuntime.cpp.
| std::expected< data::LegacyBitmapRGBA8, Error > monopoly::fonts::Runtime::render | ( | std::u16string_view | utf16, |
| std::uint32_t | colorRef, | ||
| bool | antialiased = false |
||
| ) | const |
Definition at line 588 of file FontRuntime.cpp.
| std::expected< data::LegacyBitmapRGBA8, Error > monopoly::fonts::Runtime::renderClipped | ( | std::string_view | utf8, |
| std::uint32_t | colorRef, | ||
| ClipRect | clip, | ||
| bool | antialiased = false |
||
| ) | const |
Definition at line 596 of file FontRuntime.cpp.
| std::expected< data::LegacyBitmapRGBA8, Error > monopoly::fonts::Runtime::renderClipped | ( | std::u16string_view | utf16, |
| std::uint32_t | colorRef, | ||
| ClipRect | clip, | ||
| bool | antialiased = false |
||
| ) | const |
Definition at line 604 of file FontRuntime.cpp.
| std::expected< data::LegacyBitmapRGBA8, Error > monopoly::fonts::Runtime::renderPresentation | ( | std::string_view | utf8, |
| std::uint32_t | colorRef, | ||
| int | size, | ||
| int | weight, | ||
| bool | italic, | ||
| bool | underline = false, |
||
| bool | strikeOut = false, |
||
| bool | antialiased = true |
||
| ) |
Definition at line 491 of file FontRuntime.cpp.
| void monopoly::fonts::Runtime::resetCharacteristics | ( | ) |
Definition at line 302 of file FontRuntime.cpp.
Definition at line 326 of file FontRuntime.cpp.
Definition at line 321 of file FontRuntime.cpp.
Definition at line 312 of file FontRuntime.cpp.
| std::expected< void, Error > monopoly::fonts::Runtime::setFont | ( | const std::filesystem::path & | path, |
| std::string | familyName = {} |
||
| ) |
Definition at line 241 of file FontRuntime.cpp.
Definition at line 284 of file FontRuntime.cpp.
Definition at line 255 of file FontRuntime.cpp.
Definition at line 296 of file FontRuntime.cpp.
Definition at line 203 of file FontRuntime.cpp.
Definition at line 290 of file FontRuntime.cpp.
Definition at line 278 of file FontRuntime.cpp.
| std::expected< std::vector< std::string >, Error > monopoly::fonts::Runtime::wrap | ( | std::string_view | utf8, |
| int | width | ||
| ) | const |
Definition at line 380 of file FontRuntime.cpp.
|
staticconstexpr |
Definition at line 118 of file FontRuntime.hpp.
|
staticconstexpr |
Definition at line 76 of file FontRuntime.hpp.