#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.

3 unstable releases

0.2.0 Jul 8, 2024
0.1.1 May 5, 2024
0.1.0 May 5, 2024

#189 in Graphics APIs

Download history 93/week @ 2024-04-29 131/week @ 2024-05-06 10/week @ 2024-05-20 9/week @ 2024-05-27 4/week @ 2024-06-03 4/week @ 2024-06-10 124/week @ 2024-07-08

125 downloads per month
Used in kindling

MIT license

51KB
414 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
~222K SLoC