skia-python / skia-python/skia-python
Some Canvas methods are missing
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 323
- Forks
- 52
- Avg merge
- 2h 29m
- Merged PRs (30d)
- 1
Description
Describe the bug
Method bindings are missing Canvas.drawDrawable, Canvas.drawImageLattice.
To Reproduce
canvas.drawDrawable throws an error.
Expected behavior
Bindings and tests should be properly implemented
Desktop (please complete the following information):
- OS: macOS 10.15.5
- Architecture x86_64
- Python 3.7
- skia-python version v0.0.5
Additional context
n/a
Contributor guide
No contributing guide indexed for this repository
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
Start by locating the Canvas binding entry points and the existing Canvas binding tests; the issue identifies Canvas.drawDrawable and Canvas.drawImageLattice as the missing methods. Compare nearby Canvas methods and run the relevant tests first, then confirm both methods are bound and covered by passing tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100