Reference Manual
Inti Logo
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

Inti::Gdk::GL::Pixmap Class Reference

A GdkGLPixmap C++ wrapper class. More...

#include <inti/gdk/gl/pixmap.h>

Inheritance diagram for Inti::Gdk::GL::Pixmap:

Inti::Gdk::GL::Drawable List of all members.

Public Member Functions

Constructors
Accessors
Methods

Static Public Member Functions

Protected Member Functions

Constructors

Detailed Description

A GdkGLPixmap C++ wrapper class.

Pixmap represents an OpenGL pixmap which is maintained off-screen.


Constructor & Destructor Documentation

Inti::Gdk::GL::Pixmap::Pixmap GdkGLPixmap *  pixmap,
bool  reference = true
[explicit, protected]
 

Construct a new Pixmap from an existing GdkGLPixmap.

Parameters:
pixmap A pointer to a GdkGLPixmap.
reference Set false if the initial reference count is floating, set true if it's not.

The pixmap can be a newly created GdkGLPixmap or an existing GdkGLPixmap. (see G::Object::Object).


Member Function Documentation

Pointer<Pixmap> Inti::Gdk::GL::Pixmap::create const Config glconfig,
const Gdk::Pixmap &  pixmap,
const int *  attrib_list = 0
[static]
 

Creates an off-screen rendering area.

Parameters:
glconfig A Gdk::GL::Config.
pixmap The Gdk::Pixmap to be used as the rendering area.
attrib_list This must be set to null or empty (first attribute of none).
Returns:
The new Gdk::GL::Pixmap.

The attrib_list argument is currently unused. This must be set to null or empty (first attribute of none, see GLX 1.3 spec).

Gdk::GL::Drawable* Inti::Gdk::GL::Pixmap::get_gl_drawable Gdk::Pixmap &  pixmap  )  [static]
 

Gets the Gdk::GL::Drawable held by the pixmap.

Parameters:
pixmap A Gdk::GL::Pixmap.
Returns:
The Gdk::GL::Drawable.

This method returns the result of get_gl_pixmap() cast to a Gdk::GL::Drawable.

Pixmap* Inti::Gdk::GL::Pixmap::get_gl_pixmap Gdk::Pixmap &  pixmap  )  [static]
 

Gets the Gdk:GL::Pixmap held by pixmap.

Parameters:
pixmap A Gdk::Pixmap.
Returns:
The Gdk::GL::Pixmap.

Gdk::Pixmap* Inti::Gdk::GL::Pixmap::get_pixmap  )  const
 

Gets the Gdk::Pixmap associated with the pixmap.

Returns:
The Gdk::Pixmap associated with the pixmap.

Notice that Gdk::GL::Pixmap is not Gdk::Pixmap, but another Gdk::Drawable which has an associated Gdk::Pixmap.

bool Inti::Gdk::GL::Pixmap::is_gl_capable Gdk::Pixmap &  pixmap  )  [static]
 

Determines whether the pixmap is OpenGL-capable.

Parameters:
pixmap A Gdk::Pixmap.
Returns:
true if the pixmap is OpenGL-capable, false otherwise.

Pointer<Pixmap> Inti::Gdk::GL::Pixmap::set_gl_capability Gdk::Pixmap &  pixmap,
const Config glconfig,
const int *  attrib_list = 0
[static]
 

Set the OpenGL-capability for pixmap.

Parameters:
pixmap The Gdk::Pixmap to be used as the rendering area.
glconfig A Gdk::GL::Config.
attrib_list This must be set to null or empty (a first attribute of none).
Returns:
The Gdk::GL::Pixmap used by the pixmap if it is successful, null otherwise.

This method creates a new Gdk::GL::Pixmap held by pixmap. The attrib_list argument is currently unused. This must be set to null or empty (a first attribute of none).

void Inti::Gdk::GL::Pixmap::unset_gl_capability Gdk::Pixmap &  pixmap  )  [static]
 

Unset the OpenGL-capability for pixmap.

Parameters:
pixmap The Gdk::Pixmap that was used as the rendering area.

This method destroys the Gdk::GL::Pixmap held by the pixmap.


The documentation for this class was generated from the following file: Main Page - Footer


Generated on Sun Sep 14 20:59:26 2003 for Inti-GL by doxygen 1.3.2 written by Dimitri van Heesch, © 1997-2002