This directory contains the sample programs discussed in the August 94 UNIX REVIEW article "Programming In Display PostScript". There are six programs in this directory: HW_Xonly: Hello World in X only HW_DPS_printf: Hello World using DPS and the DPSPrintf function HW_DPS_sop: Hello World using DPS and single-operator procedures HW_DPS_wrap: Hello World using DPS and wraps eps1: Display an EPS file using DPS eps2: Display, rotate, and scale and EPS file using DPS This directory also contains two sample EPS file: Butterfly.eps and FrenchHorn.eps. The eps2 program is not described in the article. eps2 expands the eps1 program by giving you the ability to rotate and scale the image. Both eps1 and eps2 require an argument on the command-line that represents a file that contains an EPS image. For example: eps1 Butterfly.eps The eps2 program also takes additional optional arguments for rotating and scaling: eps2 [-rotate D] [-scalex X] [-scaley Y] eps-file These programs have been compiled and tested on Solaris 2.3 with the SPARCcompiler C3.0.
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.