Set the right margin. In graphics mode, anything written will be truncated at the right margin. Defaults to the right hand edge of the display.
| 335 | |
| 336 | // Set the right margin. In graphics mode, anything written will be truncated at the right margin. Defaults to the right hand edge of the display. |
| 337 | void Lcd::SetRightMargin(PixelNumber r) noexcept |
| 338 | { |
| 339 | rightMargin = min<PixelNumber>(r, numCols); |
| 340 | } |
| 341 | |
| 342 | // Clear a rectangle from the current position to the right margin. The height of the rectangle is the height of the current font. |
| 343 | void Lcd::ClearToMargin() noexcept |
no outgoing calls
no test coverage detected