linebender / linebender/tiny-skia

Support subpixel pattern tile offsets

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

Nobody has claimed this yet.

Dominant language
Rust
Stars
1.6k
Forks
99
Avg merge
2h 52m
Merged PRs (30d)
1

Description

Currently, patterns can be tiled only using integer offsets.

Have to figure out if this is a Skia limitation to begin with and if not then implement it in tiny-skia as well.

We basically need `xStep`/`yStep` from [CGPattern](https://developer.apple.com/documentation/coregraphics/cgpattern/1454997-init).

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 determining whether Skia supports subpixel pattern tile offsets and compare the required xStep/yStep behavior with the linked CGPattern documentation. If it is supported, implement the equivalent behavior in tiny-skia; the work is done when patterns can be tiled with subpixel offsets rather than only integer offsets.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.