ftp.nice.ch/peanuts/GeneralData/Usenet/news/1989/CSN-89.tar.gz#/comp-sys-next/1989/Jul/Fast-Pixel-Plotting

This is Fast-Pixel-Plotting in view mode; [Up]


Date: Sun 11-Jul-1989 22:55:29 From: Unknown Subject: Fast Pixel Plotting Hi, i can't seem to plot points on the NeXT as fast as i would like. i started out by using: setgray newpath moveto lineto stroke, then found that setgray xx yy 1.0 1.0 rectfill was a bit better. However, there *must* be a better and acceptable(i.e. NeXT police tolerant) way to do it. i need to do it for image-processing, so speed is neccessary. While i'm at it, how do i crank out maximum raw power from the 68882? sigh. sagar@psu-cs >From: ali@polya.Stanford.EDU (Ali T. Ozer)
Date: Sun 12-Jul-1989 16:10:31 From: Unknown Subject: Re: Fast Pixel Plotting In article <1476@psueea.UUCP> sagar@jove.cs.pdx.edu (Sagar) writes: > i can't seem to plot points on the NeXT as fast as i would like. i >started out by using: > setgray newpath moveto lineto stroke, >then found that > setgray xx yy 1.0 1.0 rectfill >was a bit better. However, there *must* be a better and acceptable(i.e. NeXT >police tolerant) way to do it. Check out user paths. User paths allow you to hand PostScript an array of x, y values, an array of operations (such a moveto, curveto, lineto, etc), specified by a single byte each, and a final user path operator (such as ustroke or ufill). If you can group together a large number of lines and curves with the same gray/linewidth values, you can transfer them down with one userpath command. This cuts down on both communications time and on the time PostScript spends parsing/interpreting your data. The Lines example in the Examples directory uses user paths; for more information refer to the Display PostScript docs in the Appendices section of the hard copy technical documentation. Ali Ozer, NeXT Developer Support aozer@NeXT.com >From: bob@tinman.cis.ohio-state.edu (Bob Sutterfield)

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.