C++ DevKit
C++ set of OOP library
Loading...
Searching...
No Matches
widget_primitives.h File Reference

Basic drawing primitives for widgets. More...

#include "canvas.h"
#include <cstdlib>
#include <cstring>
#include "font/5x8_font.h"
#include "font/8x8_font.h"
#include "font/12x16_font.h"
#include "font/16x32_font.h"
#include <cstdint>
Include dependency graph for widget_primitives.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GraphicDrawer
 A class that implements basic graphic drawing primitives for widgets. More...
 
class  TextWriter
 A class dedicated to text drawing within a widget. More...
 

Macros

#define SSD1306_ASCII_FULL
 flag used to generate 127 character font or full extended 255 character font.
 
#define BACKSPACE   '\b'
 character code for BACKSPACE ('BS', 0x08)
 
#define HORIZONTAL_TAB   '\t'
 character code for HORIZONTAL_TAB ('HT', 0x09)
 
#define LINE_FEED   '\n'
 character code for LINE_FEED ('LF', 0x0A)
 
#define VERTICAL_TAB   '\v'
 character code for VERTICAL_TAB ('VT', 0x0B)
 
#define FORM_FEED   '\f'
 character code for FORM_FEED ('FF', 0x0C)
 
#define CARRIAGE_RETURN   '\r'
 character code for CARRIAGE_RETURN ('CR', 0x0D)
 

Detailed Description

Basic drawing primitives for widgets.

Author
xiansnn (xians.nosp@m.nn@h.nosp@m.otmai.nosp@m.l.co.nosp@m.m)
Version
0.1
Date
2025-12-10

Macro Definition Documentation

◆ SSD1306_ASCII_FULL

#define SSD1306_ASCII_FULL

flag used to generate 127 character font or full extended 255 character font.

Note
Must be placed before include "...font..."