From: Olof S. <sve...@es...> - 2002-01-08 09:20:24
|
Hi João, thanks for you answer! Now I understand better why you you need the pixel co-ordinates and I think your planned improvements of plimage sound great. I had a discussion with Alessandro this morning and we agreed on the following points: The best solution is probably to create a second entry point for passing an image as a PLFLT * pointer. There are two possibilities, either by using a flag telling plimage which type of pointer is passed (to avoid creation of unused arrays in the case of rectangular images) or by creating a new plplot image command. Concerning plxormod, I made some tests with the xwin and win3 devices and found that everything works fine unless you resize the window between two selections. What happens is that since plxormod is turning the plbuf_write off the selection rectangle is not redisplayed when resizing the window, and when you make a new selection the program (x20c) retraces the old rectangle and it becomes visible. (In fact, with the xwin device the resizing of the window makes the image disappear completely, however the old selection reappears as on the win3 device). Maybe it is not a very important problem, but for some applications that we plan to do in the future we would like to keep the possibility to keep the PLESC commands. Regards, Olof |