FattenPixels.mesa
Copyright (C) 1984, 1985, Xerox Corporation. All rights reserved.
Michael Plass, October 17, 1985 2:21:01 pm PDT
DIRECTORY ImagerPixelMap;
FattenPixels: CEDAR DEFINITIONS ~ BEGIN
PixelMap: TYPE ~ ImagerPixelMap.PixelMap;
FattenSquare: PROC [bitmap: PixelMap, brushSize: NAT];
FattenDiamond: PROC [bitmap: PixelMap, brushSize: NAT];
FattenRound: PROC [bitmap: PixelMap, brushSize: NAT];
ImposeMinimum: PROC [bitmap: PixelMap, brushSize: NAT];
Imposes a minimum stroke width.
ImposeMinimumS: PROC [bitmap: PixelMap, brushSize: NAT];
fattens in S direction only.
ImposeMinimumF: PROC [bitmap: PixelMap, brushSize: NAT];
fattens in F direction only.
AddBorder: PROC [pixelMap: PixelMap, borderSize: NAT, borderValue: CARDINAL] RETURNS [bordered: PixelMap];
END.