Exemplo n.º 1
0
 void draw(const GraphicContextState& state, CL_GraphicContext* gc)
 {
   // FIXME: We need to stop onion layer to draw onto itself
   surface.set_blend_func(blend_one, blend_one_minus_src_alpha);
   surface.set_scale(SCALE, SCALE);
   surface.draw(0, 0);
 }