27 CAIRO_CONTENT_COLOR_ALPHA, width, height*2);
28 cairo_t *cri = cairo_create (w->
image);
42 cairo_rectangle(cri,i,1,2,ci);
51 cairo_rectangle(cri,i,height+1,2,ci);
62 int width = cairo_xlib_surface_get_width(w->
image);
63 int height = cairo_xlib_surface_get_height(w->
image);
68 cairo_set_source_surface (w->
crb, w->
image, 0, 0);
69 cairo_rectangle(w->
crb,0, 0, width, height/2);
71 cairo_set_source_surface (w->
crb, w->
image, 0, -height/2);
72 cairo_rectangle(w->
crb, width*state,0,3, height/2);
75 cairo_set_source_rgba (w->
crb, 0.5, 0.0, 0.0, 0.4);
76 cairo_rectangle(w->
crb, 0,0,width*clip, height/2);
79 cairo_rectangle(w->
crb, width,0,(width*cut)-width, height/2);