mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-04 03:40:07 +00:00
Make Path::intersectsLine const
This commit is contained in:
parent
54ea55325f
commit
04a8a44a85
2 changed files with 2 additions and 2 deletions
|
|
@ -970,7 +970,7 @@ bool Path::contains (Point<float> point, float tolerance) const
|
|||
return contains (point.x, point.y, tolerance);
|
||||
}
|
||||
|
||||
bool Path::intersectsLine (Line<float> line, float tolerance)
|
||||
bool Path::intersectsLine (Line<float> line, float tolerance) const
|
||||
{
|
||||
PathFlatteningIterator i (*this, AffineTransform(), tolerance);
|
||||
Point<float> intersection;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue