autoimport Cairo;

cr = new (500, 500);
set_source_rgb (cr, 0, 0, 0);
set_line_width (cr, 154.0);
set_line_join (cr, line_join_t.MITER);
set_miter_limit (cr, 100);
arc (cr, 250, 250, 157.0, 5.147, 3.432);
path_t[*] path = copy_path_flat (cr);
/*new_path (cr);
append_path (cr, path); */
rect_t extents = stroke_extents (cr);
stroke (cr);
rectangle (cr, extents.x, extents.y, extents.width, extents.height);
set_source_rgba (cr, 0, 0, .5, .5);
fill (cr);
