DIRECTORY ImagerPixelMap USING [DeviceRectangle, PixelMap], ViewerClasses USING [Viewer, ViewerFlavor, ViewerRec, HBltRule, VBltRule]; BitmapViewer: CEDAR DEFINITIONS ~ BEGIN OPEN ImagerPixelMap, ViewerClasses; GetFlavor: PROC [bltH: HBltRule _ left, bltV: VBltRule _ top] RETURNS [ViewerFlavor]; Create: PROC [info: ViewerRec _ [], paint: BOOL _ TRUE, bltH: HBltRule _ left, bltV: VBltRule _ top] RETURNS [Viewer]; SetBitmap: PROC [viewer: Viewer, bitmap: PixelMap]; TouchUp: PROC [viewer: Viewer, deviceRectangle: DeviceRectangle]; GetBitmap: PROC [viewer: Viewer] RETURNS [bitmap: PixelMap]; END. HBitmapViewer.mesa Copyright (C) 1984, Xerox Corporation. All rights reserved. Michael Plass, June 27, 1985 5:13:49 pm PDT The origin of the bitmap will be aligned as specified by the bltRules. Can also use ViewerOps.CreateViewer Does not copy the bits. Forces repaint of part of the bitmap. Does not copy the bits. Κϋ˜šœ™J™