Class
ShumateVectorSprite
since: 1.1
Description [src]
final class Shumate.VectorSprite : GObject.Object {
/* No available fields */
}
A sprite used to draw textures or icons.
Available since: 1.1
Constructors
shumate_vector_sprite_new
Creates a new ShumateVectorSprite
using the paintable’s intrinsic size.
since: 1.1
shumate_vector_sprite_new_full
Creates a new ShumateVectorSprite
with the given size, scale factor,
and area of the source paintable.
since: 1.1
Instance methods
shumate_vector_sprite_get_source_paintable
Gets the source GdkPaintable
used to draw the sprite.
since: 1.1
Methods inherited from GdkPaintable (9)
gdk_paintable_compute_concrete_size
Compute a concrete size for the GdkPaintable
.
gdk_paintable_get_current_image
Gets an immutable paintable for the current contents displayed by paintable
.
gdk_paintable_get_flags
Get flags for the paintable.
gdk_paintable_get_intrinsic_aspect_ratio
Gets the preferred aspect ratio the paintable
would like to be displayed at.
gdk_paintable_get_intrinsic_height
Gets the preferred height the paintable
would like to be displayed at.
gdk_paintable_get_intrinsic_width
Gets the preferred width the paintable
would like to be displayed at.
gdk_paintable_invalidate_contents
Called by implementations of GdkPaintable
to invalidate their contents.
gdk_paintable_invalidate_size
Called by implementations of GdkPaintable
to invalidate their size.
gdk_paintable_snapshot
Snapshots the given paintable with the given width
and height
.
Properties
Shumate.VectorSprite:source-rect
The area of the source rectangle to draw, or NULL
to use the entire paintable.
since: 1.1
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Signals inherited from GdkPaintable (2)
GdkPaintable::invalidate-contents
Emitted when the contents of the paintable
change.
GdkPaintable::invalidate-size
Emitted when the intrinsic size of the paintable
changes.