[previous] [up] [next]     [index]
Next: draw-spline Up: dc<> Previous: draw-rectangle

draw-rounded-rectangle

Draws a rectangle with rounded corners. The current pen is used for the outline and the current brush for filling the shape.

If both the pen and brush are non-transparent, the rectangle is filled with the brush before the outline is drawn with the pen. The filling and outline meet so that no space is left between them, but the precise overlap between the filling and outline is platform- and size-specific. Thus, the regions drawn by the brush and pen may partially overlap.



PLT