Clutter::Cairo::CairoTexture Class Reference

#include <cairo-texture.h>

Inheritance diagram for Clutter::Cairo::CairoTexture:

Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~CairoTexture ()
ClutterCairo * gobj ()
 Provides access to the underlying C GObject.
const ClutterCairo * gobj () const
 Provides access to the underlying C GObject.
ClutterCairo * gobj_copy ()
 Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
::Cairo::RefPtr< ::Cairo::Context > create_cairo_context ()
 Creates a new cairo context Clutter::Cairo texture.

Static Public Member Functions

static Glib::RefPtr< CairoTexturecreate (guint width, guint height)
static void set_source_color (const ::Cairo::RefPtr< ::Cairo::Context > &cr, const Color &color)

Protected Member Functions

 CairoTexture (guint surface_width, guint surface_height)

Related Functions

(Note that these are not member functions.)

Glib::RefPtr
< Clutter::Cairo::CairoTexture
wrap (ClutterCairo *object, bool take_copy=false)
 A Glib::wrap() method for this object.


Constructor & Destructor Documentation

virtual Clutter::Cairo::CairoTexture::~CairoTexture (  )  [virtual]

Clutter::Cairo::CairoTexture::CairoTexture ( guint  surface_width,
guint  surface_height 
) [explicit, protected]


Member Function Documentation

ClutterCairo* Clutter::Cairo::CairoTexture::gobj (  )  [inline]

Provides access to the underlying C GObject.

Reimplemented from Clutter::Texture.

const ClutterCairo* Clutter::Cairo::CairoTexture::gobj (  )  const [inline]

Provides access to the underlying C GObject.

Reimplemented from Clutter::Texture.

ClutterCairo* Clutter::Cairo::CairoTexture::gobj_copy (  ) 

Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.

Reimplemented from Clutter::Texture.

static Glib::RefPtr<CairoTexture> Clutter::Cairo::CairoTexture::create ( guint  width,
guint  height 
) [static]

::Cairo::RefPtr< ::Cairo::Context > Clutter::Cairo::CairoTexture::create_cairo_context (  ) 

Creates a new cairo context Clutter::Cairo texture.

Returns:
A newly created cairo context. Free with cairo_destroy() when you are done drawing.

static void Clutter::Cairo::CairoTexture::set_source_color ( const ::Cairo::RefPtr< ::Cairo::Context > &  cr,
const Color color 
) [static]


Friends And Related Function Documentation

Glib::RefPtr< Clutter::Cairo::CairoTexture > wrap ( ClutterCairo *  object,
bool  take_copy = false 
) [related]

A Glib::wrap() method for this object.

Parameters:
object The C instance.
take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
Returns:
A C++ instance that wraps this C instance.


The documentation for this class was generated from the following file:

Generated on Fri Jun 6 02:18:32 2008 for cluttermm by  doxygen 1.5.5