[Resent, correcting henry's address] I'm not seeing any aliased lines? Maybe I don't know what you want me to look at: since the test reflows with the canvas shape, it's not clear what the "second row" is, but I do see a green, blue, white box, but they only have 1-pixel borders, so how would those be aliased?
On 2010-09-14, at 17:43, Max Carlson wrote: > Change 20100914-maxcarlson-R by maxcarl...@friendly on 2010-09-14 13:57:00 PDT > in /Users/maxcarlson/openlaszlo/trunk-clean > for http://svn.openlaszlo.org/openlaszlo/trunk > > Summary: Only offset strokes for drawviews with aliaslines==true > > Bugs Fixed: LPP-8780 - Strokes don't appear crisp in dhtml drawviews > > Technical Reviewer: hminksy > QA Reviewer: ptw > > Details: fill() always calls __updateFillStyle(), and passes __playpath() an > offset of 0. Compute stroke offset when lineWidth changes and update > globalAlpha in in __updateLineStyle(). __playpath() expects an explicit > offset, returning early if the path was already drawn with the specific > offset, and uses translate() to do the offsetting instead of doing it > manually. clipPath() uses an explicit 0 offset. stroke() always calls > __updateLineStyle() and passes the stroke offset computed there. > > Tests: test/drawing/drawing.lzx?lzr=dhtml shows aliased lines for the blue, > green and white boxes in the second row. > > Files: > M lps/components/extensions/drawview.lzx > > Changeset: > http://svn.openlaszlo.org/openlaszlo/patches/20100914-maxcarlson-R.tar
