using Luxor

struct SVG <: Drawable
    path::String
    scale::Float16
end

function SVG(
    path; 
    scale=1.0, 
    )
    SVG(
        path,
        scale,
    )
end

function draw(s::SVG, pos, cell_width; halign=:left, valign=:middle)
    @layer begin
        translate(pos)
        scale(s.scale, s.scale)
        placeimage(
            readsvg(s.path); 
            centered=true
        )
    end
end