bicycle/src/PixmapFromXData.i3


Copyright (C) 1994, Digital Equipment Corp.

INTERFACE PixmapFromXData;

IMPORT Pixmap;

TYPE T = RECORD width, height: CARDINAL; t: TEXT END;

PROCEDURE P(t: T; halftone := FALSE): Pixmap.T;
t should be the text for the X bitmap of the given width and height, optionally with all of the 0x and commas removed.

PROCEDURE Flip(t: T; halftone := FALSE): Pixmap.T;
Return a pixmap just like P(t), but upside-down
 If halftone is true, the pixmap will be ANDed with Gray on a depth-1
   display 

END PixmapFromXData.