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

4 releases (2 breaking)

0.3.0 Oct 17, 2024
0.2.0 Jul 8, 2024
0.1.1 May 5, 2024
0.1.0 May 5, 2024

#374 in Graphics APIs


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

~6–13MB
~181K SLoC