ftp.nice.ch/pub/next/developer/hardware/powerglove/NeXTPowerGlove.README

This is the README for NeXTPowerGlove.2.01.N.bsa.tar.gz [Download] [Browse] [Up]

R E A D   M E
Image Paint -- Randy Nelson
Copyright 1990 NeXT Computer, Inc All Rights Reserved

A demonstration program that composites an NXImage based brush-bitmap into a View that tracks the mouse.  This program demonstrates printing bitmaps containing transparency via default AppKit methods.

N O T I C E
The PowerGlove will only boot correctly every other time.  You can either un plug it before each launch or rerun the program on failure.

This is Lab Four of the Developer's Camp.  Most of the objects are variations on objects created in class in example programs.  This lab serves as an opportunity to re-use and modify existing code.

C l a s s e s
ImageWithGlove -- A class that adds PowerGlove functionality to MouseTracker.
MouseTracker -- An abstract class that manages a modal loop for tracking the mouse.
ImageCompositor -- An general class that composites an image at the current mouse location.

H i s t o r y
Created 8-10-90
Modified 9-3-90 User Interface changes. Info and Help panels put in separate nib files.
Modified 9-3-90 New alloc and init logic added.
Modified 2-12-90 PowerGlove class added.

N o t e s
A number of enhancements are possible but not yet implemented: Set-up to support rectangular and oval brushes.  Set-up to support brush indication while cursor is in the image window.  Set-up to support disk functions using SaveOpen object (an object used in Developer's Camp).  Cut, Copy and Paste.  Brush representation view (a Button) should be same background color as the view.  Should use preferences data base to save brush state.

F u t u r e   D i r e c t i o n s
When painting with continuous strokes, the entire area of the brush stroke should be filled with a single coat of the paint, rather than single brush bitmaps, composited on top of one another.  This is a function of compositing the same image at all locations, rather than drawing directly into the view.  This is especially ugly in the case of transparent paint, although any pattern representation (e. g. any color other than black, light gray, dark gray, or white on the MegaPixel Display) shows the same artifact.  Saving the path that results from the strokes as a user path and painting that may be part of the solution as long as erasing can be implemented as expected in a paint program.
Multiple scrolling windows. 
Dragging support for icons of TIFF and EPS.
Network support for multi-user painting.

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