mirror of
https://github.com/olikraus/u8g2.git
synced 2026-07-27 20:05:57 +00:00
added drawHB to cpp code, #2656
This commit is contained in:
+1
-1
@@ -306,7 +306,7 @@ u8g2_uint_t u8g2_GetUTF8Width(u8g2_t *u8g2, const char *str);
|
||||
int8_t getXOffsetGlyph(uint16_t encoding) { return u8g2_GetXOffsetGlyph(&u8g2, encoding); }
|
||||
int8_t getXOffsetUTF8(const char *utf8) { return u8g2_GetXOffsetUTF8(&u8g2, utf8); }
|
||||
|
||||
|
||||
void drawHB(u8g2_uint_t x, u8g2_uint_t y, const unsigned char *data) { return u8g2_DrawHB(&u8g2, x, y, data); }
|
||||
|
||||
// not required any more, enable UTF8 for print
|
||||
//void printUTF8(const char *s) { tx += u8g2_DrawUTF8(&u8g2, tx, ty, s); }
|
||||
|
||||
@@ -1951,6 +1951,9 @@ void u8g2_SetFontRefHeightText(u8g2_t *u8g2);
|
||||
void u8g2_SetFontRefHeightExtendedText(u8g2_t *u8g2);
|
||||
void u8g2_SetFontRefHeightAll(u8g2_t *u8g2);
|
||||
|
||||
void u8g2_DrawHB(u8g2_t *u8g2, u8g2_uint_t x, u8g2_uint_t y, const unsigned char *data);
|
||||
|
||||
|
||||
/*==========================================*/
|
||||
/* u8log_u8g2.c */
|
||||
void u8g2_DrawLog(u8g2_t *u8g2, u8g2_uint_t x, u8g2_uint_t y, u8log_t *u8log);
|
||||
|
||||
@@ -1593,6 +1593,9 @@ void u8g2_SetFontDirection(u8g2_t *u8g2, uint8_t dir)
|
||||
Limitation:
|
||||
Glyph delta must be lower than 128, this bascially means, that the glyph size is limited to
|
||||
hight/width of 128 pixel
|
||||
|
||||
Further details:
|
||||
https://github.com/olikraus/u8g2/issues/2656
|
||||
|
||||
*/
|
||||
void u8g2_DrawHB(u8g2_t *u8g2, u8g2_uint_t x, u8g2_uint_t y, const unsigned char *data)
|
||||
|
||||
Reference in New Issue
Block a user