adapted corner anchors for ALU, EXT and MUX

This commit is contained in:
Louis Heredero 2024-05-18 17:02:42 +02:00
parent 7731159dd0
commit f9916e5856
Signed by: HEL
GPG Key ID: 8D83DE470F8544E7
3 changed files with 12 additions and 0 deletions

View File

@ -24,6 +24,10 @@
draw.anchor("south", (p2, 50%, p3)) draw.anchor("south", (p2, 50%, p3))
draw.anchor("west", (p0, 50%, p3)) draw.anchor("west", (p0, 50%, p3))
draw.anchor("east", (p1, 50%, p2)) draw.anchor("east", (p1, 50%, p2))
draw.anchor("north-west", p0)
draw.anchor("north-east", p1)
draw.anchor("south-east", p2)
draw.anchor("south-west", p3)
draw.anchor("name", (p5, 50%, (p1, 50%, p2))) draw.anchor("name", (p5, 50%, (p1, 50%, p2)))
}) })

View File

@ -30,6 +30,10 @@
draw.anchor("south", (bl, 50%, br)) draw.anchor("south", (bl, 50%, br))
draw.anchor("west", (tl, 50%, bl)) draw.anchor("west", (tl, 50%, bl))
draw.anchor("east", (tr2, 50%, br)) draw.anchor("east", (tr2, 50%, br))
draw.anchor("north-west", tl)
draw.anchor("north-east", tr2)
draw.anchor("south-east", br)
draw.anchor("south-west", bl)
}) })
return (f, tl, tr, br, bl) return (f, tl, tr, br, bl)
} }

View File

@ -19,6 +19,10 @@
draw.anchor("south", (bl, 50%, br2)) draw.anchor("south", (bl, 50%, br2))
draw.anchor("west", (tl, 50%, bl)) draw.anchor("west", (tl, 50%, bl))
draw.anchor("east", (tr2, 50%, br2)) draw.anchor("east", (tr2, 50%, br2))
draw.anchor("north-west", tl)
draw.anchor("north-east", tr2)
draw.anchor("south-east", br2)
draw.anchor("south-west", bl)
}) })
return (f, tl, tr, br, bl) return (f, tl, tr, br, bl)