embedded-graphics / embedded-graphics/simulator

Offset display

Open
#64 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
137
Forks
25
PR merge metrics
No merged PRs in 30d

Description

I'm using two displays for my simulated application, one for an image (tinybmp) of the physical hardware and another for the rendered application screen.

I'm trying to align the application screen to the correct position over the tinybmp render of the hardware, but i'm struggling to do this. I've experimented with the Display, `translate`, `cropped` and `clipped` functions, but none really give the result I need.

I'm really just trying to adjust the rendering position of the display relative to the window origin. Is it possible?

Thanks!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.