|
|
@@ -78650,7 +78650,7 @@ EdgeTable::EdgeTable (const Rectangle& bounds_, |
|
|
|
do |
|
|
|
{ |
|
|
|
const int step = jmin (stepSize, y2 - y1, 256 - (y1 & 255)); |
|
|
|
int x = roundDoubleToInt (startX + multiplier * (y1 - startY)); |
|
|
|
int x = roundDoubleToInt (startX + multiplier * ((y1 + (step >> 1)) - startY)); |
|
|
|
|
|
|
|
if (x < leftLimit) |
|
|
|
x = leftLimit; |
|
|
@@ -81509,6 +81509,8 @@ public: |
|
|
|
|
|
|
|
ColourGradient g2 (*(fillType.gradient)); |
|
|
|
g2.multiplyOpacity (fillType.getOpacity()); |
|
|
|
g2.x1 -= 0.5f; g2.y1 -= 0.5f; |
|
|
|
g2.x2 -= 0.5f; g2.y2 -= 0.5f; |
|
|
|
AffineTransform transform (fillType.transform.translated ((float) xOffset, (float) yOffset)); |
|
|
|
const bool isIdentity = transform.isOnlyTranslation(); |
|
|
|
|
|
|
|