Top | ![]() |
![]() |
![]() |
![]() |
void awn_cairo_rounded_rect (cairo_t *cr
,double x0
,double y0
,double width
,double height
,double radius
,AwnCairoRoundCorners state
);
Draws a rounded rectangle via cairo.
void awn_cairo_rounded_rect_shadow (cairo_t *cr
,double rx0
,double ry0
,double width
,double height
,double radius
,AwnCairoRoundCorners state
,double shadow_radius
,double shadow_alpha
);
Draws a shadow for rounded rectangle via cairo.
void awn_cairo_set_source_color (cairo_t *cr
,DesktopAgnosticColor *color
);
A convenience function which wraps cairo_set_source_rgba by using the
values from the color
parameter.
void awn_cairo_set_source_color_with_alpha_multiplier (cairo_t *cr
,DesktopAgnosticColor *color
,gdouble multiplier
);
Similar to awn_cairo_set_source_color, except for the multiplier
parameter.
void awn_cairo_set_source_color_with_multipliers (cairo_t *cr
,DesktopAgnosticColor *color
,gdouble color_multiplier
,gdouble alpha_multiplier
);
Similar to awn_cairo_set_source_color_with_alpha_multiplier, except that
there is an additional color_multiplier
parameter.
void awn_cairo_pattern_add_color_stop_color (cairo_pattern_t *pattern
,double offset
,DesktopAgnosticColor *color
);
A convenience function which wraps cairo_pattern_add_color_stop_rgba by
using the values from the color
parameter.
void awn_cairo_pattern_add_color_stop_color_with_alpha_multiplier (cairo_pattern_t *pattern
,double offset
,DesktopAgnosticColor *color
,gdouble multiplier
);
Similar to awn_cairo_pattern_add_color_stop_color, except for the
multiplier
parameter.