Unravel Engine C++ Reference
Loading...
Searching...
No Matches
font_manager.h File Reference
#include <bgfx/bgfx.h>
#include <bx/handlealloc.h>
#include <bx/string.h>

Go to the source code of this file.

Classes

struct  gfx::font_info
 
struct  gfx::glyph_info
 A structure that describe a glyph. More...
 
class  gfx::font_manager
 

Namespaces

namespace  gfx
 

Macros

#define MAX_OPENED_FILES   512
 
#define MAX_OPENED_FONT   512
 
#define FONT_TYPE_ALPHA   UINT32_C(0x00000100)
 
#define FONT_TYPE_DISTANCE   UINT32_C(0x00000400)
 
#define FONT_TYPE_DISTANCE_SUBPIXEL   UINT32_C(0x00000500)
 
#define FONT_TYPE_DISTANCE_OUTLINE   UINT32_C(0x00000600)
 
#define FONT_TYPE_DISTANCE_OUTLINE_IMAGE   UINT32_C(0x00001600)
 
#define FONT_TYPE_DISTANCE_DROP_SHADOW   UINT32_C(0x00002700)
 
#define FONT_TYPE_DISTANCE_DROP_SHADOW_IMAGE   UINT32_C(0x00003800)
 
#define FONT_TYPE_DISTANCE_OUTLINE_DROP_SHADOW_IMAGE   UINT32_C(0x00003900)
 
#define FONT_TYPE_MASK_DISTANCE_IMAGE   UINT32_C(0x00001000)
 
#define FONT_TYPE_MASK_DISTANCE_DROP_SHADOW   UINT32_C(0x00002000)
 

Typedefs

using gfx::code_point = uint32_t
 Unicode value of a character.
 

Macro Definition Documentation

◆ FONT_TYPE_ALPHA

#define FONT_TYPE_ALPHA   UINT32_C(0x00000100)

Definition at line 20 of file font_manager.h.

◆ FONT_TYPE_DISTANCE

#define FONT_TYPE_DISTANCE   UINT32_C(0x00000400)

Definition at line 23 of file font_manager.h.

◆ FONT_TYPE_DISTANCE_DROP_SHADOW

#define FONT_TYPE_DISTANCE_DROP_SHADOW   UINT32_C(0x00002700)

Definition at line 27 of file font_manager.h.

◆ FONT_TYPE_DISTANCE_DROP_SHADOW_IMAGE

#define FONT_TYPE_DISTANCE_DROP_SHADOW_IMAGE   UINT32_C(0x00003800)

Definition at line 28 of file font_manager.h.

◆ FONT_TYPE_DISTANCE_OUTLINE

#define FONT_TYPE_DISTANCE_OUTLINE   UINT32_C(0x00000600)

Definition at line 25 of file font_manager.h.

◆ FONT_TYPE_DISTANCE_OUTLINE_DROP_SHADOW_IMAGE

#define FONT_TYPE_DISTANCE_OUTLINE_DROP_SHADOW_IMAGE   UINT32_C(0x00003900)

Definition at line 29 of file font_manager.h.

◆ FONT_TYPE_DISTANCE_OUTLINE_IMAGE

#define FONT_TYPE_DISTANCE_OUTLINE_IMAGE   UINT32_C(0x00001600)

Definition at line 26 of file font_manager.h.

◆ FONT_TYPE_DISTANCE_SUBPIXEL

#define FONT_TYPE_DISTANCE_SUBPIXEL   UINT32_C(0x00000500)

Definition at line 24 of file font_manager.h.

◆ FONT_TYPE_MASK_DISTANCE_DROP_SHADOW

#define FONT_TYPE_MASK_DISTANCE_DROP_SHADOW   UINT32_C(0x00002000)

Definition at line 31 of file font_manager.h.

◆ FONT_TYPE_MASK_DISTANCE_IMAGE

#define FONT_TYPE_MASK_DISTANCE_IMAGE   UINT32_C(0x00001000)

Definition at line 30 of file font_manager.h.

◆ MAX_OPENED_FILES

#define MAX_OPENED_FILES   512

Definition at line 17 of file font_manager.h.

◆ MAX_OPENED_FONT

#define MAX_OPENED_FONT   512

Definition at line 18 of file font_manager.h.