Thread View: adobe.postscript.programming
3 messages
3 total messages
Started by Miklos_Somogyi
Sat, 06 Dec 2003 07:29
Raster graphics
Author: Miklos_Somogyi
Date: Sat, 06 Dec 2003 07:29
Date: Sat, 06 Dec 2003 07:29
13 lines
1007 bytes
1007 bytes
Gents, Sometimes your vdu rudely reminds you that PS is raster graphics, after all. There is a nice figure on page 322 of the PRLF Second Edition to explain how this business is supposed to work. I only miss one point (the essence): where is the user space coordinate system? Where the grid-lines intersect or in the middle of the boxes they form? In other words, where is the output of "transform"? Thanks Miklos
Re: Raster graphics
Author: Aandi_Inston
Date: Sat, 06 Dec 2003 09:46
Date: Sat, 06 Dec 2003 09:46
5 lines
959 bytes
959 bytes
I've always thought of the device space co-ordinates as defining a grid along x=0,1,2 y=0,1,2 that encloses each pixel. That's certainly what I implemented. Aandi Inston
Re: Raster graphics
Author: Miklos_Somogyi
Date: Sat, 06 Dec 2003 12:23
Date: Sat, 06 Dec 2003 12:23
6 lines
773 bytes
773 bytes
Thanks Aandi, you are right. I wrote a little test program and xpsview confirmed that the origin is at the intersection of gridlines. Thanks Miklos
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads