#egui #skia #skia-safe

smol_egui_skia

smol_egui_skia is a skia integration for the egui ui library. It differs from the egui_skia library in that it is NOT intended to allow you to create _ui applications_ that render egui UIs with skia, rather just render images using egui as layout engine.

2 releases

0.1.1 May 5, 2024
0.1.0 May 5, 2024

#186 in Graphics APIs

Download history 220/week @ 2024-05-05 4/week @ 2024-05-12 10/week @ 2024-05-19

234 downloads per month
Used in kindling

MIT license

23KB
412 lines

smol egui skia

This is a drawing backend for egui that uses skia-safe. This library is NOT intended to enable interactive UI applications, it is only intended to allow for the creation of raster images using egui as layout engine. It is a fork of egui_skia, which is a full-featured interactive UI library.

Run the examples

cargo run --example rasterize --features cpu_fix

Status

Rendering on the gpu works great, only the dancing strings example doesn't work for some reason.

For rendering on the cpu to look correct, the cpu_fix feature needs to be enabled. See https://github.com/lucasmerlin/egui_skia/issues/1 for more information.

Dependencies

~8–16MB
~220K SLoC