Function

GtkSymbolicColornew_mix

deprecated: 3.8 since: 3.0

Declaration [src]

GtkSymbolicColor*
gtk_symbolic_color_new_mix (
  GtkSymbolicColor* color1,
  GtkSymbolicColor* color2,
  gdouble factor
)

Description [src]

Creates a symbolic color defined as a mix of another two colors. a mix factor of 0 would resolve to color1, while a factor of 1 would resolve to color2.

Available since: 3.0

Deprecated since: 3.8

GtkSymbolicColor is deprecated.

Parameters

color1

Type: GtkSymbolicColor

Color to mix.

The data is owned by the caller of the function.
color2

Type: GtkSymbolicColor

Another color to mix.

The data is owned by the caller of the function.
factor

Type: gdouble

Mix factor.

Return value

Type: GtkSymbolicColor

A newly created GtkSymbolicColor.

The caller of the function takes ownership of the data, and is responsible for freeing it.