You may return to the Cvo Object Documenation Index from this document. This document contains the following sections describing the Cvo_PaintViewPort object:
Cvo_PaintViewPort
Cvo_ViewPort
#include
<Cvo/PaintViewPort.h++>
new
Cvo_PaintViewPort ( char *resource_name,
{ Cvo_Object *parent | Display *display },
[ int width, int height ] )
A Cvo_PaintViewPort object is simply a NO_SUCH_ALIAS object inside of a viewport. The optional width and height parameters indicate the size of the canvas to be used on the NO_SUCH_ALIAS object which this object will create and view.
This object defines the following member functions in addition to those defined by its parent and ancestor objects.
NO_SUCH_ALIAS *Paint (
)
This function returns the NO_SUCH_ALIAS object associated with the Cvo_PaintViewPort.
This object is composed of the following Cvo objects. Each object has the shown resource name. This link displays the composition of the parent object.
NO_SUCH_ALIAS
:
*CvoPaintViewPort*viewPortFrame
This object modifies the following X resources which are used by its parent or other ancestors.
*CvoPaintViewPort.BorderWidth
(new value:
0
)
See the example source code for an example of how to use this object.
See the legend for information about the conventions used in this documentation.