(bind-func xtm_draw_rounded_rect_varying_fill
(lambda (path x:i64 y:i64 w:i64 h:i64 rad_top_left:i64 rad_top_right:i64 rad_bottom_left:i64 rad_bottom_right:i64 paint:NVGpaint*)
(nvgBeginPath path)
(xtm_add_rounded_rect_varying path x y w h rad_top_left rad_top_right rad_bottom_left rad_bottom_right)
(xtm_fill path paint)))