neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::glyph_char Struct Reference

#include <glyph_text.hpp>

Public Types

enum  flags_e : uint8_t {
  Default = 0x00 , Underline = 0x01 , Superscript = 0x02 , Subscript = 0x04 ,
  BelowAscenderLine = 0x08 , AboveBaseline = 0x08 , Mnemonic = 0x40 , Subpixel = 0x80
}
 
using value_type = std::uint32_t
 
using cluster_index = std::uint32_t
 
using cluster_range = std::pair< cluster_index, cluster_index >
 

Public Attributes

value_type value
 
cluster_range clusters
 
character_type type
 
flags_e flags
 
font_id font
 
quadf_2d cell
 
quadf_2d shape
 

Detailed Description

Definition at line 75 of file glyph_text.hpp.

Member Typedef Documentation

◆ cluster_index

using neogfx::glyph_char::cluster_index = std::uint32_t

Definition at line 78 of file glyph_text.hpp.

◆ cluster_range

Definition at line 79 of file glyph_text.hpp.

◆ value_type

using neogfx::glyph_char::value_type = std::uint32_t

Definition at line 77 of file glyph_text.hpp.

Member Enumeration Documentation

◆ flags_e

Enumerator
Default 
Underline 
Superscript 
Subscript 
BelowAscenderLine 
AboveBaseline 
Mnemonic 
Subpixel 

Definition at line 80 of file glyph_text.hpp.

Member Data Documentation

◆ cell

quadf_2d neogfx::glyph_char::cell

Definition at line 97 of file glyph_text.hpp.

◆ clusters

cluster_range neogfx::glyph_char::clusters

Definition at line 93 of file glyph_text.hpp.

◆ flags

flags_e neogfx::glyph_char::flags

Definition at line 95 of file glyph_text.hpp.

◆ font

font_id neogfx::glyph_char::font

Definition at line 96 of file glyph_text.hpp.

◆ shape

quadf_2d neogfx::glyph_char::shape

Definition at line 98 of file glyph_text.hpp.

◆ type

character_type neogfx::glyph_char::type

Definition at line 94 of file glyph_text.hpp.

◆ value

value_type neogfx::glyph_char::value

Definition at line 92 of file glyph_text.hpp.


The documentation for this struct was generated from the following file: