2017-02-12 13:21:08 +01:00
|
|
|
# <test>
|
|
|
|
|
# <name>t11.1.ot</name>
|
|
|
|
|
# <content-description>Various shapes with properties</content-description>
|
|
|
|
|
# <test-intention>Properties reader capabilities</test-intention>
|
|
|
|
|
# <test-intention>PROPERTY record reading</test-intention>
|
|
|
|
|
# <test-intention>PROPSTRING record reading</test-intention>
|
|
|
|
|
# <test-intention>PROPNAME record reading</test-intention>
|
|
|
|
|
# <test-intention>Property string references by ID</test-intention>
|
|
|
|
|
# <test-intention>Property name references by ID</test-intention>
|
|
|
|
|
# </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 }
|
|
|
|
|
|
|
|
|
|
# property string 12
|
|
|
|
|
record PROPSTRING_ID
|
|
|
|
|
str PropStringId12
|
|
|
|
|
uint 12
|
|
|
|
|
|
|
|
|
|
# property string 13
|
|
|
|
|
record PROPSTRING_ID
|
|
|
|
|
str {Property string value for ID 13}
|
|
|
|
|
uint 13
|
|
|
|
|
|
|
|
|
|
# property name 0
|
|
|
|
|
record PROPNAME
|
2021-08-11 07:33:43 +02:00
|
|
|
str PROP0
|
2017-02-12 13:21:08 +01:00
|
|
|
|
|
|
|
|
# property name 1
|
|
|
|
|
record PROPNAME
|
2021-08-11 07:33:43 +02:00
|
|
|
str PROP1
|
2017-02-12 13:21:08 +01:00
|
|
|
|
|
|
|
|
# Cell A
|
|
|
|
|
record CELL_STR
|
2021-08-11 07:33:43 +02:00
|
|
|
str A
|
2017-02-12 13:21:08 +01:00
|
|
|
|
|
|
|
|
record XYRELATIVE
|
|
|
|
|
|
|
|
|
|
record RECTANGLE
|
|
|
|
|
bits 01100011 ;# SWHXYRDL
|
|
|
|
|
uint 1 ;# layer
|
|
|
|
|
uint 2 ;# datatype
|
|
|
|
|
uint 100 ;# width
|
|
|
|
|
uint 200 ;# height
|
|
|
|
|
|
2021-08-11 07:33:43 +02:00
|
|
|
record PROPERTY
|
2017-02-12 13:21:08 +01:00
|
|
|
bits 00000100 ;# property info byte UUUUVCNS
|
|
|
|
|
str PROPX
|
|
|
|
|
|
|
|
|
|
record RECTANGLE
|
|
|
|
|
bits 01111011 ;# SWHXYRDL
|
|
|
|
|
uint 1 ;# layer
|
|
|
|
|
uint 2 ;# datatype
|
|
|
|
|
uint 100 ;# width
|
|
|
|
|
uint 200 ;# height
|
2021-08-11 07:25:06 +02:00
|
|
|
int 0 ;# geometry-x (relative)
|
|
|
|
|
int 1000 ;# geometry-y (relative)
|
2017-02-12 13:21:08 +01:00
|
|
|
|
2021-08-11 07:33:43 +02:00
|
|
|
record PROPERTY
|
2017-02-12 13:21:08 +01:00
|
|
|
bits 00010110 ;# property info byte UUUUVCNS
|
2021-08-11 07:25:06 +02:00
|
|
|
uint 0 ;# propname-id
|
2017-02-12 13:21:08 +01:00
|
|
|
real 1 -5 ;# prop value #0
|
|
|
|
|
|
|
|
|
|
record RECTANGLE
|
|
|
|
|
bits 01111011 ;# SWHXYRDL
|
|
|
|
|
uint 1 ;# layer
|
|
|
|
|
uint 2 ;# datatype
|
|
|
|
|
uint 100 ;# width
|
|
|
|
|
uint 200 ;# height
|
2021-08-11 07:25:06 +02:00
|
|
|
int 0 ;# geometry-x (relative)
|
|
|
|
|
int 1000 ;# geometry-y (relative)
|
2017-02-12 13:21:08 +01:00
|
|
|
|
2021-08-11 07:33:43 +02:00
|
|
|
record PROPERTY
|
2017-02-12 13:21:08 +01:00
|
|
|
bits 01000110 ;# property info byte UUUUVCNS
|
|
|
|
|
uint 0 ;# propname-id
|
|
|
|
|
uint 8 ;# prop-value #0 (unsigned int)
|
2021-08-11 07:33:43 +02:00
|
|
|
uint 25
|
2017-02-12 13:21:08 +01:00
|
|
|
uint 9 ;# prop-value #1 (signed int)
|
|
|
|
|
int -124
|
|
|
|
|
uint 10 ;# prop-value #2 (a-string)
|
|
|
|
|
str PROP_VALUE2
|
|
|
|
|
uint 13 ;# prop-value #3 (prop-string reference number)
|
|
|
|
|
uint 12
|
|
|
|
|
|
|
|
|
|
record RECTANGLE
|
|
|
|
|
bits 01111011 ;# SWHXYRDL
|
|
|
|
|
uint 1 ;# layer
|
|
|
|
|
uint 2 ;# datatype
|
|
|
|
|
uint 100 ;# width
|
|
|
|
|
uint 200 ;# height
|
2021-08-11 07:25:06 +02:00
|
|
|
int 0 ;# geometry-x (relative)
|
|
|
|
|
int 1000 ;# geometry-y (relative)
|
2017-02-12 13:21:08 +01:00
|
|
|
|
2021-08-11 07:33:43 +02:00
|
|
|
record PROPERTY
|
2017-02-12 13:21:08 +01:00
|
|
|
bits 11110000 ;# property info byte UUUUVCNS
|
|
|
|
|
uint 3 ;# number of values
|
|
|
|
|
uint 0 ;# prop-value #0 (real as unsigned int)
|
2021-08-11 07:33:43 +02:00
|
|
|
uint 25
|
2017-02-12 13:21:08 +01:00
|
|
|
uint 9 ;# prop-value #1 (signed int)
|
|
|
|
|
int -124
|
|
|
|
|
uint 14 ;# prop-value #2 (prop-string reference number)
|
|
|
|
|
uint 13
|
|
|
|
|
|
|
|
|
|
record RECTANGLE
|
|
|
|
|
bits 01111011 ;# SWHXYRDL
|
|
|
|
|
uint 1 ;# layer
|
|
|
|
|
uint 2 ;# datatype
|
|
|
|
|
uint 100 ;# width
|
|
|
|
|
uint 200 ;# height
|
2021-08-11 07:25:06 +02:00
|
|
|
int 0 ;# geometry-x (relative)
|
|
|
|
|
int 1000 ;# geometry-y (relative)
|
2017-02-12 13:21:08 +01:00
|
|
|
|
2021-08-11 07:33:43 +02:00
|
|
|
record PROPERTY
|
2017-02-12 13:21:08 +01:00
|
|
|
bits 00001000 ;# property info byte UUUUVCNS
|
|
|
|
|
|
|
|
|
|
record XYABSOLUTE
|
|
|
|
|
|
|
|
|
|
record TEXT
|
|
|
|
|
bits 01011011 ;# 0CNXYRTL
|
|
|
|
|
str A ;# text-string
|
|
|
|
|
uint 2 ;# text-layer
|
|
|
|
|
uint 1 ;# text-datatype
|
2021-08-11 07:25:06 +02:00
|
|
|
int 1000 ;# text-x (absolute)
|
|
|
|
|
int 0 ;# text-y (absolute)
|
2017-02-12 13:21:08 +01:00
|
|
|
|
|
|
|
|
record PROPERTY_REP
|
|
|
|
|
|
|
|
|
|
record PATH
|
|
|
|
|
bits 11111011 ;# EWPXYRDL
|
|
|
|
|
uint 1 ;# layer
|
|
|
|
|
uint 2 ;# datatype
|
|
|
|
|
uint 10 ;# half-width
|
|
|
|
|
bits 00001111 ;# extension-scheme SSEE
|
2021-08-11 07:33:43 +02:00
|
|
|
int 5
|
2017-02-12 13:21:08 +01:00
|
|
|
int -5
|
|
|
|
|
uint 0 ;# pointlist: 1-delta (hor. first)
|
2021-08-11 07:33:43 +02:00
|
|
|
uint 3
|
2017-02-12 13:21:08 +01:00
|
|
|
int 150
|
|
|
|
|
int 50
|
|
|
|
|
int -50
|
2021-08-11 07:25:06 +02:00
|
|
|
int 2000 ;# geometry-x (absolute)
|
|
|
|
|
int 0 ;# geometry-y (absolute)
|
2017-02-12 13:21:08 +01:00
|
|
|
|
|
|
|
|
record PROPERTY_REP
|
|
|
|
|
|
|
|
|
|
record POLYGON
|
|
|
|
|
bits 00111011 ;# 00PXYRDL
|
|
|
|
|
uint 1 ;# layer
|
|
|
|
|
uint 2 ;# datatype
|
|
|
|
|
uint 0 ;# pointlist: 1-delta (hor. first)
|
2021-08-11 07:33:43 +02:00
|
|
|
uint 4
|
2017-02-12 13:21:08 +01:00
|
|
|
int 150
|
|
|
|
|
int 50
|
|
|
|
|
int -50
|
|
|
|
|
int 50
|
2021-08-11 07:25:06 +02:00
|
|
|
int 3000 ;# geometry-x (absolute)
|
|
|
|
|
int 0 ;# geometry-y (absolute)
|
2017-02-12 13:21:08 +01:00
|
|
|
|
|
|
|
|
record PROPERTY_REP
|
|
|
|
|
|
2021-08-11 07:33:43 +02:00
|
|
|
record PROPERTY
|
2017-02-12 13:21:08 +01:00
|
|
|
bits 00000110 ;# property info byte UUUUVCNS
|
|
|
|
|
uint 1 ;# propname-id
|
|
|
|
|
|
|
|
|
|
tail
|
|
|
|
|
|