(piet-common) Creating BitmapTarget from an existing context
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.4k
- Forks
- 98
- PR merge metrics
- No merged PRs in 30d
Description
For `resvg`, I need an ability to init a common backend from an existing pointer. This is required to implement an ability to render stuff on native widgets. So I have a `cairo_t *` or `QPainter *` and I have to render on them.
Is this planned?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names piet-common and BitmapTarget but does not identify files, tests, or an implementation entry point. Start by locating the common backend initialization and BitmapTarget APIs, then determine how an existing cairo_t or QPainter could be wrapped; done would require a decided API and confirmed native-widget rendering support.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100