DRAW

DRAW(canvas)
Type: directive
Defines the default canvas where the drawing takes place.
In case of an OpenGL canvas where GL_FREEZE is enabled (see HUGOPTIONS), or in case non-HUG drawing is used, this function must be called first, as it will prepare the drawing buffer. Then after the actual drawing is finished, the GL canvas must be updated using the SYNC directive.
In all cases the DRAW directive returns the actual lowlevel drawing sub widget.
