mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-05 03:50:07 +00:00
Replaced some uses of AffineTransform::identity with a default-constructed object
This commit is contained in:
parent
21d42f346f
commit
edec7b34b2
22 changed files with 55 additions and 49 deletions
|
|
@ -208,7 +208,7 @@ public:
|
|||
pathSize * 0.5f,
|
||||
clipPathAngle.getValue());
|
||||
|
||||
g.reduceClipRegion (p, AffineTransform::identity);
|
||||
g.reduceClipRegion (p, AffineTransform());
|
||||
}
|
||||
|
||||
void clipToImage (Graphics& g)
|
||||
|
|
@ -384,7 +384,7 @@ public:
|
|||
|
||||
PathStrokeType stroke (0.5f + 10.0f * thickness.getValue());
|
||||
g.setColour (Colours::purple.withAlpha (getAlpha()));
|
||||
g.strokePath (p, stroke, AffineTransform::identity);
|
||||
g.strokePath (p, stroke, AffineTransform());
|
||||
}
|
||||
|
||||
SlowerBouncingNumber points[2 + 4 * 8], thickness;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue