simple line graphics (re: a digital simulator in Self)

Bay-Wei Chang bay at amuck
Sat Feb 2 01:24:03 UTC 1991


The Self release supports much of Sun's Pixrect package.  These should be
adequate for the type of drawing you want to do.  And you don't really have
to wade through all of the ui to figure out how to use it; but granted, it's
the only example of how to use the graphics objects that are included in
the release.

Look at the files
  bitmap.self
  draw.self
  screenBitmap.self

Or, you can build your own objects based on the pixrect primitives; see
pixrect.self and prPrims.self.  This might be easier.

Bay



More information about the Self-interest mailing list