Several sweeping changes to graphics and image types. Graphics types
authorChris Hanson <org/chris-hanson/cph>
Tue, 21 Feb 1995 23:11:22 +0000 (23:11 +0000)
committerChris Hanson <org/chris-hanson/cph>
Tue, 21 Feb 1995 23:11:22 +0000 (23:11 +0000)
commitb27ac2d71a547ca0cca7ef754a82f66dd25e8796
treee0bd958350713d5db038ebd6f23e073cc683c665
parentb41f8ce429d1b8a2112e7ee3b0ec2806639d62cc
Several sweeping changes to graphics and image types.  Graphics types
now have their names associated with them so that code can dispatch on
the name.  Each image type is now associated with a particular
graphics type, so that it is possible to get the image type given a
graphics type.  New procedures GRAPHICS-TYPE and IMAGE-TYPE provide
very general ways to get pointers to such types.  New procedure
GRAPHICS-TYPE-NAME gets the name of a graphics type.

These changes necessitated some changes in the interface to the
graphics type definitions.  In particular, there's no longer a
procedure to register a graphics type's name, and also the procedure
to construct a graphics type now accepts an additional argument, which
is the name.
v7/src/runtime/graphics.scm
v7/src/runtime/starbase.scm
v7/src/runtime/x11graph.scm