Pango.AttrShape
Description: Reference for Pango.AttrShape

### Struct

# PangoAttrShape

#### Description [src]

    struct PangoAttrShape {
      PangoAttribute attr;
      PangoRectangle ink_rect;
      PangoRectangle logical_rect;
      gpointer data;
      PangoAttrDataCopyFunc copy_func;
      GDestroyNotify destroy_func;
    }

The `PangoAttrShape` structure is used to represent attributes which impose shape restrictions.

###### Structure members

`attr:` `PangoAttribute`

  The common portion of the attribute.

`ink_rect:` `PangoRectangle`

  The ink rectangle to restrict to.

`logical_rect:` `PangoRectangle`

  The logical rectangle to restrict to.

`data:` `gpointer`

  User data set (see `pango_attr_shape_new_with_data()`).

`copy_func:` `PangoAttrDataCopyFunc`

  Copy function for the user data.

`destroy_func:` `GDestroyNotify`

  Destroy function for the user data.

#### Functions

###### pango_attr_shape_new

Create a new shape attribute.

###### pango_attr_shape_new_with_data

Creates a new shape attribute.

since: 1.8