A Pango::AttrFloat is used to represent an attribute with a float or double value. More...
Inherits Pango::Attribute.
Public Member Functions | |
AttrFloat (const AttrFloat& src) | |
AttrFloat (PangoAttrFloat* castitem, bool take_copy=true) | |
AttrFloat& | operator= (const AttrFloat& src) |
double | get_value () const |
Gets the floating point value of the attribute. | |
void | set_value (const double&value) |
Sets the floating point value of the attribute. | |
PangoAttrFloat* | gobj () |
Provides access to the underlying C GObject. | |
const PangoAttrFloat* | gobj () const |
Provides access to the underlying C GObject. | |
Protected Member Functions | |
AttrFloat () | |
Related Functions | |
(Note that these are not member functions.) | |
Pango::AttrFloat | wrap (PangoAttrFloat* object, bool take_copy=false) |
A Pango::AttrFloat is used to represent an attribute with a float or double value.
Pango::AttrFloat::AttrFloat | ( | ) | [protected] |
Pango::AttrFloat::AttrFloat | ( | const AttrFloat& | src | ) |
Pango::AttrFloat::AttrFloat | ( | PangoAttrFloat * | castitem, | |
bool | take_copy = true | |||
) | [explicit] |
double Pango::AttrFloat::get_value | ( | ) | const |
Gets the floating point value of the attribute.
const PangoAttrFloat* Pango::AttrFloat::gobj | ( | ) | const [inline] |
Provides access to the underlying C GObject.
Reimplemented from Pango::Attribute.
PangoAttrFloat* Pango::AttrFloat::gobj | ( | ) | [inline] |
Provides access to the underlying C GObject.
Reimplemented from Pango::Attribute.
Reimplemented from Pango::Attribute.
void Pango::AttrFloat::set_value | ( | const double & | value | ) |
Sets the floating point value of the attribute.
value | The new floating point value for the attribute. |
Pango::AttrFloat wrap | ( | PangoAttrFloat * | object, | |
bool | take_copy = false | |||
) | [related] |