PdfDrawable
Lazily-loaded drawable that can be embedded in a PdfKmp document regardless of whether the source resource is XML (parsed into a VectorImage) or a raster bitmap (kept as raw bytes for the platform decoder).
Produce one with DrawableResource.toPdfDrawable — that helper sniffs the file's leading bytes and picks the right variant, so the call site never has to know whether the asset is a <vector> / <svg> XML or a PNG / JPEG / WEBP. Hand the result to drawable(...) inside the DSL and it dispatches to vector(...) or image(...) accordingly.