Function

Pango.attr_strikethrough_color_new

Declaration [src]

PangoAttribute*
pango_attr_strikethrough_color_new (
  guint16 red,
  guint16 green,
  guint16 blue
)

Description [src]

Create a new strikethrough color attribute.

This attribute modifies the color of strikethrough lines. If not set, strikethrough lines will use the foreground color.

Parameters

red guint16
 

the red value (ranging from 0 to 65535)

green guint16
 

the green value

blue guint16
 

the blue value

Return value

Returns: PangoAttribute

the newly allocated PangoAttribute, which should be freed with pango_attribute_destroy().

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