I don't understand this change.  Shouldn't the browser canvas implementation be 
taking care of this?

When I look at:

  
https://developer.mozilla.org/samples/canvas-tutorial/4_5_canvas_linewidth.html

which is drawing lines of even/odd width, the lines seem fine to me.

On 2010-03-04, at 16:57, Max Carlson wrote:

> Change 20100219-maxcarlson-3 by maxcarl...@bank on 2010-02-19 11:36:30 PST
>    in /Users/maxcarlson/openlaszlo/trunk-clean
>    for http://svn.openlaszlo.org/openlaszlo/trunk
> 
> Summary: UPDATED: Add crisplines attribute to drawview
> 
> Bugs Fixed: LPP-8780 - Strokes don't appear crisp in dhtml drawviews
> 
> Technical Reviewer: ptw
> QA Reviewer: hminsky
> 
> Documentation: Updated to reflect recent changes in __playPath().  Otherwise 
> the same:
> 
> Drawview now has a 'crisplines' attribute which if true causes lines to be 
> offset as needed to appear antialiased.  This is only used in DHTML.
> 
> Details: Add crisplines attribute.  If true and lineWidth is an odd number, 
> offset all positions by .5 to cause lines to appear antialiased.
> 
> Tests: See test/drawing/drawing.lzx?lzr=dhtml&lzt=html.  Try changing the 
> crisplines attribute to false and see the black box's borders become blurry.
> 
> Files:
> M       lps/components/extensions/drawview.lzx
> 
> Changeset: 
> http://svn.openlaszlo.org/openlaszlo/patches/20100219-maxcarlson-3.tar


_______________________________________________
Laszlo-reviews mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-reviews

Reply via email to