
Public Member Functions | |
| void | get_rgba (double &red, double &green, double &blue, double &alpha) const |
| Gets the solid color for a solid color pattern. | |
| SolidPattern (cairo_pattern_t *cobject, bool has_reference=false) | |
| Create a C++ wrapper for the C instance. | |
| virtual | ~SolidPattern () |
Static Public Member Functions | |
| static RefPtr < SolidPattern > | create_rgb (double red, double green, double blue) |
| static RefPtr < SolidPattern > | create_rgba (double red, double green, double blue, double alpha) |
| Cairo::SolidPattern::SolidPattern | ( | cairo_pattern_t * | cobject, | |
| bool | has_reference = false | |||
| ) | [explicit] |
Create a C++ wrapper for the C instance.
| cobject | The C instance. | |
| has_reference | Whether we already have a reference. Otherwise, the constructor will take an extra reference. |
| virtual Cairo::SolidPattern::~SolidPattern | ( | ) | [virtual] |
| static RefPtr<SolidPattern> Cairo::SolidPattern::create_rgb | ( | double | red, | |
| double | green, | |||
| double | blue | |||
| ) | [static] |
| static RefPtr<SolidPattern> Cairo::SolidPattern::create_rgba | ( | double | red, | |
| double | green, | |||
| double | blue, | |||
| double | alpha | |||
| ) | [static] |
| void Cairo::SolidPattern::get_rgba | ( | double & | red, | |
| double & | green, | |||
| double & | blue, | |||
| double & | alpha | |||
| ) | const |
Gets the solid color for a solid color pattern.
| red | return value for red component of color | |
| green | return value for green component of color | |
| blue | return value for blue component of color | |
| alpha | return value for alpha component of color |
1.5.3