** Function name: drawString (with or without user defined font) ** Description : draw string with padding if it is defined ***************************************************************************************/ Without font number, uses font set by setTextFont()
| 1601 | ***************************************************************************************/ |
| 1602 | // Without font number, uses font set by setTextFont() |
| 1603 | int16_t GxTFT::drawString(const String& string, int poX, int poY) |
| 1604 | { |
| 1605 | int16_t len = string.length() + 2; |
| 1606 | if (len <= 2) return 0; |
| 1607 | char buffer[len]; |
| 1608 | string.toCharArray(buffer, len); |
| 1609 | return drawString(buffer, poX, poY, textfont); |
| 1610 | } |
| 1611 | // With font number |
| 1612 | int16_t GxTFT::drawString(const String& string, int poX, int poY, int font) |
| 1613 | { |
nothing calls this directly
no outgoing calls
no test coverage detected