Function

Gdkcairo_set_source_color

deprecated: 3.4 since: 2.8

Declaration [src]

void
gdk_cairo_set_source_color (
  cairo_t* cr,
  const GdkColor* color
)

Description [src]

Sets the specified GdkColor as the source color of cr.

Available since: 2.8

Deprecated since: 3.4

Use gdk_cairo_set_source_rgba() instead.

Parameters

cr

Type: cairo_t

A cairo context.

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

Type: GdkColor

A GdkColor.

The data is owned by the caller of the function.