esp32-sk6812/include/Font.h
Thomas Kolb d5357b2021 Show IP address on startup
To accomplish this, the following changes were made:

- Added an image-scrolling animation
- Implemented a bitmap font engine to generate an image from text
- On startup, an image-scrolling animation is set up with an image
  generated from the local IP address
2019-12-23 19:56:33 +01:00

13 lines
280 B
C++

#pragma once
#include <Bitmap.h>
class Font
{
public:
static void textToBitmap(const char *text,
Bitmap *bmp,
const Fader::Color &color_on = Fader::Color{0, 0, 0, 32},
const Fader::Color &color_off = Fader::Color{0, 0, 0, 0});
};