Test for STM32F4
Fork of RGB_OLED_SSD1331 by
Diff: include/SGL.h
- Revision:
- 13:8dd215952d76
- Parent:
- 11:162aa3e801df
- Child:
- 15:c49040bf0e1d
diff -r 8e27450eb391 -r 8dd215952d76 include/SGL.h --- a/include/SGL.h Wed Nov 18 23:32:15 2015 +0000 +++ b/include/SGL.h Thu Dec 03 21:48:11 2015 +0000 @@ -51,8 +51,8 @@ virtual void fillRect(T x, T y, T width, T height, uint16_t color); virtual void drawCircle(T x, T y, T r, uint16_t color); virtual void fillCircle(T x, T y, T r, uint16_t color); - virtual void drawTraingle(T x0, T y0, T x1, T y1, T x2, T y2, uint16_t color); - virtual void fillTraingle(T x0, T y0, T x1, T y1, T x2, T y2, uint16_t color); + virtual void drawTriangle(T x0, T y0, T x1, T y1, T x2, T y2, uint16_t color); + virtual void fillTriangle(T x0, T y0, T x1, T y1, T x2, T y2, uint16_t color); // The zoom factor works at the moment only with integer values. Float values will create bad fonts virtual void drawChar(uint8_t ascii, T x, T y, uint16_t color, float zoom=1);