mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-08 04:20:09 +00:00
Improvements to mouse wheel response on the mac, allowing much better smooth-scrolling, and also mouse-wheel improvements in the Viewport class to make it respond more fluidly. Also misc small fixes and tweaks.
This commit is contained in:
parent
ec021e9e67
commit
2df522076b
29 changed files with 542 additions and 347 deletions
|
|
@ -87,16 +87,13 @@ bool PathFlatteningIterator::next()
|
|||
x2 = points [index++];
|
||||
y2 = points [index++];
|
||||
|
||||
if (! isIdentityTransform)
|
||||
transform.transformPoint (x2, y2);
|
||||
|
||||
if (type == Path::quadMarker)
|
||||
{
|
||||
x3 = points [index++];
|
||||
y3 = points [index++];
|
||||
|
||||
if (! isIdentityTransform)
|
||||
transform.transformPoint (x3, y3);
|
||||
transform.transformPoints (x2, y2, x3, y3);
|
||||
}
|
||||
else if (type == Path::cubicMarker)
|
||||
{
|
||||
|
|
@ -106,10 +103,12 @@ bool PathFlatteningIterator::next()
|
|||
y4 = points [index++];
|
||||
|
||||
if (! isIdentityTransform)
|
||||
{
|
||||
transform.transformPoint (x3, y3);
|
||||
transform.transformPoint (x4, y4);
|
||||
}
|
||||
transform.transformPoints (x2, y2, x3, y3, x4, y4);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (! isIdentityTransform)
|
||||
transform.transformPoint (x2, y2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue