// main.c #include <gtk/gtk.h> static void draw_round_rectangle (cairo_t * cr, double x, double y, double width, double height, double r) { cairo_move_to (cr, x + r, y); cairo_line_to (cr, x + width - r, y); cairo_move_to (cr, x + width, y + r); cai…