sw/qa/tiledrendering/tiledrendering.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
New commits: commit 07fd5b41436c3fd337fbded03723b80e977ed5e0 Author: Jan Holesovsky <ke...@collabora.com> Date: Wed Oct 23 14:34:25 2013 +0200 Tiled rendering: Show the device's content. Change-Id: I6f9a4e2942e0d0b69fae262cc700266f578af899 diff --git a/sw/qa/tiledrendering/tiledrendering.cxx b/sw/qa/tiledrendering/tiledrendering.cxx index 148a720..cb9f46f 100644 --- a/sw/qa/tiledrendering/tiledrendering.cxx +++ b/sw/qa/tiledrendering/tiledrendering.cxx @@ -129,7 +129,10 @@ IMPL_LINK ( TiledRenderingDialog, RenderHdl, Button *, EMPTYARG ) aDevice.SetOutputSizePixel(Size(contextWidth, contextHeight)); pViewShell->PaintTile(&aDevice, Rectangle(tilePosX, tilePosY, tileWidth, tileHeight)); - //TODO now get it to the 'context' + + // copy the aDevice content to mpImage + BitmapEx aBitmap(aDevice.GetBitmapEx(Point(0,0), aDevice.GetOutputSizePixel())); + mpImage->SetImage(Image(aBitmap)); } return 1; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits