Was messing around a bit last night and was happil...
# compose-desktop
e
Was messing around a bit last night and was happily surprised that with just a few modifications Compose UI can be output via Skiko/Skia's SVG backend. Certain things like elevation shadows don't quite work, it appears, and
Icon(...)
composables will embed base64 bitmap data even with a
vectorPainter
, but it's still very neat to see how much of it does "just work".
mind blown 4
k
https://skia.org/docs/user/api/skcanvas_creation/ has more info, and things like SVG. PDF, and XPS are marked as experimental.
e
Yup, their experimental nature is an important call-out.
s
That is awesome, there is any code your can share?