jccf@ihlpg.UUCP (01/26/87)
*** REPLACE THIS LINE WITH YOUR FRUSTRATION *** At the moment I am writing an application for plotting complex functions on the mac screen. (Mandelbrot functions, 320x320 pixels, language is Megamax C). Two problems I ran in at the moment; 1) How to plot a single pixel. I couldn't find a routine in IM like plotpixel(h,v); and the current sollution moveto(h,v); lineto(h,v); ( pensize = 1,1 ) is too timeconsuming. 2) How to save the bit image in a clean fast way, since a rect (in which I am drawing) only consist of 4 integers specifying the boundaries of the rectangle. Also related to this problem, how do I update the window or rect after another window (e.g. a DA) has been writen over the figure, and then this frontmost window is closed, so the figure has to reapear again. I have seen there's a routine teupdate(), but is the also something like grafupdate() or rectupdate(). e-mail or post any help, Thanks in advance. Piter Jonker, Hilversum, Holland ihnp4!ihlpg!hvlpa!pjonker