File: drcSimpleTests_60.drc

package info (click to toggle)
klayout 0.30.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 292,204 kB
  • sloc: cpp: 2,068,428; ruby: 47,823; xml: 26,924; python: 14,404; sh: 1,812; tcl: 212; perl: 170; makefile: 112; ansic: 42
file content (30 lines) | stat: -rw-r--r-- 726 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

# Moved implementation

source($drc_test_source)
target($drc_test_target)

if $drc_test_deep
  deep
end

l8 = input(8, 0)
l9 = input(9, 0)

l8.output(8, 0)
l9.output(9, 0)

# NOTE: "sized" tests issue #1216
l8.sized(0.1, 0).moved(-0.1, 0).sized(0, 0.1).moved(0, -0.1).output(108, 0)
l9.sized(0.1, 0).moved(-0.1, 0).sized(0, 0.1).moved(0, -0.1).output(109, 0)

l8.edges.moved(-0.1, -0.1).extended_out(0.05).output(118, 0)
l9.edges.moved(-0.1, -0.1).extended_out(0.05).output(119, 0)

# NOTE: "sized" tests issue #1216
l8.rotated(90.0).sized(0, 0.1).output(208, 0)
l9.rotated(90.0).sized(0, 0.1).output(209, 0)

l8.edges.rotated(90.0).extended_out(0.05).output(218, 0)
l9.edges.rotated(90.0).extended_out(0.05).output(219, 0)