Skip to main content

Crate zest_simulator

Crate zest_simulator 

Source
Expand description

Desktop simulator Platform for zest.

Shapes are rendered with anti-aliasing via tiny-skia into an RGBA pixmap, then converted to RGB565 for the SDL2-backed embedded-graphics-simulator window. Text stays pixel-perfect (bitmap MonoFont) to match the on-device look.

Structs§

SimulatorPlatform
Platform implementation backed by SDL2.
SimulatorPlatformBuilder
Configurable builder for SimulatorPlatform.

Constants§

DEFAULT_HEIGHT
Default display height — matches the CYD R3 panel.
DEFAULT_PIXEL_SPACING
Default per-pixel gap. Anti-aliased rendering supplies its own smoothness, so the default is 0 (sharp upscale).
DEFAULT_POLL_MS
Default event-poll interval in milliseconds (≈ 60 fps).
DEFAULT_SCALE
Default window scaling factor.
DEFAULT_WIDTH
Default display width — matches the CYD R3 panel.