45 #ifndef AGS_SHARED_FONT_WFN_FONT_H 46 #define AGS_SHARED_FONT_WFN_FONT_H 48 #include "common/std/vector.h" 49 #include "ags/shared/core/types.h" 62 kWFNErr_BadTableAddress,
63 kWFNErr_HasBadCharacters
73 inline size_t GetRowByteCount()
const {
74 return (Width + 7) / 8;
77 inline size_t GetRequiredPixelSize()
const {
78 return GetRowByteCount() * Height;
82 void RestrictToBytes(
size_t bytes);
88 inline uint16_t GetCharCount()
const {
89 return static_cast<uint16_t
>(_refs.size());
93 const WFNChar &GetChar(uint16_t code)
const;
Definition: achievements_tables.h:27
Definition: wfn_font.h:66
Definition: wfn_font.h:86