Skip to content

Implement dedicated corner radii for goocanvasrect.

Implement extra properties to the goocanvasrect object in order to allow managing uneven corner radius values.

Screenshot

Screenshot_from_2020-01-12_22-10-23

Code example

goo_canvas_rect_new (root, 100, 100, 400, 400,
				   "line-width", 10.0,
				   "radius-top-right", 60.0,
				   "radius-bottom-right", 30.0,
				   "radius-bottom-left", 15.0,
				   "radius-top-left", 10.0,
				   "stroke-color", "yellow",
				   "fill-color", "red",
				   NULL);

Fixes #3 (closed)

Edited by Alessandro Castellani

Merge request reports