[ CCode ( has_construct_function = false ) ]
public VectorSprite.full (Paintable source_paintable, int width, int height, double scale_factor, Rectangle? source_rect)
Creates a new [class@VectorSprite] with the given size, scale factor, and area of the source paintable.
| source_paintable |
a [iface@Gdk.Paintable] |
| width |
the width of the sprite in pixels |
| height |
the height of the sprite in pixels |
| scale_factor |
the intended scale factor of the sprite |
| source_rect |
the source rectangle of the sprite, or null to use the entire paintable |