Welcome to TalkGraphics.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,743

    Lightbulb 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.

    Click image for larger version. 

Name:	Cornering.png 
Views:	62 
Size:	84.9 KB 
ID:	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
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  2. #2
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,486

    Default Re: Re-rounding the Corners of a Stretched Box

    Probably should be posted in Dear Xara.

  3. #3
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,743

    Default Re: Re-rounding the Corners of a Stretched Box

    Quote Originally Posted by gwpriester View Post
    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
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •