Re: Commit (JMM-DOUBLEGRAPHICS-1): Move layout and graphics classes to double precision

From: J.M. Maurer <j.m.maurer_at_student.utwente.nl>
Date: Wed Nov 24 2004 - 00:27:43 CET

Op di, 23-11-2004 te 15:18 -0800, schreef Dom Lachowicz:
> Hi Marc,
>
> > This (quite massive) commit removes almost all
> > integer math from
> > the layout and graphics classes.
>
> Nice.
>
> > * _tduX, _tduY and _tduR are not needed anymore, and
> > are removed. Just use tdu.
>
> Aren't tduX and tduY necessary, because you could have
> different X && Y device resolutions?

No, _tduX and _tduY's purpose was to randomly substract one pixel or not
to correct for our fscked math.

Currently, only the Win32 graphics class uses an XYRatio, which is just
used as: tdu(some_x_coord * XYRatio).

I wanted to create a new tduX function exactly like you thought it was
functioning :-) You're just too quick here :)

Marc
Received on Wed Nov 24 00:20:49 2004

This archive was generated by hypermail 2.1.8 : Wed Nov 24 2004 - 00:20:49 CET