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]
