File: t3.9.ot

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 (39 lines) | stat: -rw-r--r-- 1,002 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
31
32
33
34
35
36
37
38
39
# <test>
#   <name>t3.9.ot</name>
#   <content-description>A single cell with one text object</content-description>
#   <test-intention>Geometrical objects reader capabilities</test-intention>
#   <test-intention>TEXT record reading</test-intention>
#   <test-intention>Text string specification by ID</test-intention>
#   <test-intention>Implicit assignment of text ID</test-intention>
#   <test-intention>Access to (automatically) initialised modal variable text-x</test-intention>
#   <content>
#     begin_lib 0.001
#     begin_cell {ABC}
#     text 1 2 0 0 {0 -200} {A}
#     end_cell
#     end_lib
#   </content>
# </test>

header
  real 0 1000.0
  uint 0 ;# offset table is in start record
  for { set i 0 } { $i < 12 } { incr i } { uint 0 }

# Text definition
record TEXTSTRING
  str A

# Cell ABC
record CELL_STR
  str ABC

record TEXT
  bits 01101011 ;# 0CNXYRTL
  uint 0        ;# text-id
  uint 1        ;# text-layer
  uint 2        ;# text-datatype
  int -200      ;# text-y (abs)

tail