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:
- 14:a7640e7e9f80
- Parent:
- 13:9e6589dc8864
--- a/SPI_TFT_ILI9225.h Wed Nov 23 13:30:20 2016 +0000 +++ b/SPI_TFT_ILI9225.h Wed Nov 23 16:09:25 2016 +0000 @@ -396,6 +396,14 @@ */ void character(int x, int y, int c); + /** get string width + * + * @param string + * @return string width in pixels + * + */ + uint16_t getStringWidth(char * s); + /** Set text foreground color * * @param color