Method
GtkSymbolicPaintablesnapshot_symbolic
since: 4.6
Declaration [src]
void
gtk_symbolic_paintable_snapshot_symbolic (
GtkSymbolicPaintable* paintable,
GdkSnapshot* snapshot,
double width,
double height,
const GdkRGBA* colors,
gsize n_colors
)
Description [src]
Snapshots the paintable with the given colors.
If less than 4 colors are provided, GTK will pad the array with default colors.
Available since: 4.6
Parameters
snapshot-
Type:
GdkSnapshotA
GdkSnapshotto snapshot to.The data is owned by the caller of the method. width-
Type:
doubleWidth to snapshot in.
height-
Type:
doubleHeight to snapshot in.
colors-
Type: An array of
GdkRGBAA pointer to an array of colors.
The length of the array is specified in the n_colorsargument.The data is owned by the caller of the method. n_colors-
Type:
gsizeThe number of colors.