Adds a rounded rectangle to cr
's current path.
cr |
a cairo context |
rect |
a Rectangle to draw |
x_radius |
the radius of the corners on the X axis |
y_radius |
the radius of the corners on the Y axis |