skia-python / skia-python/skia-python

Some Canvas methods are missing

Open
#88 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.