Class
ShumateVectorSprite
Description [src]
final class Shumate.VectorSprite : GObject.Object {
/* No available fields */
}
A sprite used to draw textures or icons.
Symbolic icons
If a sprite is created from a GtkSymbolicPaintable source, such
as a symbolic icon, then when the sprite is part of a symbol layer it
will be drawn using the icon-color property (or the text color, if the
sprite is part of a formatted string).
| Available since: | 1.1 |
Constructors
shumate_vector_sprite_new
Creates a new ShumateVectorSprite using the paintable’s intrinsic size.
Available since: 1.1
shumate_vector_sprite_new_full
Creates a new ShumateVectorSprite with the given size, scale factor,
and area of the source paintable.
Available since: 1.1
Instance methods
shumate_vector_sprite_get_height
Gets the height at which the sprite should be drawn.
Available since: 1.1
shumate_vector_sprite_get_scale_factor
Gets the intended scale factor of the sprite.
Available since: 1.1
shumate_vector_sprite_get_source_paintable
Gets the source GdkPaintable used to draw the sprite.
Available since: 1.1
shumate_vector_sprite_get_width
Gets the width at which the sprite should be drawn.
Available since: 1.1
Properties
Shumate.VectorSprite:height
The height at which the sprite should be drawn, in pixels.
Available since: 1.1
Shumate.VectorSprite:source-paintable
The GdkPaintable used to draw the sprite.
Available since: 1.1
Shumate.VectorSprite:source-rect
The area of the source rectangle to draw, or NULL to use the entire paintable.
Available since: 1.1
Shumate.VectorSprite:width
The width at which the sprite should be drawn, in pixels.
Available since: 1.1