Embedded SDK
Embedded SDK
Loading...
Searching...
No Matches
Public Attributes | List of all members
nbgl_font_t Struct Reference

structure defining an ASCII font More...

#include <nbgl_fonts.h>

Collaboration diagram for nbgl_font_t:
Collaboration graph
[legend]

Public Attributes

uint32_t bitmap_len
 Size in bytes of the associated bitmap.
 
uint8_t font_id
 ID of the font, from nbgl_font_id_e.
 
uint8_t bpp
 number of bits per pixels
 
uint8_t height
 height of all characters in pixels
 
uint8_t line_height
 height of a line for all characters in pixels
 
uint8_t char_kerning
 kerning for the font
 
uint8_t crop
 If false, x_min_offset+y_min_offset=bytes to skip.
 
uint8_t y_min
 Most top Y coordinate of any char in the font.
 
uint8_t first_char
 ASCII code of the first character in bitmap and in characters fields.
 
uint8_t last_char
 ASCII code of the last character in bitmap and in characters fields.
 
const nbgl_font_character_t *const characters
 array containing definitions of all characters
 
uint8_t const * bitmap
 array containing bitmaps of all characters
 

Detailed Description

structure defining an ASCII font

Definition at line 76 of file nbgl_fonts.h.

Member Data Documentation

◆ bitmap

uint8_t const* nbgl_font_t::bitmap

array containing bitmaps of all characters

Definition at line 91 of file nbgl_fonts.h.

◆ bitmap_len

uint32_t nbgl_font_t::bitmap_len

Size in bytes of the associated bitmap.

Definition at line 77 of file nbgl_fonts.h.

◆ bpp

uint8_t nbgl_font_t::bpp

number of bits per pixels

Definition at line 79 of file nbgl_fonts.h.

◆ char_kerning

uint8_t nbgl_font_t::char_kerning

kerning for the font

Definition at line 82 of file nbgl_fonts.h.

◆ characters

const nbgl_font_character_t* const nbgl_font_t::characters

array containing definitions of all characters

Definition at line 90 of file nbgl_fonts.h.

◆ crop

uint8_t nbgl_font_t::crop

If false, x_min_offset+y_min_offset=bytes to skip.

Definition at line 83 of file nbgl_fonts.h.

◆ first_char

uint8_t nbgl_font_t::first_char

ASCII code of the first character in bitmap and in characters fields.

Definition at line 86 of file nbgl_fonts.h.

◆ font_id

uint8_t nbgl_font_t::font_id

ID of the font, from nbgl_font_id_e.

Definition at line 78 of file nbgl_fonts.h.

◆ height

uint8_t nbgl_font_t::height

height of all characters in pixels

Definition at line 80 of file nbgl_fonts.h.

◆ last_char

uint8_t nbgl_font_t::last_char

ASCII code of the last character in bitmap and in characters fields.

Definition at line 88 of file nbgl_fonts.h.

◆ line_height

uint8_t nbgl_font_t::line_height

height of a line for all characters in pixels

Definition at line 81 of file nbgl_fonts.h.

◆ y_min

uint8_t nbgl_font_t::y_min

Most top Y coordinate of any char in the font.

Definition at line 84 of file nbgl_fonts.h.


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