Newer
Older
ubScopin / src / text.h
@Christopher W. Olsen Christopher W. Olsen on 16 May 2019 297 bytes Start
#pragma once

#include <inttypes.h>

#define TEXT_CHARWIDTH 6
#define TEXT_CHARHEIGHT 9

class Text {
private:
    uint8_t text_angle;
public:
    void Char(uint8_t c, int ox, int oy, int16_t scale);
    void Str(const char *s, int16_t scale, uint8_t angle);
};

extern Text text;