Function

Gdkcairo_set_source_color

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 cairo_t
 

A cairo context.

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

A GdkColor.

 The data is owned by the caller of the function.