Constructor
ShumateVectorSpritenew_full
since: 1.1
Declaration [src]
ShumateVectorSprite*
shumate_vector_sprite_new_full (
GdkPaintable* source_paintable,
int width,
int height,
double scale_factor,
GdkRectangle* source_rect
)
Description [src]
Creates a new ShumateVectorSprite with the given size, scale factor,
and area of the source paintable.
Available since: 1.1
Parameters
source_paintable-
Type:
GdkPaintableThe data is owned by the caller of the function. width-
Type:
intThe width of the sprite in pixels.
height-
Type:
intThe height of the sprite in pixels.
scale_factor-
Type:
doubleThe intended scale factor of the sprite.
source_rect-
Type:
GdkRectangleThe source rectangle of the sprite, or
NULLto use the entire paintable.The argument can be NULL.The data is owned by the caller of the function.
Return value
Type: ShumateVectorSprite
No description available.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |