DIRECTORY II USING [Context, SampleMap, Transformation, XChar], IIDevice USING [FontTuner], IIMaskCache USING [CharMask], IIFont USING [Font], IIManhattan USING [Polygon], SF USING [Box, BoxAction]; IIMaskCapture: CEDAR DEFINITIONS ~ BEGIN CaptureChar: PROC [font: IIFont.Font, char: II.XChar, ratio: REAL, fontTuner: IIDevice.FontTuner _ NIL, metricsOnly: BOOL _ FALSE] RETURNS [IIMaskCache.CharMask]; CaptureBounds: PROC [operator: PROC [II.Context], m: II.Transformation] RETURNS [SF.Box]; Cant: SIGNAL [why: ATOM]; CaptureBoxes: PROC [operator: PROC [II.Context], m: II.Transformation, boxAction: SF.BoxAction, checkColor: BOOL _ FALSE]; CaptureBitmap: PROC [operator: PROC [II.Context], m: II.Transformation, checkColor: BOOL _ FALSE] RETURNS [II.SampleMap]; CaptureManhattan: PROC [operator: PROC [II.Context], m: II.Transformation, checkColor: BOOL _ FALSE] RETURNS [IIManhattan.Polygon]; END. HIIMaskCapture.mesa Copyright c 1985, 1986 by Xerox Corporation. All rights reserved. Michael Plass, November 21, 1986 12:46:31 pm PST Doug Wyatt, March 7, 1986 2:59:58 pm PST The transformation in font is into device coordinates, with x~s and y~f. Returns NIL if the operator must be re-executed each time, and nothing can be said about the bounding box and/or width. Returns culled variant if metricsOnly=TRUE. Returns maskNotCacheable variant if the operator cannot be cached for some reason, but its bounding box and escapement are known. Otherwise returns cached variant; raster IFF (size of raster rep) <= ratio*(size of runs rep). Raised by the following whenever a situation is detected where the result would not be well-defined; If checkColor is TRUE on the following, attempts to change color will rasie this signal. Κ΄˜codešœ™Kšœ Οmœ7™BK™0K™(—K˜šΟk ˜ Kšœžœ-˜5Kšœ žœ ˜Kšœ žœ ˜Kšœžœ˜Kšœ žœ ˜Kšžœžœ˜—K˜KšΠbl œžœž ˜ šœž˜K˜—šΟn œžœžœžœ"žœžœžœžœ˜’KšœH™HKšœžœl™wKšœ+™+Kšœ™Kšœ^™^K™—š   œžœ žœ%žœžœ˜YK™—šœžœžœ˜KšœΎ™ΎK™—š  œžœ žœžœžœžœžœžœ˜zK™—š   œžœ žœ1žœžœžœ˜yK™—š  œžœ žœ1žœžœžœ˜ƒK˜—K˜Kšžœ˜J˜J˜—…—ŽŠ