Hi Niklas,
Thanks very much, I will fix it asap. :)

Best Regards,




maoyg
2008-01-16



发件人: Niklas Nebel
发送时间: 2008-01-16 19:30:52
收件人: [email protected]
抄送: 
主题: Re: [sc-dev] About page margins some problems!

maoyg wrote:
> I have some problems about the irregular looking to ask you .
> Do you mean something is wrong with
> "DrawRect( Rectangle( Point( ( nLeftMargin - aOffset.X() + nColOffset[i] * 
> nScale / 100 - 50 ), -aOffset.Y() ),Point( ( nLeftMargin - aOffset.X() + 
> nColOffset[i] * nScale / 100 + 50 ), 300 - aOffset.Y()) ) );" and
> "DrawLine( Point( ( nLeftMargin - aOffset.X() + nColOffset[i] * nScale / 100 
> ), -aOffset.Y() ), Point( ( nLeftMargin - aOffset.X() + nColOffset[i] * 
> nScale / 100 ), 600 - aOffset.Y()) );"

Yes, that seems to be the code in question. For drawing, each coordinate
is individually converted to pixels. Because of different rounding, this
means the handles can look slightly different.

Niklas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to