You may return to the Cvo Object Documenation Index from this document. This document contains the following sections describing the Cvo_Paint object:

Class

Cvo_Paint

Base

Cvo_Window

Syntax

#include <Cvo/Paint.h++>

new Cvo_Paint ( char *resource_name,
{ Cvo_Object *parent | Display *display },
[ int width, int height ] )

Overview

The Cvo_Paint object provides a canvas on which the application may draw. If width and height are provided, they specify how big the drawable area should be.

The Cvo_Paint object actually has two Cvo_Pixmap objects associated with it. One is the currently displayed Cvo_Pixmap and the other is the one in which the application draws, the drawable canvas. Calling the Flush() member function on the object will cause the displayable Cvo_Pixmap to be updated with the contents of the drawable Cvo_Pixmap.

Member Functions

This object defines the following member functions in addition to those defined by its parent and ancestor objects.

Modified X Resources

This object modifies the following X resources which are used by its parent or other ancestors.


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.