Kaydet (Commit) a6eba41b authored tarafından László Németh's avatar László Németh

fix DropCap preview rendering

Change-Id: I15ccbfe5df8965f9ffb395343fcf6a5ee5b6595b
üst 016cf9b2
...@@ -355,7 +355,7 @@ void SwDropCapsPict::Paint(vcl::RenderContext& rRenderContext, const Rectangle& ...@@ -355,7 +355,7 @@ void SwDropCapsPict::Paint(vcl::RenderContext& rRenderContext, const Rectangle&
Size aOutputSizePixel(rRenderContext.GetOutputSizePixel()); Size aOutputSizePixel(rRenderContext.GetOutputSizePixel());
DrawRect(Rectangle(Point(0, 0), aOutputSizePixel)); rRenderContext.DrawRect(Rectangle(Point(0, 0), aOutputSizePixel));
rRenderContext.SetClipRegion(vcl::Region(Rectangle(Point(BORDER, BORDER), rRenderContext.SetClipRegion(vcl::Region(Rectangle(Point(BORDER, BORDER),
Size(aOutputSizePixel.Width () - 2 * BORDER, Size(aOutputSizePixel.Width () - 2 * BORDER,
aOutputSizePixel.Height() - 2 * BORDER)))); aOutputSizePixel.Height() - 2 * BORDER))));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment