Select normal or inverted text
| 350 | |
| 351 | // Select normal or inverted text |
| 352 | void Lcd::TextInvert(bool b) noexcept |
| 353 | { |
| 354 | if (b != textInverted) |
| 355 | { |
| 356 | textInverted = b; |
| 357 | if (!justSetCursor) |
| 358 | { |
| 359 | lastCharColData = (GetFontHeight() < 32) ? (1u << GetFontHeight()) - 1 : 0xFFFFFFFF; // force a space when switching between normal and inverted text |
| 360 | } |
| 361 | } |
| 362 | } |
| 363 | |
| 364 | // Draw a line using the Bresenham Algorithm (thanks Wikipedia) |
| 365 | void Lcd::Line(PixelNumber y0, PixelNumber x0, PixelNumber y1, PixelNumber x1, bool mode) noexcept |
no outgoing calls
no test coverage detected