OEDrawCurvedRectangleΒΆ

void OEDrawCurvedRectangle(OEImageBase& image,
                           const OE2DPoint& tl, const OE2DPoint& br,
                           const OEPen& pen, double radius);

Draws a round rectangle with the given pen.

image
The image around which the border is drawn.
tl, br
The position of the top-left and bottom-right corner of the rectangle.
pen
The graphical properties of the border.
radius
The parameter that determines the roundedness of the corners of the rectangle.

See also