|
Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
|
Classes | |
| struct | ClipRect |
| struct | Error |
| struct | Metrics |
| class | Runtime |
| struct | Settings |
Enumerations | |
| enum class | ErrorCode { TtfInitFailed , FontNotFound , FontOpenFailed , InvalidSize , InvalidSlot , MeasureFailed , RenderFailed , SurfaceConversionFailed , InvalidTextEncoding } |
Functions | |
| std::expected< std::string, Error > | transcodeUtf8 (std::u16string_view text) |
| std::expected< std::string, Error > | transcodeUtf8 (std::wstring_view text) |
| std::expected< std::filesystem::path, Error > | resolveRetailArial (std::span< const std::filesystem::path > roots) |
|
strong |
| Enumerator | |
|---|---|
| TtfInitFailed | |
| FontNotFound | |
| FontOpenFailed | |
| InvalidSize | |
| InvalidSlot | |
| MeasureFailed | |
| RenderFailed | |
| SurfaceConversionFailed | |
| InvalidTextEncoding | |
Definition at line 21 of file FontRuntime.hpp.
| std::expected< std::filesystem::path, Error > monopoly::fonts::resolveRetailArial | ( | std::span< const std::filesystem::path > | roots | ) |
Definition at line 707 of file FontRuntime.cpp.
| std::expected< std::string, Error > monopoly::fonts::transcodeUtf8 | ( | std::u16string_view | text | ) |
Definition at line 131 of file FontRuntime.cpp.
| std::expected< std::string, Error > monopoly::fonts::transcodeUtf8 | ( | std::wstring_view | text | ) |
Definition at line 136 of file FontRuntime.cpp.