Virtualvfunc_Virtualvfunc_Get flags for the paintable.
This is oftentimes useful for optimizations.
See Gdk.PaintableFlags for the flags and what they mean.
Virtualvfunc_Gets the preferred aspect ratio the paintable would like to be displayed at.
The aspect ratio is the width divided by the height, so a value of 0.5
means that the paintable prefers to be displayed twice as high as it
is wide. Consumers of this interface can use this to preserve aspect
ratio when displaying the paintable.
This is a purely informational value and does not in any way limit the values that may be passed to Gdk.Paintable.snapshot.
Usually when a paintable returns nonzero values from
Gdk.Paintable.get_intrinsic_width and
Gdk.Paintable.get_intrinsic_height the aspect ratio
should conform to those values, though that is not required.
If the paintable does not have a preferred aspect ratio,
it returns 0. Negative values are never returned.
Virtualvfunc_Gets the preferred height the paintable would like to be displayed at.
Consumers of this interface can use this to reserve enough space to draw the paintable.
This is a purely informational value and does not in any way limit the values that may be passed to Gdk.Paintable.snapshot.
If the paintable does not have a preferred height, it returns 0.
Negative values are never returned.
Virtualvfunc_Gets the preferred width the paintable would like to be displayed at.
Consumers of this interface can use this to reserve enough space to draw the paintable.
This is a purely informational value and does not in any way limit the values that may be passed to Gdk.Paintable.snapshot.
If the paintable does not have a preferred width, it returns 0.
Negative values are never returned.
Virtualvfunc_Snapshots the given paintable with the given width and height.
The paintable is drawn at the current (0,0) offset of the snapshot.
If width and height are not larger than zero, this function will
do nothing.
a Gdk.Snapshot to snapshot to
width to snapshot in
height to snapshot in
Interface for implementing Paintable. Contains only the virtual methods that need to be implemented.