On Nov 9, 2005, at 2:03 AM, Scott Evans wrote:
Can someone explain the sub-pixel stuff to me?  How do sub-pixel views
render?  If I want sharp images and lines, do I need to ensure that
everything is pixellocked?

Subpixel positioning gets blurry lines and images, with more positioning possibilities.  This makes it look worse for static images, and better for animation, and for drawing sets of evenly spaced images where the average spacing isn't an integral number of pixels.

Details:

There's only six pixel positions between (0, 0) and (5, 0), inclusive.  This means that an rectangle that takes ten frames to animate from the first to the second will double up some positions as x ranges from 0 to 5:  0, 0, 1, 1, 2, 3, 3, 4, 4, 5.  If you turn on subpixel positioning, x can interpolate smoothly: 0.0, 0.5, 1.1, 1.6, 2.2, 2.7, 3.3, 3.8, 4.4, 5.0.  (All the decimals are repeating because, as I was telling my sixth-grader yesterday, (a) 11 has factors that don't divide ten and (b) arithmetic is really cool.)  But a solid line drawn at (1.1, 0) will display as a 90% opacity in the (1,y) column and 10% in (2,y) column, making it blurry.

Best,
Oliver
_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to