Welcome to TalkGraphics.com
Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1

    Default Line thickness inconsistency

    While creating a schematic in Xara Xtreme, minipulating it's connective lines seems to produce predictably consistent results (in terms thickness).

    If the same graphic composition is placed in a Flash (animation) document, the line widths are visually inconsistent ... depending on how I manipulate those lines with Xara Xtreme commands.

    It doesn't seem to matter how wide the lines are (connecting lines in the examples provided are set to be 0.5pix)

    Might someone be able to explain what's happening?

    mercí =)
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	line_width_differential.jpg 
Views:	203 
Size:	35.0 KB 
ID:	69864  
    Attached Files Attached Files

  2. #2
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default Re: Line thickness inconsistency

    Hi Curtis,

    I'm not sure of the technical details but Flash doesn't do lines well.

    You can try converting your lines within Xtreme to shapes before exporting to flash.
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

  3. #3

    Default Re: Line thickness inconsistency

    Thanks for your input, Bill.

    You'll note that one of the examples I've provided does just that (Arrange > Convert line to shape). Even when using whole pixel values, the results seem inconsistent. If I could understand what Flash is thinking, then it would help in deciding how to handle the line widths within the Xtreme source document.

  4. #4
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default Re: Line thickness inconsistency

    Egg Bramhill is our resident Flash person

    Perhaps he will be along to help explain how he works with lines and Flash.
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update

  5. #5

    Default Re: Line thickness inconsistency

    Excellent. Thanks. =)

  6. #6
    Join Date
    Oct 2009
    Location
    Italy?
    Posts
    32

    Default Re: Line thickness inconsistency

    I suppose is something people have to just live with: the Xara graphic engine is by far the best I ever used ( I remeber when age ago they tried to push the browser plugin for a high quality vector solution for web, before the svg or even flash became the hyped thing and I even wrote some python macro just to generate .xar graphs to use inside Xara). Whatever is not rounded to the 1pix resolution/1pix grid will have a different result on different engine and relative antialias). Xara born with the insane "zoom in" resolution (anyone remeber the microscope example?) so since the begin they cared how a 0.002 pix wide object should look at 100%. The flash engine is (understandble?) really more sloppy (and don't start me talking about illustrator or corel draw )
    I can't do it. No one can help.

  7. #7
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: Line thickness inconsistency

    That's simple.
    Flash uses different rendering methods for lines and shapes. The lines method is not able to render lines narrower than 1px. So if you have anything like 0.5px it is still rendered as 1px line. The shape rendering is more or less equal to the real supersampling.
    Xtreme has no limitations in rendering anything including shapes, lines, text etc.
    John.

  8. #8

    Default Re: Line thickness inconsistency

    Thanks folks.

    I just adjusted the all line widths to be exactly one pixel, and get better (more consistent) results. Xara's precision is appreciated.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	line_width_differential_2.jpg 
Views:	149 
Size:	35.5 KB 
ID:	69883  

  9. #9
    Join Date
    Oct 2009
    Location
    Italy?
    Posts
    32

    Default Re: Line thickness inconsistency

    Quote Originally Posted by cursor View Post
    Thanks folks.

    I just adjusted the all line widths to be exactly one pixel, and get better (more consistent) results. Xara's precision is appreciated.
    Another trick that help when you have to deal with this kind of drawing is to set the grid to

    Major Spacing 10 pix
    Number of Subdivision 10 pix
    and obviously disable the Scale line Width.

    This does not fix everything in every situation but is a big help (Xara devs should introduce a 1pix mode and 'correct' everything to a an "int" to try to fix exactly this kind of problems... )
    I can't do it. No one can help.

  10. #10

    Default Re: Line thickness inconsistency

    In Flash, must all lines whose widths are all in integer pixel values ALSO be precisely positioned on integer X,Y locations? That is, if I have a horizontal line that is 1pix wide, must it's position values be integers (no decimal values)?

    I'll have to toy with that.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	flash_integer_values.jpg 
Views:	126 
Size:	18.6 KB 
ID:	69900  
    Last edited by cursor; 17 February 2010 at 06:12 PM.

 

 

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
  •