979
979
// Draw the correct icon for the appointment type and then tint it using mask fill.
980
980
// For now we'll create a circle
981
981
if (color_spec != NULL) {
984
982
g_debug("Creating a cairo surface: size, %d by %d", width, height);
985
983
cairo_surface_t *surface = cairo_image_surface_create( CAIRO_FORMAT_ARGB32, width, height );
990
996
cairo_set_source_rgba(cr, 0,0,0,0.5);
991
997
cairo_set_line_width(cr, 1);