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

    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:	33 
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 and active Xara software: Cloud+/Pro+, XDPX, XWD Premium 15 & 12, XPGD10, X3D7, Xara Xtreme 5, back through time (to CC's Artworks).
    Raise software faults with MagiXara: http://support.magix.net/; if Cloud+/Pro+: https://xara.com/contact-us/

  2. #2
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    39,990

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

    Probably should be posted in Dear Xara.
    Gary W. Priester
    Mr. Moderator Emeritus Dude
    , Sir

    gwpriester.com | Custom-Stereograms.com | eyeTricks on Facebook






  3. #3
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    14,360

    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 and active Xara software: Cloud+/Pro+, XDPX, XWD Premium 15 & 12, XPGD10, X3D7, Xara Xtreme 5, back through time (to CC's Artworks).
    Raise software faults with MagiXara: http://support.magix.net/; if Cloud+/Pro+: https://xara.com/contact-us/

 

 

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
  •