summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7948151)
The blank square was not shifted to (0,0) when drawing the animation buffer.
case 2: col = "#000000"; break;
}
SetPen(cr, 2.0, col, 0);
case 2: col = "#000000"; break;
}
SetPen(cr, 2.0, col, 0);
- cairo_rectangle (cr, x, y, squareSize, squareSize);
+ cairo_rectangle (cr, fac*x, fac*y, squareSize, squareSize);
+ cairo_set_antialias (cr, CAIRO_ANTIALIAS_NONE);
cairo_fill (cr);
cairo_destroy (cr);
}
cairo_fill (cr);
cairo_destroy (cr);
}