AddRect:
PUBLIC
PROC [mode: Sinix.Mode, wire: Wire, rect:
CD.Rect, layer:
CD.Layer] = {
instance:
CD.Instance ← PWPins.NewInstance[
ob: CDRects.CreateRect[CDBasics.SizeOfRect[rect], layer],
location: CDBasics.BaseOfRect[rect]
];
Sinix.AddWireGeometryProp[mode, wire, instance];
Sinix.AddPinsProp[mode, wire, instance];
};