|
| void | Clear (Color565 color) noexcept |
| |
| void | SetPixel (uint8_t x, uint8_t y, Color565 color) noexcept |
| |
| Color565 | GetPixel (uint8_t x, uint8_t y) const noexcept |
| |
| void | DrawHLine (uint8_t x0, uint8_t x1, uint8_t y, Color565 color) noexcept |
| |
| void | DrawVLine (uint8_t x, uint8_t y0, uint8_t y1, Color565 color) noexcept |
| |
| void | DrawRect (const Rect &rect, Color565 color) noexcept |
| |
| void | FillRect (const Rect &rect, Color565 color) noexcept |
| |
| void | DrawChar (uint8_t x, uint8_t y, char ch, Color565 color, Color565 bg=colors::Black) noexcept |
| |
| void | DrawString (uint8_t x, uint8_t y, const char *text, Color565 color, Color565 bg=colors::Black) noexcept |
| |
| void | BlitRgb565 (uint8_t x, uint8_t y, uint8_t src_width, uint8_t src_height, const Color565 *src) noexcept |
| |
| uint8_t | Width () const noexcept |
| |
| uint8_t | Height () const noexcept |
| |
| std::size_t | ByteSize () const noexcept |
| |
| const Color565 * | Data () const noexcept |
| |
| Color565 * | Data () noexcept |
| |
| GraphicsBackend | Backend () const noexcept |
| |
template<typename Derived>
class isf15acp4::GraphicsSurface< Derived >
CRTP interface every graphics backend must implement.
Backends share a common drawing vocabulary so application code can target SmartDisplay with any engine selected at construction time.
- Template Parameters
-
| Derived | Concrete backend (Canvas, HardwareDirectSurface, AnimatorSurface). |