Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Examples  

Gdk::GL::Pixmap Class Reference
[GL Drawables]

OpenGL pixmap which is maintained offscreen. More...

#include <pixmap.h>

Inheritance diagram for Gdk::GL::Pixmap:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~Pixmap ()
GdkGLPixmap * gobj ()
const GdkGLPixmap * gobj () const
GdkGLPixmap * gobj_copy ()
Glib::RefPtr< Gdk::Pixmap > get_pixmap ()
 Returns the Gdk::Pixmap associated with glpixmap .

Glib::RefPtr< const Gdk::Pixmap > get_pixmap () const
 Returns the Gdk::Pixmap associated with glpixmap .


Static Public Member Functions

Glib::RefPtr< Pixmap > create (const Glib::RefPtr< const Config > &glconfig, const Glib::RefPtr< const Gdk::Pixmap > &pixmap, const int *attrib_list)
Glib::RefPtr< Pixmap > set_gl_capability (const Glib::RefPtr< Gdk::Pixmap > &pixmap, const Glib::RefPtr< const Config > &glconfig, const int *attrib_list=0)
 Set the OpenGL-capability to the pixmap .

void unset_gl_capability (const Glib::RefPtr< Gdk::Pixmap > &pixmap)
 Unset the OpenGL-capability of the pixmap .

bool is_gl_capable (const Glib::RefPtr< const Gdk::Pixmap > &pixmap)
 Returns whether the pixmap is OpenGL-capable.

Glib::RefPtr< Pixmap > get_gl_pixmap (const Glib::RefPtr< const Gdk::Pixmap > &pixmap)
 Returns the Gdk::GLPixmap held by the pixmap .

Glib::RefPtr< Gdk::GL::Drawableget_gl_drawable (const Glib::RefPtr< const Gdk::Pixmap > &pixmap)

Protected Member Functions

 Pixmap (const Glib::RefPtr< const Config > &glconfig, const Glib::RefPtr< const Gdk::Pixmap > &pixmap, const int *attrib_list=0)

Related Functions

(Note that these are not member functions.)

Glib::RefPtr< Gdk::GL::Pixmap > wrap (GdkGLPixmap *object, bool take_copy=false)

Detailed Description

OpenGL pixmap which is maintained offscreen.


Constructor & Destructor Documentation

virtual Gdk::GL::Pixmap::~Pixmap  )  [virtual]
 

Gdk::GL::Pixmap::Pixmap const Glib::RefPtr< const Config > &  glconfig,
const Glib::RefPtr< const Gdk::Pixmap > &  pixmap,
const int *  attrib_list = 0
[protected]
 


Member Function Documentation

Glib::RefPtr<Pixmap> Gdk::GL::Pixmap::create const Glib::RefPtr< const Config > &  glconfig,
const Glib::RefPtr< const Gdk::Pixmap > &  pixmap,
const int *  attrib_list
[static]
 

Glib::RefPtr<Gdk::GL::Drawable> Gdk::GL::Pixmap::get_gl_drawable const Glib::RefPtr< const Gdk::Pixmap > &  pixmap  )  [static]
 

Glib::RefPtr<Pixmap> Gdk::GL::Pixmap::get_gl_pixmap const Glib::RefPtr< const Gdk::Pixmap > &  pixmap  )  [static]
 

Returns the Gdk::GLPixmap held by the pixmap .

Returns:
The Gdk::GLPixmap.

Glib::RefPtr<const Gdk::Pixmap> Gdk::GL::Pixmap::get_pixmap  )  const
 

Returns the Gdk::Pixmap associated with glpixmap .

Notice that Gdk::GLPixmap is not Gdk::Pixmap, but another Gdk::Drawable which have an associated Gdk::Pixmap.

Returns:
The Gdk::Pixmap associated with glpixmap .

Glib::RefPtr<Gdk::Pixmap> Gdk::GL::Pixmap::get_pixmap  ) 
 

Returns the Gdk::Pixmap associated with glpixmap .

Notice that Gdk::GLPixmap is not Gdk::Pixmap, but another Gdk::Drawable which have an associated Gdk::Pixmap.

Returns:
The Gdk::Pixmap associated with glpixmap .

const GdkGLPixmap* Gdk::GL::Pixmap::gobj  )  const [inline]
 

Reimplemented from Gdk::GL::Drawable.

GdkGLPixmap* Gdk::GL::Pixmap::gobj  )  [inline]
 

Reimplemented from Gdk::GL::Drawable.

GdkGLPixmap* Gdk::GL::Pixmap::gobj_copy  ) 
 

bool Gdk::GL::Pixmap::is_gl_capable const Glib::RefPtr< const Gdk::Pixmap > &  pixmap  )  [static]
 

Returns whether the pixmap is OpenGL-capable.

Returns:
true if the pixmap is OpenGL-capable, false otherwise.

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

Set the OpenGL-capability to the pixmap .

The call creates a new Gdk::GLPixmap. attrib_list is currently unused. This must be set to 0 or empty (first attribute of None).

Parameters:
glconfig A Gdk::GLConfig.
attrib_list This must be set to 0 or empty (first attribute of None).
Returns:
The Gdk::GLPixmap used by the pixmap if it is successful, 0 otherwise.
Examples:
pixmap-mixed.cc, and pixmap.cc.

void Gdk::GL::Pixmap::unset_gl_capability const Glib::RefPtr< Gdk::Pixmap > &  pixmap  )  [static]
 

Unset the OpenGL-capability of the pixmap .

This function destroys the Gdk::GLPixmap held by the pixmap .


Friends And Related Function Documentation

Glib::RefPtr< Gdk::GL::Pixmap > wrap GdkGLPixmap *  object,
bool  take_copy = false
[related]
 


The documentation for this class was generated from the following file:
Generated on Sat May 17 02:10:03 2003 for gtkglextmm by doxygen1.3