All Versions
35
Latest Version
Avg Release Cycle
-
Latest Release
-
Changelog History
Page 1
Changelog History
Page 1
-
v1.0.6 Changes
- π Fix issue with
Path#contain?
algorithm not working correclty whenPath
contains non-basic shapes becauseshapes.count
is checked instead ofbasic_shapes.count
- Document
PerfectShape::MultiPoint
- π Fix issue with
-
v1.0.5 Changes
- π Support Ruby 3.1 by including bundled 'matrix' gem ('>= 0.4.2', '< 1.1.0')
-
v1.0.4 Changes
- β Add missing shapes (
Rectangle
andSquare
) toPath::SHAPE_TYPES
- β Add missing shapes (
-
v1.0.3 Changes
Rectangle
andSquare
#to_path_shapes
method, which decomposes them intoPoint
s andLine
s to be added to aPath
Path
can contain aRectangle
orSquare
(to get affected by the winding algorithm as opposed toCompositeShape
, which has no winding algorithm)
-
v1.0.2 Changes
Arc
,Ellipse
, andCircle
#to_path_shapes
method, which decomposes them intoPoint
s,Line
s, andCubicBezierCurve
s to be added to aPath
Path
can contain anArc
,Ellipse
, orCircle
(to get affected by the winding algorithm as opposed toCompositeShape
, which has no winding algorithm)
-
v1.0.1 Changes
- π Relax
equalizer
gem version to '>= 0.0.11', '< 1.1.0' to avoid conflicts in projects that might use future versions - π Fix issue with infinite loop upon setting
Circle#radius=
to a number with very small decimals - π Fix issue with infinite loop upon setting
Circle#radius_x=
to a number with very small decimals - π Fix issue with infinite loop upon setting
Circle#radius_y=
to a number with very small decimals - π Fix issue with infinite loop upon setting
Circle#diameter=
to a number with very small decimals - π Fix issue with infinite loop upon setting
Circle#width=
to a number with very small decimals - π Fix issue with infinite loop upon setting
Circle#height=
to a number with very small decimals - π Fix issue with infinite loop upon setting
Square#length=
to a number with very small decimals - π Fix issue with infinite loop upon setting
Square#width=
to a number with very small decimals - π Fix issue with infinite loop upon setting
Square#height=
to a number with very small decimals
- π Relax
-
v1.0.0 Changes
PerfectShape::Path#intersect?(rectangle)
PerfectShape::Polygon#intersect?(rectangle)
PerfectShape::CompositeShape#intersect?(rectangle)
- [API Breaking] Change
Path
defaultwinding_rule
to:wind_even_odd
- Make
PerfectShape::Polygon
support:wind_non_zero
winding_rule
(not just default:wind_even_odd
)
-
v0.5.5 Changes
PerfectShape::Arc#intersect?(rectangle)
PerfectShape::Ellipse#intersect?(rectangle)
PerfectShape::Circle#intersect?(rectangle)
-
v0.5.4 Changes
PerfectShape::Rectangle#intersect?(rectangle)
PerfectShape::Square#intersect?(rectangle)
PerfectShape::Rectangle#empty?
PerfectShape::Square#empty?
PerfectShape::Square#size
/PerfectShape::Square#size=
aliases for#length
/#length=
-
v0.5.3 Changes
PerfectShape::CubicBezierCurve#intersect?(rectangle)
PerfectShape::CubicBezierCurve#rectangle_crossings(rectangle)
PerfectShape::CubicBezierCurve#rect_crossings(rxmin, rymin, rxmax, rymax, level, crossings = 0)
PerfectShape::Line#rect_crossings(rxmin, rymin, rxmax, rymax, crossings = 0)