Pango::AttrShape Class Reference

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

Inherits Pango::Attribute.

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

List of all members.

Public Member Functions

 AttrShape (const AttrShape& src)
 AttrShape (PangoAttrShape* castitem, bool take_copy=true)
AttrShapeoperator= (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.
const PangoAttrShape* Pango::AttrShape::gobj (  )  const [inline]

Provides access to the underlying C GObject.

Reimplemented from Pango::Attribute.

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

Provides access to the underlying C GObject.

Reimplemented from Pango::Attribute.

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

Reimplemented from Pango::Attribute.

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:

Generated on Mon Sep 21 12:56:37 2009 for pangomm by  doxygen 1.6.1