User Guide
Cross-product architecture 109
object server object, or
dictionary
<obj value="1" />
For an object type, the client
can simply specify a server
object. However, for certain
objects (such as objects of the
Effect class) a dictionary can
be constructed and then used.
If the client creates a dictionary,
all properties of the class must
be added to the dictionary with
the correct type.
point dictionary
<dict>
<double key="x"
value="300.4" />
<double key="y"
value="234.0" />
</dict>
A point is a dictionary with two
subelement keys:
x and y. Both
subelements are float
data types.
rect dictionary
<dict>
<double key="top"
value="300.4" />
<double key="left"
value="234.0" />
<double key="bottom"
value="500.6" />
<double key="right"
value="564.0" />
</dict>
A rect is a dictionary with four
subelement keys:
top, left,
bottom, and right. All four
subelements are float data
types.
resolution dictionary
<dict>
<string key="units"
value="inch" />
<double
key="pixelsPerUnit"
value="72.0" />
</dict>
A resolution is a dictionary with
two subelement keys:
units and
pixelsPerUnit. The units key
can be any of these strings:
inch, cm, or pixels.The
pixelsPerUnit key is a float data
type.
string string
<string value="foo" />
Types map identically.
URL string
<string
value="file://hd/www"
/>
A URL is a string. It usually
starts with
file://.
void void
<void />
Types map identically.
DOM data
type
RPC data
type
Example Description