Welcome to TalkGraphics.com
Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12
  1. #11
    Join Date
    Dec 2018
    Location
    Australia
    Posts
    1,775

    Default Re: Ten Year Challenge - Dotted Lines

    Quote Originally Posted by Jeffdoute View Post
    Anyway I like to reply/try these questions if for no other reason but to learn new ways of doing thing.
    Quite possibly the best user tip any of us will ever read.

  2. #12
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,813

    Default Re: Ten Year Challenge - Dotted Lines

    Quote Originally Posted by Jeffdoute View Post
    I knew I had the question wrong. LOL
    Anyway I like to reply/try these questions if for no other reason but to learn new ways of doing thing.
    They also make me think of a better way to put things across - still working on it.

    A nice discovery I've just thought out incidentally.

    In my Xara - Scatter Dot and Gapped Lines.xar, I have regular symmetrical shapes that create the line: a red dot and a gap.
    Both were set as 0 degree circles with the special 0px Line width and in the brush I set them not to be rotated with the line direction.
    I can therefore Name them filename=colorRoundBox" and filename="emptyRoundBox".

    To what purpose?

    Well a Line ends up as an image and if I use lots of lines I have lots of unnamed images.
    If the line enclosed other shapes you cannot get to them in the browser so buttons would remain unclickable...

    If you convert a Named Component Scatter Line made this way and then convert Line to Shape and Ungroup, you have tons of little PNGs that are all named the same and all align the same.

    In getting this far, I just realised that if I use a square (Rectangle tool) with maximum curved corners and Line width of None, the end shapes become SPANs with a border-radius of, effectively, 50%.

    The dots all become pure vector and for older browsers you only have two PNGs created.

    The concept extends back to the Dashes: the Named Components could be Named longDash, mediumGap, shortDash and a repeated mediumGap; rotation along the path would be handled by the SPANs with a 2D-transform of rotate; older browser would have all the shapes sitting horizontally (a FAIL).

    A fun exercise.

    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

 

 

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
  •