From: Arjen M. <arj...@wl...> - 2004-05-07 06:46:30
|
"Alan W. Irwin" wrote: > > On 2004-05-06 15:49+0200 Arjen Markus wrote: > > > Arjen Markus wrote: > > > > > > Hello, > > > > > > I just did a small experiment with the PNG driver, and it gave me > > > a picture that resembles the oddities I have had with the Windows > > > win3 driver. > > > > > > Does anybody use that driver? Is it being maintained? > > If you are referring to the Unix/Linux png driver, then the answers are Yes > and Yes. :-) (If memory serves there is also an additional png driver that > Andrew Roach is maintaining for the dos/djgpp platform, but I don't think > you have access to that platform.) > > > > > FIY the examples seem to work fine, but they use a different > > aspect ratio than my program does. This was a particular > > problem with the win3 driver too. > > Arjen, we need specifics. Otherwise, there is nothing we can do and nothing > we can discuss. > > So please give us a simple programme example (or combination of options for > a standard example) which demonstrates the png device problem you have found > so we can replicate the problem for ourselves. > Yes, I understand that. Unfortunately, the situation is this: - If I use the standard examples, all is okay - If I use my program, then I get a strange figure that resembles the first results I got with the win3 driver. I think the cause is the same as with the win3 driver: the window used in my program has a different aspect ratio or simply different size than the example program. This caused an integer overflow in the win3 driver, making it wrap the coordinates. I will try to see if I can get the same result with the example programs ... Stay tuned. Regards, Arjen |