Welcome to TalkGraphics.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2012
    SW England

    Lightbulb Addition to your SVG Rendering

    Dear Xara...

    ...with the new(ish) capability of your HTML Filter generating in-line SVG, it would be another stride ahead if we we able to add a user-define path id to this SVG code.
    When one has a path id, it can be referenced in a <use> statement and the SVG Fill and Stoke is replicated without having to create additional copies of the same path.
    This is faster for the browser and results in small file sizes.
    The <use> attribute requires an HTML ID.
    Currently, I am realising this with JavaScript.

    My suggestion is another special Name, htmlSvgPathId, that take a value: e.g., htmlSvgPathId="henrietta".
    The value is then included by you in the SVG path as its ID: <path id="henrietta" ... ></path>

    Any Anchor (ID) for the SVG Shape is still required unchanged as this allows CSS manipulation of the SVG.

    An example: SVG - use for Cloning.xar - only works for XDAs that output SVG code.

    Acorn - installed and active Xara software: Cloud+/Pro+, XDPXv18 , XWDPv12/v15, XPGDv10, X3D7, Xara Xtreme 5, and others back through time (to CC's Artworks).
    Technical remediation and consultancy for your web designs. TG Nuggets you might like. Report faults: Magix; Xara Cloud+/Pro+

  2. #2
    Join Date
    Aug 2000
    Harwich, Essex, England

    Default Re: Addition to your SVG Rendering

    Sounds like a simple yet useful feature to me Acorn.

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host



Tags for this Thread


Posting Permissions

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