pangomm 2.28.4

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Protected Member Functions | Related Functions
Pango::AttrShape Class Reference

A Pango::AttrShape structure is used to represent an attribute which imposes shape restrictions. More...

Inheritance diagram for Pango::AttrShape:
[legend]
Collaboration diagram for Pango::AttrShape:
[legend]

List of all members.

## Public Member Functions
| AttrShape (const AttrShape& src)
| AttrShape (PangoAttrShape* castitem, bool take_copy=true)
AttrShape& | operator= (const AttrShape& src)
Rectangle | get_ink_rect () const
| Gets the ink rectangle to restrict to.
Rectangle | get_logical_rect () const
| Gets the logical rectangle to restrict to.
void | set_ink_rect (const Rectangle&value)
| Sets the ink rectangle to restrict to.
void | set_logical_rect (const Rectangle&value)
| Sets the logical rectangle to restrict to.
PangoAttrShape* | gobj ()
| Provides access to the underlying C GObject.
const PangoAttrShape* | gobj () const
| Provides access to the underlying C GObject.
## Protected Member Functions
| AttrShape ()
## Related Functions
(Note that these are not member functions.)
Pango::AttrShape | wrap (PangoAttrShape* object, bool take_copy=false)

## Detailed Description

A Pango::AttrShape structure is used to represent an attribute which imposes shape restrictions.

## Constructor & Destructor Documentation

Pango::AttrShape::AttrShape | ( |  | ) | `[protected]`

Pango::AttrShape::AttrShape | ( | const AttrShape& | src | ) |

Pango::AttrShape::AttrShape | ( | PangoAttrShape * | castitem,
|  | bool | take_copy = `true`
| ) |  | `[explicit]`

## Member Function Documentation

Rectangle Pango::AttrShape::get_ink_rect | ( |  | ) | const

Gets the ink rectangle to restrict to.

Returns:
  The ink rectangle of the attribute.

Rectangle Pango::AttrShape::get_logical_rect | ( |  | ) | const

Gets the logical rectangle to restrict to.

Returns:
  The logical rectangle of the attribute.

PangoAttrShape* Pango::AttrShape::gobj | ( |  | ) | `[inline]`

Provides access to the underlying C GObject.

Reimplemented from Pango::Attribute.

const PangoAttrShape* Pango::AttrShape::gobj | ( |  | ) | const`[inline]`

Provides access to the underlying C GObject.

Reimplemented from Pango::Attribute.

AttrShape& Pango::AttrShape::operator= | ( | const AttrShape& | src | ) |

void Pango::AttrShape::set_ink_rect | ( | const Rectangle& | value | ) |

Sets the ink rectangle to restrict to.

Parameters:

  value | The new ink rectangle for the attribute.

void Pango::AttrShape::set_logical_rect | ( | const Rectangle& | value | ) |

Sets the logical rectangle to restrict to.

Parameters:

  value | The new logical rectangle for the attribute.

## Friends And Related Function Documentation

Pango::AttrShape wrap | ( | PangoAttrShape * | object,
|  | bool | take_copy = `false`
| ) |  | `[related]`

The documentation for this class was generated from the following file:

- pangomm/attributes.h