Canvas - page of item PmiCanvas

Properties of PmiCanvas item.
Configuration items:
In onDraw the pEvent.GetParentVar() method will be usedIf checked then enables access from drawing event onDraw to the variables of the parent graphic item by using the pEvent.GetParentVar() method. Also provides calling of the drawing function when some of the parent graphic item variables is changed.

Can be enabled only if the parent item is also of the PmiCanvas type.

The concept of foreground/background:

If the anumated 2D content is complex, large and some portion of it is changing rapidly, the CPU load could be quite high. The possible solution of such situation is to divide the complex PmiCanvas item up into two overlaping PmiCanvas items. One portion being static complex background and the second part being dynamic simple foreground. The item representing the dynamic foreground is embedded in the static background, constituting one compound item. This is the standard solution used for creating most of the preconfigured PmiCanvas items.

The embedded item (foreground) can access Vars variables of the parent item (background). If the Vars variables of the parent item (background) are modified, the refresh of embedded item (background) is provided.

Buttons on the right side of the configuration window of each item:
See also:
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice