Constructor
ShumateVectorSpritenew_full
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 |
GdkPaintable* |
| The data is owned by the caller of the function. | |
width |
int |
The width of the sprite in pixels. |
|
height |
int |
The height of the sprite in pixels. |
|
scale_factor |
double |
The intended scale factor of the sprite. |
|
source_rect |
GdkRectangle* |
The source rectangle of the sprite, or |
|
The argument can be NULL. | |
| The data is owned by the caller of the function. |
Return value
| Returns: | ShumateVectorSprite |
| No description available. | |
| The caller of the function takes ownership of the data, and is responsible for freeing it. |