Kaydet (Commit) 1854a923 authored tarafından Luboš Luňák's avatar Luboš Luňák

there's no bigger or smaller half

Change-Id: Ida0e92abd806d017d17365fa2ac53b4f7cb2ebad
üst 22fe0390
...@@ -251,6 +251,10 @@ public: ...@@ -251,6 +251,10 @@ public:
}; };
for (size_t i = 0; i < aRegions.size(); i++) for (size_t i = 0; i < aRegions.size(); i++)
{ {
// Half of them not-anti-aliased ..
if (i >= aRegions.size()/2)
rDev.SetAntialiasing(nOldAA);
static const struct { static const struct {
double nX, nY; double nX, nY;
} aPoints[] = { } aPoints[] = {
...@@ -265,10 +269,6 @@ public: ...@@ -265,10 +269,6 @@ public:
aSub.Top() + aSub.GetHeight() * aPoints[j].nY)); aSub.Top() + aSub.GetHeight() * aPoints[j].nY));
} }
rDev.DrawPolyLine(aPoly, aLineWidths[i], eJoins[i], eLineCaps[i]); rDev.DrawPolyLine(aPoly, aLineWidths[i], eJoins[i], eLineCaps[i]);
// Half of them not-anti-aliased ..
if (i > aRegions.size()/2)
rDev.SetAntialiasing(nOldAA);
} }
} }
else else
......
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