Now that is odd. Is 0.5 the general rule to follow or is it simply different
for every object you put down?

2008/12/18 Jon Bradley <[email protected]>

>
> On Dec 16, 2008, at 10:49 PM, Ashim D'Silva wrote:
>
>  I always round everything I place. That was one of the first things I
>> checked. Rotated bitmaps and text often have this problem, which is fair
>> enough because half pixels don't exist.
>>
>
> Actually, they do. The native coordinate space for Flash is a twip, which
> is 1/20th of a pixel. The rasterizer in Flash has to do some funky stuff
> anyway with rotated content.
>
> There are some really annoying display bugs in Flash for this - consider a
> nice vector shape that's rotated through AS very, very slowly. You'll
> actually see it jump around when zoomed up. I discovered this one when
> rendering content for a 1080p animation project ... so annoying.
>
> One of the most interesting tests  is to create a rounded rectangle and add
> a 1 pixel border line around it. Notice it looks funky and isn't smooth.
> Position the rounded rectangle on a half pixel (+0.5 on x and y). It's all
> nice and smooth again.
>
> cheers,
>
>
> jon
>
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
The Random Lines
My online portfolio
www.therandomlines.com
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to