diff --git a/modules/juce_graphics/geometry/juce_EdgeTable.cpp b/modules/juce_graphics/geometry/juce_EdgeTable.cpp index dd4c6eb203..220f4bcc8d 100644 --- a/modules/juce_graphics/geometry/juce_EdgeTable.cpp +++ b/modules/juce_graphics/geometry/juce_EdgeTable.cpp @@ -48,10 +48,10 @@ EdgeTable::EdgeTable (Rectangle area, const Path& path, const AffineTransfo t += lineStrideElements; } - auto leftLimit = bounds.getX() << 8; - auto topLimit = bounds.getY() << 8; - auto rightLimit = bounds.getRight() << 8; - auto heightLimit = bounds.getHeight() << 8; + auto leftLimit = bounds.getX() * 256; + auto topLimit = bounds.getY() * 256; + auto rightLimit = bounds.getRight() * 256; + auto heightLimit = bounds.getHeight() * 256; PathFlatteningIterator iter (path, transform);