home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!think.com!ames!olivea!mintaka.lcs.mit.edu!gateway
- From: SWM@stony-brook.scrc.symbolics.com (Scott McKay)
- Newsgroups: comp.lang.lisp
- Subject: Re: CLIM 1.0 source for displaying bitmapped images in a window?
- Message-ID: <19921119161456.5.SWM@SUMMER.SCRC.Symbolics.COM>
- Date: 19 Nov 92 16:31:38 GMT
- References: <BxvGCp.Mq6.2@cs.cmu.edu>
- Sender: news@mintaka.lcs.mit.edu
- Organization: LCS news/mail gateway
- Lines: 28
- X-Unparseable-Date: Thu
-
-
- Date: Tue, 17 Nov 1992 12:53 EST
- From: Brad Myers <bam+@cs.cmu.edu>
-
- In article <22897@venera.isi.edu> jas@ISI.EDU (Jeff Sullivan) writes:
- >
- >It would seem like such an obvious thing, yet CLIM 1 can't do it.
- >Does anyone have some code that does do it? I've heard that you can
- >hack the INK to work...
- >
- >jas
- >--
-
- Of course, the Garnet toolkit directly supports both black and white
- bitmaps, and color Pixmaps.
-
- CLIM 1.1 supports abstract pixmap-y things called patterns. You create
- them using MAKE-PATTERN, and can draw them by using them as the ink
- argument to any of the drawing functions.
-
- CLIM 2.0 supports pixmaps, color maps (which we call palettes), and
- "layered colors" (which give access to color cells and planes).
-
- Pixmaps are different from patterns because patterns are fully
- device-independent, whereas pixmaps are device-dependent. For example,
- you can copy bits in and out of a pixmap, but you can't do that with a
- pattern. On the other hand, patterns are portable -- they can be
- "saved" and reused on other display devices, etc.
-