Function

Pangoattr_foreground_new

Declaration [src]

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

Description [src]

Create a new foreground color attribute.

Parameters

red

Type: guint16

The red value (ranging from 0 to 65535)

green

Type: guint16

The green value.

blue

Type: guint16

The blue value.

Return value

Type: 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.