bug-gnustep
[Top][All Lists]
Advanced

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

Re: Bitmap image offset bug solution


From: Willem Rein Oudshoorn
Subject: Re: Bitmap image offset bug solution
Date: 28 Jan 2002 22:44:34 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

Pete French <pete@twisted.org.uk> writes:

> Simply removing this line 
[refering to line 1758, which is rect.origin = point;]
> fixes the bug as the origin becomes 0,0 from
> the initialisation at line 1700.
> 
> I think I've got this right, but given the recent discussions about
> co-oprdinate transformations on -discuss then I'd like someone to
> verify it.

Yes, this should do it.  
Reason for removing 

`rect.orging = point;'

in DPSimage

Is that the corresponding postscript operator
`image' maps as follows:


+-----+                     +-----+           +-----+
| Im  |  <-- image matrx -- |user | -- CTM -> | page|
|     |                     |space|           |     |
+-----+                     +-----+           +-----+

So this does not involve the current value of point at all.

Wim Oudshoorn.



reply via email to

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