Pango.attr_scale_new
Description: Reference for Pango.attr_scale_new

### Function

# Pangoattr_scale_new

since: 1.0

#### Declaration [src]

    PangoAttribute*
    pango_attr_scale_new (
      double scale_factor
    )

#### Description [src]

Create a new font size scale attribute.

The base font for the affected text will have its size multiplied by `scale_factor`.

Available since: 1.0

#### Parameters

`scale_factor`

  Type: `double`

  Factor to scale the font.

#### 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.