ImagerConversionDoc.tioga
Doug Wyatt, February 25, 1986 11:59:11 am PST
Michael Plass, January 21, 1986 1:25:15 pm PST
CONVERTING TO THE CEDAR 6.1 IMAGER
CEDAR 6.1 — FOR INTERNAL XEROX USE ONLY
Converting to the Cedar 6.1 Imager
Michael Plass and Doug Wyatt
© Copyright 1986 Xerox Corporation. All rights reserved.
Abstract: The abstract goes here.
Created by: Package creator(s)
Maintained by: Package maintainer(s) <RName>
Keywords: keyword1, keyword2, ...
XEROX Xerox Corporation
Palo Alto Research Center
3333 Coyote Hill Road
Palo Alto, California 94304
For Internal Xerox Use Only
Notation
A —> B Trival conversion (usually just a rename)
A ~> B Slightly more complicated (parameters may be restructured)
A ~~~> B,C,D A has no direct replacement, but a similar function may be obtained by using B, C, and D in the right combination.
ImagerSample
This interface subsumes ImagerPixelMap, SampleMapOps and the old ImagerSample
Vec: TYPE ~ RECORD [s, f: NAT]; "sSize, fSize: CARDINAL" ~> "size: Vec".
Box: TYPE ~ RECORD [min, size: Vec]; "start, size: CVEC" ~> "box: Box".
SampleMapOps.SampleMap —> ImagerSample.SampleMap
SampleMapOps.CVEC —> ImagerSample.Vec
SampleMapOps.ComputeWords ~> ImagerSample.WordsForMap
SampleMapOps.UnsafeCreate ~> ImagerSample.UnsafeNewMap
SampleMapOps.Create ~> ImagerSample.NewMap
SampleMapOps.FromVM ~> ImagerSample.MapFromVM
SampleMapOps.FromSubMap —> ImagerSample.MapFromSubMap
SampleMapOps.Copy —> ImagerSample.CopyMap
SampleMapOps.ObtainScratch ~> ImagerSample.ObtainScratchMap
SampleMapOps.ReleaseScratch —> ImagerSample.ReleaseScratchMap
SampleMapOps.DoWithScratch ~> ImagerSample.DoWithScratchMap
SampleMapOps.Size —> (access size field of record)
SampleMapOps.TileBox ~> ImagerSample.Tile
SampleMapOps.BoxProc ~~~> use ImagerSample.BoxBuffer
SampleMapOps.GetSample ~> ImagerSample.Get
SampleMapOps.PutSample ~> ImagerSample.Put
SampleMapOps.Get ~> ImagerSample.GetSamples
SampleMapOps.Put ~> ImagerSample.PutSamples
ImagerTransformation
Added ScanMode, SFToXY, XYToSF, ApplyInvert
ImagerFont
Typeface type now defined here. Font is just an atom-like REF. Added FindScaled.
Imager
Added FindFontScaled.
MaskBits now takes a SampleMap argument.
ImagerOps
PixelArrayFromPixelMaps ~~~> ImagerPixelArray.FromSampleMap, ImagerPixelArray.Join
PixelMapFromPixelArray ~~~> Sample.CreateMap, ImagerPixelArray.GetRaster
PixelMapFromFrameBuffer ~> Sample.MapFromFrameBuffer
ContextFromPixelMaps: removed (was never implemented)
ImagerManhattan
DeviceRectangle ~> Box
ImagerManhattanExtras
Merged into ImagerManhattan.
ImagerDevice
MaskRuns subsumed by MaskBoxes.