2017-02-12 13:21:08 +01:00
|
|
|
# <test>
|
|
|
|
|
# <name>t3.11.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>Access to uninitialised modal variable text-string</test-intention>
|
|
|
|
|
# <must-fail>Modal variable accessed before being defined: text-string</must-fail>
|
|
|
|
|
# </test>
|
|
|
|
|
|
2021-08-11 07:33:43 +02:00
|
|
|
header
|
2017-02-12 13:21:08 +01:00
|
|
|
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
|
2021-08-11 07:33:43 +02:00
|
|
|
|
2017-02-12 13:21:08 +01:00
|
|
|
# Cell ABC
|
|
|
|
|
record CELL_STR
|
2021-08-11 07:33:43 +02:00
|
|
|
str ABC
|
2017-02-12 13:21:08 +01:00
|
|
|
|
|
|
|
|
record TEXT
|
|
|
|
|
bits 00011011 ;# 0CNXYRTL
|
|
|
|
|
uint 1 ;# text-layer
|
|
|
|
|
uint 2 ;# text-datatype
|
|
|
|
|
int 100 ;# text-x (abs)
|
|
|
|
|
int -200 ;# text-y (abs)
|
|
|
|
|
|
2021-08-11 07:33:43 +02:00
|
|
|
tail
|
2017-02-12 13:21:08 +01:00
|
|
|
|