Uses the same fonts as the SPI_TFT_ILI9341 Library (I have many, and a html/php font editor for that)
Diff: SPI_TFT_ILI9225.h
- Revision:
- 7:2616ae4dd315
- Parent:
- 6:0f26c28b9bc0
- Child:
- 8:a569bc50b552
diff -r 0f26c28b9bc0 -r 2616ae4dd315 SPI_TFT_ILI9225.h --- a/SPI_TFT_ILI9225.h Wed Nov 23 10:15:47 2016 +0000 +++ b/SPI_TFT_ILI9225.h Wed Nov 23 11:05:33 2016 +0000 @@ -191,6 +191,20 @@ /// @param color 16-bit color void line(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, uint16_t color); + /// Draw hline, rectangle coordinates + /// @param x1 top left coordinate, x-axis + /// @param x2 bottom right coordinate, x-axis + /// @param y2 bottom right coordinate, y-axis + /// @param color 16-bit color + void hline(uint16_t x0, uint16_t x1, uint16_t y, uint16_t color); + + /// Draw vline, rectangle coordinates + /// @param x1 top left coordinate, x-axis + /// @param y1 top left coordinate, y-axis + /// @param y2 bottom right coordinate, y-axis + /// @param color 16-bit color + void vline(uint16_t x, uint16_t y0, uint16_t y1, uint16_t color); + /// Draw rectangle, rectangle coordinates /// @param x1 top left coordinate, x-axis /// @param y1 top left coordinate, y-axis