Hi Dom,
> The whole point of layout units is that you could use
> *REAL* OS supported tranformation matrices/scaling if
> they're supported. The important functions are all
> virtual. Device Units and Layout units can be the same
> thing (i.e. 1x scale).
Having grepped through the code, I think this might be possible to do 
this on win32 without significant changes to the xp code, as it seems 
that outwith the graphics classes the tlu transformation is only 
applied to constants. It is possible that the only change required to 
the xp code is to add virtual GR_Graphic::_setZoomPercentage() to be 
called  from the public function to allow for platform specific 
processing. I will investigate this further. If all the other changes 
will be restricted to win32, I will just go ahead and do it. If there 
are further issues, I will consult further.
> Whoever implemented the Win32 side of things (wrongly)
> followed our lead instead of using platform-specific
> scaling routines.
I think the win32 graphics class was, in this regard, left pretty 
much as it was when we used to have two sets of units.
Tomas
Received on Tue Nov  2 09:03:34 2004
This archive was generated by hypermail 2.1.8 : Tue Nov 02 2004 - 09:03:34 CET