gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-commit] gnash ChangeLog backend/render_handler_agg.cpp


From: strk
Subject: Re: [Gnash-commit] gnash ChangeLog backend/render_handler_agg.cpp
Date: Tue, 6 May 2008 16:37:09 +0200

On Tue, May 06, 2008 at 02:42:21PM +0200, Udo Giacomozzi wrote:
> Hello strk,
> 
> Tuesday, May 6, 2008, 12:14:23 PM, you wrote:
> 
> s> On Tue, May 06, 2008 at 09:25:49AM +0000, Udo Giacomozzi wrote:
> 
> >> +        // check if this line is a hairline ON SCREEN
> >> +        // TODO: we currently only check for hairlines per definiton, not
> >> +        // for thin lines that become hair lines due to scaling
> >> +        if (lstyle.getThickness()<=20)
> >> +          hairline = true;
> 
> s> I tested you can have a thickness of 10 twips that scales...
> s> Real hairlines have a thickness of 0 only.
> 
> I know. Please notice the TODO above.
> I've got some real world examples where the IDE used - for whatever
> version - the value 20.

You find 20 twips of thickness definition that do NOT scale in SWF<8 ?

> s> Ming requires some effort for this to work, the only way
> s> to define them is by definition (not ActionScript) and
> 
> them=what? You can do hairlines in AS.

Hairlines are 0 in thickness, I couldn't handle to make subtwip
scaling thickness with AS.

> s> with Ming you need to use Ming_setScale(1) for sub-pixel
> s> accuracy of line thickness.
> 
> Why? Doesn't Ming output TWIPs?

By default Ming talks pseudo-pixels (the tag definition, not
actionscript which is always pseudo-pixels...). That is, the
SWFShape_moveTo(x,y) multiply the values by a global scale which
defaults to 20 and can be changed with Ming_setScale(s);

--strk;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]