1 Attachment(s)
Re-rounding the Corners of a Stretched Box
This has always bugged me.
I created a box and round its corners.
Xara provided a Curvature that is the same for both H & V.
When you stretch the box the stretch from original is scaled into the H & V lengths so the box appears wonky.
@Xara - this is a Bug. the HTML filter renders the wonky corners as a border-radius (of the longest of H or V) so the corners are 'corrected'. Again, this is not part of your pixel-perfect mantra.
You can preserve the H:V ratio if you switch to the Rectangle Tool and change lengths there.
This might be too late in your design to recover the box back to its original size ratio.
All is not lost.
Attachment 130823
Create a small square with rounded corners.
Copy the original box and on the small square, Paste Size and Position.
The square is aligned on top of the original with balanced H & V curved corners.
To tidy up, Paste Attributes and delete the original box.
The size of the square is immaterial, only the size of its corners.
Even if you use a square without rounded corners, you can select that option and resize the corners to the amount you need.
Acorn
Re: Re-rounding the Corners of a Stretched Box
Probably should be posted in Dear Xara.
Re: Re-rounding the Corners of a Stretched Box
Quote:
Originally Posted by
gwpriester
Probably should be posted in Dear Xara.
Gary, the method is deserving of an airing in this Forum initially as it is an immediate fix to an issue that has always been around so Xara is not likely to ride in on its horse and fix it right away.
The HTML Filter issue has arisen when Xara realised that presenting boxes as CSS DIVs was more efficient that rendering images. Someone chose not to address or overlooked that a border-radius can actually take two values to overcome this issue: border-radius: 50% / 37%, for example.
At the same time Xara has failed to implement border-radius correctly as it renders curvature as absolute values in pixels. I raised this last Christmas in https://www.talkgraphics.com/showthr...-Round-Objects, when a fully-rounded square box (circle) had greater Line widths, the circle become more and more oblate.
With so little engagement from Xara (Bhavesh, probably), it is frustrating to have to discover and "fix" these piecemeal.
We are not changing core code, we are improving the HTML Filter (c.f., PDF export) to achieve higher fidelity.
I will add this as a link in the Round Object Thread.
Acorn