#2d #canvas #skia #2d-rendering

no-std ruisa

A light-weighted 2D graphic library

1 unstable release

0.0.1 May 19, 2023

#37 in #skia

BSD-3-Clause

660KB
15K SLoC

Ruisa

Rust 1.57+

Ruisa is a light-weighted 2D graphic library for drawing Text(developing), Geometries, and Images. Ruisa implment in pure rust.

This is a fork of the tiny-skia crate. We make the interface more friendly. The image library is used to handle image formats.

License

The same as used by Skia: New BSD License


lib.rs:

tiny-skia is a tiny Skia subset ported to Rust.

tiny-skia API is a bit unconventional. It doesn't look like cairo, QPainter (Qt), HTML Canvas or even Skia itself. Instead, tiny-skia provides a set of low-level drawing APIs and a user should manage the world transform, clipping mask and style manually.

See the examples/ directory for usage examples.

Dependencies

~5MB
~65K SLoC