points[0].x = points[5].x = right; points[0].y = points[1].y = y; points[1].x = right-shift; points[2].x = points[3].x = x; points[2].y = bottom - shift; points[3].y = points[4].y = bottom; points[4].x = x + shift; points[5].y = y + shift; gdk_draw_polygon(window->g_ornament, gc, TRUE, points, 6); points[0].x = points[1].x = x; points[0].y = points[5].y = y; points[1].y = y + shift; points[2].x = right - shift; points[2].y = points[3].y = bottom; points[3].x = points[4].x = right; points[4].y = bottom - shift; points[5].x = x + shift; gdk_draw_polygon(window->g_ornament, gc, TRUE, points, 6);