Kaydet (Commit) 0f839d5b authored tarafından Louis-Francis Ratté-Boulianne's avatar Louis-Francis Ratté-Boulianne Kaydeden (comit) Markus Mohrhard

vcl: Fix the VirtualDevice rectangle rendering in vcldemo

Change-Id: I43d43d5e81d52560154b102cc469761b51a590d4
üst 2dbd426c
...@@ -281,7 +281,7 @@ public: ...@@ -281,7 +281,7 @@ public:
void fetchDrawBitmap(OutputDevice &rDev, Rectangle r) void fetchDrawBitmap(OutputDevice &rDev, Rectangle r)
{ {
Bitmap aBitmap(GetBitmap(Point(0,0),rDev.GetOutputSizePixel())); Bitmap aBitmap(rDev.GetBitmap(Point(0,0),rDev.GetOutputSizePixel()));
aBitmap.Scale(r.GetSize(), BMP_SCALE_BESTQUALITY); aBitmap.Scale(r.GetSize(), BMP_SCALE_BESTQUALITY);
rDev.DrawBitmap(r.TopLeft(), aBitmap); rDev.DrawBitmap(r.TopLeft(), aBitmap);
} }
......
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