tiny-skia
tiny-skia copied to clipboard
A tiny Skia subset ported to Rust
I have a task that creates a vertical stack of animation frames, where each frame is rendered separately. If I had a separate PixmapMut for each frame, then I'd be...
The documentation claims that this function: > Converts into an IntRect rounding outwards. However, the following code prints `Some(IntRect { x: 1, y: 1, width: 2, height: 2 })` which...
This allows you to get `PixmapMut`s all the way down, which can simplify structs and function signatures. This also adds `PixmapRef::as_ref` for parity, which is just a `Copy` alias.
In `@gfx/canvas` there is a method called `arcTo`, which can help me drawing rounded triangle: ```ts ctx.arcTo(350, 0, 350, 128, 50); ``` But seems that there is no similar method...
Is there any way to use the winding fill rule without reimplementing push_circle and the other convenience methods which do not allow one to specify the winding?
This is small patch to fix quality issues when scaling images down. It'll create a number of mipmap/half-scaled versions of a given source as required and use the next largest...
In my use case, there is a large number of trajectory points to be rendered. I noticed that setting the stroke width to 2 results in significantly slower rendering speed...
There are several APIs that could be made public to improve usability. For example, `PathBuilder::cubic_to_pt` is currently `pub(crate)`, but it's particularly convenient when the control points are the results of...
Should help with https://github.com/linebender/resvg/issues/852 Also updated ubuntu image to restoreCI for aarch64 and wasm