Code

create/destroy the cairo_t for all items to render into (currently used only in outli...
[inkscape.git] / src / display / sp-canvas-util.cpp
index e4f2c7b755ed5d7f444ec413400ee8642b9437f8..284328d7f85f94ba1979d3b44b9b5578d2721072 100644 (file)
@@ -73,7 +73,7 @@ sp_canvas_clear_buffer (SPCanvasBuf *buf)
        } else {
                int y;
                for (y = buf->rect.y0; y < buf->rect.y1; y++) {
-                       memset (buf->buf + (y - buf->rect.y0) * buf->buf_rowstride, r, 3 * (buf->rect.x1 - buf->rect.x0));
+                       memset (buf->buf + (y - buf->rect.y0) * buf->buf_rowstride, r, 3 * (buf->rect.x1 - buf->rect.x0)); //  CAIRO FIXME: for cairo output we need 32bpp, so it will be 4 * ...
                }
        }
 }