ftp.nice.ch/pub/next/graphics/apps/GraphicsWrap.README

This is the README for GraphicsWrap.N.bs.tar.gz [Download] [Browse] [Up]

Welcom to GraphicsWrap:  A graphics environment created by Bill
Bumgarner for 15-462

Bill Bumgarner
500-62-0453
9/18/91
Assignment #1

Some Notes:

This app supports:

 - line drawing
 - polygon drawing
 - color selection via the full NeXT color picker tool
 - deletion/reaarangement of tgif commands within the matrix of
commands (control-click/drag an item elsewhere
 - opening/saving tgif format files
 - performance of tgif files

TGIF languange support:
move, draw, bgnpoly, vertex, endpoly, newframe, fgcolor, bgcolor, #

The other commands are recognized, but the performance code is not
installed.

Paradigm:

The application takes an entirely object oriented approach to graphics
manipulation.  Every command and entity is treated as an object within
itself-- this yields an extremely lisp like environment as far as
object manipulation/organization is concerned.  While it is not much
of an advantage in this incarnation, it will yield a large gain in
power when the course moves into transformation and object trees.

Source and Project files:
 AbsPoly.h
 AbsPoly.m
Implements the abstract polygon class-- encapsulates the various
polygon specific commands into a unit cell.  Easier on the eyes.

 App_image.tiff
Application icon (someone want to make a better one).

 CmdBgcolor.h
 CmdBgcolor.m
 CmdBgnpoly.h
 CmdBgnpoly.m
 CmdCircle.h
 CmdCircle.m
 CmdComment.h
 CmdComment.m
 CmdDraw.h
 CmdDraw.m
 CmdEndpoly.h
 CmdEndpoly.m
 CmdFgcolor.h
 CmdFgcolor.m
 CmdFps.h
 CmdFps.m
 CmdHold.h
 CmdHold.m
 CmdMove.h
 CmdMove.m
 CmdNewframe.h
 CmdNewframe.m
 CmdVertex.h
 CmdVertex.m
The command classes-- deal w/command specific arguments and execution
outside of line drawing and polygon drawing.

 ComplexDemo3.tgif
 ComplexPolygonDemo.tgif
 DemoComplex.tgif
 DemoComplex2.tgif
The demo files. These were algorithmically generated and have a
_large_ number of commands.  Some have color in them, though I have
never seen them in color.

 GraphicView.h
 GraphicView.m
The view class that controls the update events and deals w/the drawing
part of the user interface (tool pallette, etc).

 GraphicsWrap
 GraphicsWrap.gdb
 GraphicsWrap.iconheader
 GraphicsWrap.nib
 GraphicsWrap_main.m
 IB.proj
The interface builder foo.  The GraphicsWrap.nib is the main user
interface file.

 InfoPanel.h
 InfoPanel.m
 InfoPanel.nib
The class is in case I want to do something "interesting" with the infoPanel.

 ListCell.h
 ListCell.m
 ListMatrix.h
 ListMatrix.m
Supports Cells w/multiple fields of information and control-dragging.

 Makefile
 Makefile.postamble
 Makefile.preamble
self-explanatory.

 NXBitmapGraphicRep.h
 NXBitmapGraphicRep.m
Contains implementaton of Line and Polygon drawing and has the bitmap
manipulation code (plotPoint, erasePoint, etc.).

 PolyInspector.h
 PolyInspector.m
 PolyInspector.nib
Special inspector for Polygon-- encapsulates the vertexes in something
nice to look at.

 TGIF.h
 TGIF.m
 TGIF.nib
The file management stuff.  File parsing, loading, saving is done here.

 TGIFCell.h
 TGIFCell.m
Generic command cell-- draws the name of the command and arguments
in an intelligent way.

 cross.tiff -- one of the cursors
 doc_image.tiff -- document icon

 generator
 generator.psw
-- screen saver style app that happens to output TGIF commands of what
it is doing.  Used to generate *.tgif

 miscutil.c
 miscutil.h
-- miscellaneous useful string and byte conversion/allocation
utilities.

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