<> <> <> <<>> DIRECTORY ColorTrixBasics, ImagerPixelMap, ImagerSample, Terminal; <<>> ColorTrixMod: CEDAR DEFINITIONS ~ BEGIN Table: TYPE ~ REF TableRep; TableRep: TYPE ~ ARRAY [0..256) OF NAT; PixelMap: TYPE ~ ImagerPixelMap.PixelMap; <> Indirect: PROC [pm: PixelMap, table: Table]; <> Dif: PROC [pm: PixelMap, x0, y0, x1, y1, x2, y2, w, h: NAT]; <> <<>> Up: PROC [pm: PixelMap, shift: INTEGER]; <> Left: PROC [pm: PixelMap, shift: INTEGER]; <> Negate: PROC [pm: PixelMap]; <> ReflectH: PUBLIC PROC [pm: PixelMap]; <> <<>> ReflectV: PUBLIC PROC [pm: PixelMap]; <> <<>> MirrorH: PUBLIC PROC [pm: PixelMap, topToBottom: BOOL _ TRUE]; <> <<>> MirrorV: PUBLIC PROC [pm: PixelMap, leftToRight: BOOL _ TRUE]; <> <<>> Lum: PROC [pm: PixelMap]; <> RampH: PROC [pm: PixelMap]; <> RampV: PROC [pm: PixelMap]; <> PVal: PROC [pm: PixelMap, new: NAT, old: LIST OF NAT]; <> END.