SCUtil.mesa
Copyright Ó 1985, 1987 by Xerox Corporation. All rights reserved.
Jean-Marc Frailong October 11, 1987 3:01:27 pm PDT
by Bryan Preas August 29, 1985 2:48:22 pm PDT
last edited by Bryan Preas August 20, 1987 12:26:10 pm PDT
DIRECTORY
Basics, CDSymbolicObjects, Core, CoreGeometry, CoreProperties, FS, RedBlackTree, Rope, RTBasic, SC, SCPrivate;
SCUtil: CEDAR DEFINITIONS =
BEGIN
Not yet converted
XYToPQ: PROC [handle: SC.Handle, pos: SC.Pos] RETURNS [pqPos: RTBasic.PQPos];
convert a position from x-y to p-q space.
PQToXY: PROC [handle: SC.Handle, pqPos: RTBasic.PQPos] RETURNS [pos: SC.Pos];
convert a position from p-q to x-y space.
FindPin: PROC [object: SCPrivate.Object, pinName: Rope.ROPE] RETURNS [pin: SCPrivate.ObjectPin ← NIL];
FindPinByWire: PROC [object: SCPrivate.Object, wire: Core.Wire] RETURNS [pin: SCPrivate.ObjectPin ← NIL];
FindInstance: PROC [handle: SC.Handle, instanceName: Rope.ROPE] RETURNS [instance: SCPrivate.Instance ← NIL];
IsPowerName: PROC [handle: SC.Handle, name: Rope.ROPE] RETURNS [found: BOOLEANFALSE];
IsPadType: PROC [object: SCPrivate.Object] RETURNS [isPad: BOOLEANFALSE] = INLINE {RETURN[object.typeClass = io]};
translate: PUBLIC ARRAY SC.Side OF ARRAY SCPrivate.OrientationOrNone OF SC.Side;
SideTranslate: PROC [side: SC.Side, orien: SCPrivate.OrientationOrNone] RETURNS [SC.Side] = INLINE {RETURN[translate[side][orien]]};
DirectionFromSide: PROC [side: CoreGeometry.Side] RETURNS [CDSymbolicObjects.Direction];
WriteResults: PROC [title: Rope.ROPE, handle: SC.Handle, startArea: SC.Number] RETURNS [area: SC.Number];
WriteStructure: PROC [handle: SC.Handle];
DestroyRules: PROC [handle: SC.Handle];
DestroyParms: PROC [handle: SC.Handle];
GetCoreInvestmentProp: PROC [cellType: Core.CellType, prop: ATOM] RETURNS [SC.HowLongToWork];
get an investment property from a cell
WriteTWFiles: PROC [handle: SC.Handle];
write timberWolf files
ReadTWPlace: PROC [handle: SC.Handle];
write timberWolf files
END.