DIRECTORY Rope, SC, SCPrivate; SCRowUtil: CEDAR DEFINITIONS = BEGIN sideName: ARRAY SC.SideOrNone OF Rope.ROPE; FindMaxRow: PROCEDURE [handle: SC.Handle] RETURNS [maxRowWidth: SC.Number, numMaxRows: SCPrivate.ZMaxRowSr]; AuditRowLengths: PROCEDURE[handle: SC.Handle]; ComputeRowHeight: PROCEDURE[handle: SC.Handle, row: SCPrivate.MaxRowSr]; ComputeSideHeight: PROCEDURE[handle: SC.Handle, side: SC.Side]; RowsForInsts: PROCEDURE[insts: SCPrivate.InstanceList] RETURNS [onSide: SCPrivate.SideSet, onRow: SCPrivate.RowSet]; EnumerateRows: PROC [handle: SC.Handle, eachRow: EachRowProc] RETURNS [quit: BOOL]; EachRowProc: TYPE = PROC [row: SCPrivate.MaxRowSr, lgRow: SCPrivate.LgRow] RETURNS [quit: BOOL _ FALSE]; EnumerateSides: PROC [handle: SC.Handle, eachSide: EachSideProc] RETURNS [quit: BOOL]; EachSideProc: TYPE = PROC [side: SC.Side, bpRow: SCPrivate.BpRow] RETURNS [quit: BOOL _ FALSE]; EnumerateAllInstsOnRow: PROC [handle: SC.Handle, row: SCPrivate.MaxRowSr, eachInstance: EachInstProc] RETURNS [quit: BOOL]; EnumerateInstsOnRow: PROC [handle: SC.Handle, row: SCPrivate.MaxRowSr, startPos, endPos: SCPrivate.ZMaxPosSr, eachInstance: EachInstProc] RETURNS [quit: BOOL]; EnumerateInstsOnRowDecreasing: PROC [handle: SC.Handle, row: SCPrivate.MaxRowSr, startPos, endPos: SCPrivate.ZMaxPosSr, eachInstance: EachInstProc] RETURNS [quit: BOOL]; EachInstProc: TYPE = PROC [pos: NAT, instance: SCPrivate.Instance] RETURNS [quit: BOOL _ FALSE]; EnumerateAllInstsOnSide: PROC [handle: SC.Handle, side: SC.Side, eachInstance: EachInstProc] RETURNS [quit: BOOL]; EnumerateInstsOnSide: PROC [handle: SC.Handle, side: SC.Side, startPos, endPos: SCPrivate.ZMaxPosSr, eachInstance: EachInstProc] RETURNS [quit: BOOL]; EnumerateInstsOnSideDecreasing: PROC [handle: SC.Handle, side: SC.Side, startPos, endPos: SCPrivate.ZMaxPosSr, eachInstance: EachInstProc] RETURNS [quit: BOOL]; END. †SCRowUtil.mesa Copyright c 1986, 1987 by Xerox Corporation. All rights reserved. Preas, February 18, 1987 7:27:37 pm PST row utility routines find the max row length audit the row lengths compute height of row height is max of component heights on row compute height of side height is max of component heights on side get widths of side or row find rows that these comps are on Κ•˜šœ™Icodešœ Οmœ]Οk™k—J˜Jšœ™šž ˜ Jšœžœ ˜J˜—šΟn œžœž œ˜J˜Jšž˜š œ žœžœ žœžœ˜+J˜—Jšœ™š Ÿ œž œ žœ žœžœ*˜mJ˜—Jšœ™šŸœž œ žœ ˜.J˜—Jšœ@™@šŸœž œ žœ"˜HJ˜—JšœB™BšŸœž œ žœžœ˜?J˜—Jšœ™Jšœ"™"šŸ œž œ˜6Jšžœ6˜=J˜—š Ÿ œžœ žœžœžœ˜TJ˜Kš œ žœžœ3žœžœžœ˜hK˜—š Ÿœžœ žœ!žœžœ˜WJ˜Kš œžœžœžœžœžœžœ˜_K˜—š Ÿœžœ žœ>žœžœ˜|K˜—Kš Ÿœžœ žœežœžœ˜ K˜š Ÿœžœ žœežœžœ˜ͺJ˜Kš œžœžœžœ žœžœžœ˜`K˜—Kš Ÿœžœ žœžœ#žœžœ˜sK˜š Ÿœžœ žœžœJžœžœ˜—K˜—š Ÿœžœ žœžœJžœžœ˜‘K˜—Jšžœ˜J˜——…—v ‘