![]() |
![]() |
Public Member Functions | |
Color () | |
Color (const PangoColor* gobject) | |
PangoColor* | gobj () |
Provides access to the underlying C instance. | |
const PangoColor* | gobj () const |
Provides access to the underlying C instance. | |
guint16 | get_red () const |
Gets the red component of the color. | |
guint16 | get_green () const |
Gets the green component of the color. | |
guint16 | get_blue () const |
Gets the blue component of the color. | |
void | set_red (const guint16& value) |
Sets the red component of the color. | |
void | set_green (const guint16& value) |
Sets the green component of the color. | |
void | set_blue (const guint16& value) |
Sets the blue component of the color. | |
bool | parse (const Glib::ustring& spec) |
Fill in the fields of a color from a string specification. | |
Protected Attributes | |
PangoColor | gobject_ |
Related Functions | |
(Note that these are not member functions.) | |
Pango::Color& | wrap (PangoColor* object) |
const Pango::Color& | wrap (const PangoColor* object) |
|
|
|
|
|
Gets the blue component of the color.
|
|
Gets the green component of the color.
|
|
Gets the red component of the color.
|
|
Provides access to the underlying C instance.
|
|
Provides access to the underlying C instance.
|
|
Fill in the fields of a color from a string specification. The string can either one of a large set of standard names. (Taken from the X11 <filename>rgb.txt</filename> file), or it can be a hex value in the form 'rgb' 'rrggbb' 'rrrgggbbb' or 'rrrrggggbbbb' where 'r', 'g' and 'b' are hex digits of the red, green, and blue components of the color, respectively. (White in the four forms is 'fff' 'ffffff' 'fffffffff' and 'ffffffffffff')
|
|
Sets the blue component of the color.
|
|
Sets the green component of the color.
|
|
Sets the red component of the color.
|
|
|
|
|
|
|