#/* a custom shape, that could be wrapped in a function */ x0 = 0.1 #/*< parameters like cairo_rectangle */ y0 = 0.1 rect_width = 0.8 rect_height = 0.8 radius = 0.4 #/*< and an approximate curvature radius */ snippet_normalize (cr, width, height) x1=x0+rect_width y1=y0+rect_height #if (!rect_width || !rect_height) # return if rect_width/2