CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
MonoSurface.h File Reference

Offscreen 1-bpp Adafruit_GFX render target in PSRAM. More...

#include <cstddef>
#include <cstdint>
#include <Adafruit_GFX.h>

Go to the source code of this file.

Classes

class  cdc::ui::MonoSurface

Namespaces

namespace  cdc
namespace  cdc::ui
 Centralized key-code constants for cdc_views.

Detailed Description

Offscreen 1-bpp Adafruit_GFX render target in PSRAM.

Packed rows, MSB-first, a set bit is black (color != 0 draws black) - the shared bitmap layout of MonoBitmap, the QR raster and the thermo_print job format. Unlike GFXcanvas1 the buffer lives in PSRAM, where surfaces like a 384-px-wide print band belong.

Definition in file MonoSurface.h.