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

Changelog History
Page 2

  • v0.5.2 Changes

    • PerfectShape::QuadraticBezierCurve#intersect?(rectangle)
    • PerfectShape::QuadraticBezierCurve::tag(coord, low, high)
    • PerfectShape::QuadraticBezierCurve::eqn(val, c1, cp, c2)
    • PerfectShape::QuadraticBezierCurve::solve_quadratic(eqn)
    • PerfectShape::QuadraticBezierCurve::eval_quadratic(vals, num, include0, include1, inflect, c1, ctrl, c2)
  • v0.5.1 Changes

    • PerfectShape::Point#intersect?(rectangle) (equivalent to PerfectShape::Rectangle#contain?(point))
  • v0.5.0 Changes

    • PerfectShape::Line#intersect?(rectangle)
    • PerfectShape::Rectangle#out_state(x_or_point, y = nil)
  • v0.4.0 Changes

    • PerfectShape::AffineTransform#new
    • PerfectShape::AffineTransform#==
    • PerfectShape::AffineTransform#transform_point
    • PerfectShape::AffineTransform#transform_points
    • PerfectShape::AffineTransform#identity! (alias: reset!)
    • PerfectShape::AffineTransform#invert!
    • PerfectShape::AffineTransform#invertible?
    • PerfectShape::AffineTransform#multiply!
    • PerfectShape::AffineTransform#translate!
    • PerfectShape::AffineTransform#scale!
    • PerfectShape::AffineTransform#rotate!
    • PerfectShape::AffineTransform#shear! (alias: skew!)
    • 👯 PerfectShape::AffineTransform#clone
    • PerfectShape::AffineTransform#inverse_transform_point
    • PerfectShape::AffineTransform#inverse_transform_points
  • v0.3.5 Changes

    • Check point containment in composite shape outline with distance tolerance (new method signature: PerfectShape::CompositeShape#contain?(x_or_point, y = nil, outline: false, distance_tolerance: 0))
  • v0.3.4 Changes

    • Check point containment in path outline with distance tolerance (new method signature: PerfectShape::Path#contain?(x_or_point, y = nil, outline: false, distance_tolerance: 0))
    • PerfectShape::Path#disconnected_shapes: Disconnected shapes have their start point filled in so that each shape does not depend on the previous shape to determine its start point.
    • Shape#center_point as [center_x, center_y]
    • Rename #point_segment_distance to #point_distance everywhere
  • v0.3.3 Changes

    • Check point containment in quadratic bezier curve outline with distance tolerance (new method signature: PerfectShape::QuadraticBezierCurve#contain?(x_or_point, y = nil, outline: false, distance_tolerance: 0))
    • PerfectShape::QuadraticBezierCurve#curve_center_point, PerfectShape::QuadraticBezierCurve#curve_center_x, PerfectShape::QuadraticBezierCurve#curve_center_y
    • PerfectShape::QuadraticBezierCurve#subdivisions(level=1)
    • PerfectShape::QuadraticBezierCurve#point_distance(x_or_point, y = nil, minimum_distance_threshold: OUTLINE_MINIMUM_DISTANCE_THRESHOLD)
    • PerfectShape::Polygon#edges returns edges of polygon as PerfectShape::Line objects
    • PerfectShape::Rectangle#edges returns edges of rectangle as PerfectShape::Line objects
    • PerfectShape::Square#edges returns edges of square as PerfectShape::Line objects
    • 📇 Rename number arg to level in CubicBezierCurve#subdivisions(level=1), making it signify the level of subdivision recursion to perform.
  • v0.3.2 Changes

    • Check point containment in cubic bezier curve outline with distance tolerance (new method signature: PerfectShape::CubicBezierCurve#contain?(x_or_point, y = nil, outline: false, distance_tolerance: 0))
    • PerfectShape::CubicBezierCurve#curve_center_point, PerfectShape::CubicBezierCurve#curve_center_x, PerfectShape::CubicBezierCurve#curve_center_y
    • PerfectShape::CubicBezierCurve#subdivisions(level=1)
    • PerfectShape::CubicBezierCurve#point_distance(x_or_point, y = nil, minimum_distance_threshold: OUTLINE_MINIMUM_DISTANCE_THRESHOLD)
  • v0.3.1 Changes

    • Check point containment in arc outline with distance tolerance (new method signature: PerfectShape::Arc#contain?(x_or_point, y = nil, outline: false, distance_tolerance: 0))
    • Check point containment in ellipse outline with distance tolerance (new method signature: PerfectShape::Ellipse#contain?(x_or_point, y = nil, outline: false, distance_tolerance: 0))
    • Check point containment in circle outline with distance tolerance (new method signature: PerfectShape::Circle#contain?(x_or_point, y = nil, outline: false, distance_tolerance: 0))
  • v0.3.0 Changes

    • 🔨 Refactoring: rename distance option for #contain? on Point/Line into distance_tolerance
    • Check point containment in rectangle outline with distance tolerance (new method signature: PerfectShape::Rectangle#contain?(x_or_point, y = nil, outline: false, distance_tolerance: 0))
    • Check point containment in square outline with distance tolerance (new method signature: PerfectShape::Square#contain?(x_or_point, y = nil, outline: false, distance_tolerance: 0))
    • Check point containment in polygon outline with distance tolerance (new method signature: PerfectShape::Polygon#contain?(x_or_point, y = nil, outline: false, distance_tolerance: 0))