All Versions
35
Latest Version
Avg Release Cycle
-
Latest Release
-

Changelog History
Page 1

  • v1.0.6 Changes

    • πŸ›  Fix issue with Path#contain? algorithm not working correclty when Path contains non-basic shapes because shapes.count is checked instead of basic_shapes.count
    • Document PerfectShape::MultiPoint
  • 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 and Square) to Path::SHAPE_TYPES
  • v1.0.3 Changes

    • Rectangle and Square #to_path_shapes method, which decomposes them into Points and Lines to be added to a Path
    • Path can contain a Rectangle or Square (to get affected by the winding algorithm as opposed to CompositeShape, which has no winding algorithm)
  • v1.0.2 Changes

    • Arc, Ellipse, and Circle #to_path_shapes method, which decomposes them into Points, Lines, and CubicBezierCurves to be added to a Path
    • Path can contain an Arc, Ellipse, or Circle (to get affected by the winding algorithm as opposed to CompositeShape, 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
  • v1.0.0 Changes

    • PerfectShape::Path#intersect?(rectangle)
    • PerfectShape::Polygon#intersect?(rectangle)
    • PerfectShape::CompositeShape#intersect?(rectangle)
    • [API Breaking] Change Path default winding_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)