CairoTexture
Object Hierarchy:
Clutter.CairoTexture
Clutter.CairoTexture
Clutter.CairoTexture
Clutter.Texture
Clutter.Texture
Clutter.Texture->Clutter.CairoTexture
Clutter.Actor
Clutter.Actor
Clutter.Actor->Clutter.Texture
GLib.InitiallyUnowned
GLib.InitiallyUnowned
GLib.InitiallyUnowned->Clutter.Actor
GLib.Object
GLib.Object
GLib.Object->GLib.InitiallyUnowned
Atk.Implementor
Atk.Implementor
Atk.Implementor->Clutter.CairoTexture
Atk.Implementor->Clutter.Texture
Atk.Implementor->Clutter.Actor
Clutter.Animatable
Clutter.Animatable
Clutter.Animatable->Clutter.CairoTexture
Clutter.Animatable->Clutter.Texture
Clutter.Animatable->Clutter.Actor
Clutter.Container
Clutter.Container
Clutter.Container->Clutter.CairoTexture
Clutter.Container->Clutter.Texture
Clutter.Container->Clutter.Actor
Clutter.Scriptable
Clutter.Scriptable
Clutter.Scriptable->Clutter.CairoTexture
Clutter.Scriptable->Clutter.Texture
Clutter.Scriptable->Clutter.Actor
Description:
[
CCode ( type_id =
"clutter_cairo_texture_get_type ()" ) ]
[
Version ( deprecated =
true , deprecated_since =
"1.12" , since =
"1.0" ) ]
public class CairoTexture :
Texture ,
Implementor ,
Animatable ,
Container ,
Scriptable
Warning: CairoTexture is deprecated since 1.12.
The CairoTexture struct contains only private data.
Content:
Properties:
public bool auto_resize { get ; set ; }
Controls whether the CairoTexture should
automatically resize the Cairo surface whenever the actor's allocation changes.
public uint surface_height { get ; set ; }
The height of the Cairo surface used by the
CairoTexture actor, in pixels.
public uint surface_width { get ; set ; }
The width of the Cairo surface used by the
CairoTexture actor, in pixels.
Creation methods:
Methods:
public void clear ()
Clears this 's internal drawing
surface, so that the next upload will replace the previous contents of the CairoTexture rather than adding
to it.
public Context create ()
Creates a new Cairo context for the cairo
texture.
public Context create_region (int x_offset, int y_offset, int width, int height)
Creates a new Cairo context that will updat the region defined by
x_offset
, y_offset
, width
and height
.
public bool get_auto_resize ()
public void get_surface_size (out uint width, out uint height)
Retrieves the surface width and height for
this .
public void invalidate ()
Invalidates the whole surface of a CairoTexture
.
public void invalidate_rectangle (RectangleInt ? rect)
Invalidates a rectangular region of a CairoTexture
.
public void set_auto_resize (bool value)
Sets whether the CairoTexture should ensure
that the backing Cairo surface used matches the allocation assigned to the actor.
public void set_surface_size (uint width, uint height)
Resizes the Cairo surface used by this
to width
and height
.
Signals:
Inherited Members:
All known members inherited from class Clutter.Texture
All known members inherited from class Clutter.Actor
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref
All known members inherited from interface Atk.Implementor
All known members inherited from interface Clutter.Animatable
All known members inherited from interface Clutter.Container
All known members inherited from interface Clutter.Scriptable