Embedded SDK
Embedded SDK
Loading...
Searching...
No Matches
Classes | Macros | Functions
nbgl_draw.h File Reference

Middle Level API of the new BOLOS Graphical Library. More...

#include "nbgl_types.h"
#include "nbgl_fonts.h"
Include dependency graph for nbgl_draw.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  character_info_t
 

Macros

#define QR_V4_NB_PIX_SIZE   33
 
#define QR_V10_NB_PIX_SIZE   57
 
#define QR_MAX_PIX_SIZE   QR_V10_NB_PIX_SIZE
 

Functions

void nbgl_drawIcon (nbgl_area_t *area, nbgl_transformation_t transformation, nbgl_color_map_t color_map, const nbgl_icon_details_t *icon)
 
void nbgl_drawRoundedRect (const nbgl_area_t *area, nbgl_radius_t radius, color_t innerColor)
 
void nbgl_drawRoundedBorderedRect (const nbgl_area_t *area, nbgl_radius_t radius, uint8_t stroke, color_t innerColor, color_t borderColor)
 
nbgl_font_id_e nbgl_drawText (const nbgl_area_t *area, const char *text, uint16_t textLen, nbgl_font_id_e fontId, color_t fontColor)
 
void nbgl_drawQrCode (const nbgl_area_t *area, nbgl_qrcode_version_t version, const char *text, color_t backgroundColor)
 

Detailed Description

Middle Level API of the new BOLOS Graphical Library.

Definition in file nbgl_draw.h.

Macro Definition Documentation

◆ QR_MAX_PIX_SIZE

#define QR_MAX_PIX_SIZE   QR_V10_NB_PIX_SIZE

Definition at line 25 of file nbgl_draw.h.

◆ QR_V10_NB_PIX_SIZE

#define QR_V10_NB_PIX_SIZE   57

Definition at line 24 of file nbgl_draw.h.

◆ QR_V4_NB_PIX_SIZE

#define QR_V4_NB_PIX_SIZE   33

Definition at line 23 of file nbgl_draw.h.

Function Documentation

◆ nbgl_drawIcon()

void nbgl_drawIcon ( nbgl_area_t area,
nbgl_transformation_t  transformation,
nbgl_color_map_t  color_map,
const nbgl_icon_details_t icon 
)

◆ nbgl_drawQrCode()

void nbgl_drawQrCode ( const nbgl_area_t area,
nbgl_qrcode_version_t  version,
const char *  text,
color_t  backgroundColor 
)

◆ nbgl_drawRoundedBorderedRect()

void nbgl_drawRoundedBorderedRect ( const nbgl_area_t area,
nbgl_radius_t  radius,
uint8_t  stroke,
color_t  innerColor,
color_t  borderColor 
)

◆ nbgl_drawRoundedRect()

void nbgl_drawRoundedRect ( const nbgl_area_t area,
nbgl_radius_t  radius,
color_t  innerColor 
)

◆ nbgl_drawText()

nbgl_font_id_e nbgl_drawText ( const nbgl_area_t area,
const char *  text,
uint16_t  textLen,
nbgl_font_id_e  fontId,
color_t  fontColor 
)