Canvas(3X) manual page
Table of Contents
Canvas - area of the display used by an interactor for graphics output
#include <ivplus/canvas.h>
Canvas is an area for graphics
output associated with an interactor. Most interactors do not need to perform
any operations on a canvas; they simply pass a canvas as an argument to
graphics operations. In this case, it is not necessary to include the canvas.h
file.
Canvas
Creates a canvas.
These are used together as return values for the status() operation.
Returns the height in pixels
of the canvas.
Sets
the size of the canvas to int width and int height pixel values.
Returns a pointer to the CanvasRep for the canvas. The CanvasRep
class is a low level interface to X Windows. It is not expected that developers
will need details of the CanvasRep interface so the CanvasRep class is
not documented.
Sets the
background color of the canvas to color.
Returns whether the canvas is currently mapped, unmapped, or off
screen.
Returns the width of the canvas in pixels.
Returns a pointer to the window associated with
the canvas.
None.
None.
No example
for this class. See Color(3X)
, Shape(3X)
, Pattern(3X)
, and Painter(3X)
for
examples.
canvas.h
Interactor(3X)
, Painter(3X)
, Window(3X)
.
Table of Contents