- background.x = 1 + right_of_meter;
- background.y = 1;
- background.width = pixwidth - right_of_meter;
- background.height = pixheight;
-
- eventarea.x = area->x;
- eventarea.y = area->y;
- eventarea.width = area->width;
- eventarea.height = area->height;
-
- // if (gdk_rectangle_intersect (&background, &eventarea, &intersection)) {
- // cairo_set_source (cr, bgpattern->cobj());
- // cairo_rectangle (cr, intersection.x, intersection.y, intersection.width, intersection.height);
- // cairo_fill (cr);
- // }
-
- // if (gdk_rectangle_intersect (&pixrect, &eventarea, &intersection)) {
- // cairo_set_source (cr, fgpattern->cobj());
- // cairo_rectangle (cr, intersection.x, intersection.y, intersection.width, intersection.height);
- // cairo_fill (cr);
- // }
-