Function

Pangoattr_skip_ink_new

since: 1.59

Declaration [src]

PangoAttribute*
pango_attr_skip_ink_new (
  PangoSkipInk skip_ink
)

Description [src]

Create a new attribute to control ink skipping for underlines and overlines.

See CSS text-decoration-skip-ink.

Available since: 1.59

Parameters

skip_ink

Type: PangoSkipInk

The skip-ink policy.

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.