Canon
to Site index
to Home to CISRA Overview to Canon Gateway

Back to OpenPage Introduction
         

Graphic Expressions

OpenPage treats graphic primitives (shapes, images and text) as operands in expressions. They are combined using compositing operators to make new, more complex graphic objects. These can be further combined and operated on, all using conventional expression syntax
The following example shows how the in operator can be used in the construction of a more complex graphic element

rect(7.5, 7.5, 25, 15);
box = draw(path());
rect(7.5, 7.5, 25, 15);
rect(0, 0, 40, 30);
gc_opacity(1, 0);
frame = draw(path());
pic = image("castaway.tiff");
pic = pic in (box over frame);


Back to Top