[Solved] Curved corners to a rectangle?

Discuss the drawing application
Post Reply
satyendra
Posts: 2
Joined: Tue Apr 22, 2008 1:57 pm

[Solved] Curved corners to a rectangle?

Post by satyendra »

Is it possible to give Curved corners to a rectangle? I used to do it in Corel Draw.
Will be grateful for any help..
sachin
Last edited by Hagar Delest on Mon Jun 09, 2008 10:12 pm, edited 2 times in total.
Reason: tagged the thread as Solved.
User avatar
Hagar Delest
Moderator
Posts: 33643
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Curved corners to a rectangle?

Post by Hagar Delest »

Like this?
rounded corners.png
rounded corners.png (6.59 KiB) Viewed 55624 times
Thanks to add '[Solved]' at beginning of your first post title (edit button) if your issue has been fixed.
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE 7 Gigi) and 25.2 portable on Windows 11.
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Curved corners to a rectangle?

Post by acknak »

Hagar's suggestion uses a special "smart" shape, which can have some down sides.

You can also set rounded corners on any plain rectangle object: (Right-click) > Position and Size > Slant and Corner Radius. You have to adjust the radius by entering a number, which is a bit of a nuisance, but it is there.
AOO4/LO5 • Linux • Fedora 23
satyendra
Posts: 2
Joined: Tue Apr 22, 2008 1:57 pm

Re:( FIXED )Curved corners to a rectangle?

Post by satyendra »

Thanks Friends!
I am discovering that to keep oneself young, one should give up 'trusted' programs up regularly!
Thanks for the help!
sachin
rf99
Posts: 1
Joined: Tue Apr 29, 2008 9:39 pm

One/two/three curved corner(s) on a rectangle?

Post by rf99 »

To have a rectangle with one, two or three curved corners, rather than 4, I use the following procedure.
1) Draw the rectangle.
2) Set all four corners to the desired radius for the majority of the corners.
- Right click on the rectangle, "Position and Size" -> "Slant & Corner Radius"
- "Corner Radius" -> "Radius" -> to the desired radius
3) Turn on edit points
- Right click on the rectangle, "Edit Points"
4) Convert the rounded rectangle to a "curve"
- Right click on the rectangle, "Convert" -> "To Curve"
5) Select the rectangle
6) The four rounded corners are now shown with the handles for Bezier curves.
- Adjust the Bezier curve handles for the desired corner radius
- For square corners, align the three Bezier curve handles over the point where the corner is desired. This is somewhat iterative as OOo make some assumptions about the use of Bezier curves.
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: [Solved] Curved corners to a rectangle?

Post by acknak »

Very nice, but it seems like you're still doing it the hard way.

Try this:
1) Create a rectangle
2) Copy to clipboard
3) Set the corner radius; this affects all four corners
4) Paste the original sharp rectangle; it will align perfectly over the rounded one.
5) Grab the sharp corner opposite the rounded corner you want to "un-round" and move it toward the target corner. Stop at a point that uncovers three rounded corners, but still entirely covers the rounded corner. This creates a sharp rectangular "patch" over one rounded corner.
6) Select both shapes: the rounded rectangle on the bottom, and the patch on top.
7) Modify > Shapes > Merge

All done. Nicely aligned and square corner, with no manual tweaking needed.

You can paste the sharp rectangle and repeat the process for other corners, but you can only merge two shapes at a time.
AOO4/LO5 • Linux • Fedora 23
Post Reply