perfect-shape 0.3.2 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,17 +2,17 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: perfect-shape 0.3.2 ruby lib
5
+ # stub: perfect-shape 0.4.0 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "perfect-shape".freeze
9
- s.version = "0.3.2"
9
+ s.version = "0.4.0"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
13
13
  s.authors = ["Andy Maleh".freeze]
14
- s.date = "2022-01-10"
15
- s.description = "Perfect Shape is a collection of pure Ruby geometric algorithms that are mostly useful for GUI manipulation like checking containment of a mouse click point in popular geometry shapes such as rectangle, square, arc (open, chord, and pie), ellipse, circle, polygon, and paths containing lines, quadratic b\u00E9zier curves, and cubic bezier curves (including both Ray Casting Algorithm, aka Even-odd Rule, and Winding Number Algorithm, aka Nonzero Rule). Additionally, it contains some purely mathematical algorithms like IEEEremainder (also known as IEEE-754 remainder).".freeze
14
+ s.date = "2022-01-16"
15
+ s.description = "Perfect Shape is a collection of pure Ruby geometric algorithms that are mostly useful for GUI manipulation like checking containment of a mouse click point in popular geometry shapes such as rectangle, square, arc (open, chord, and pie), ellipse, circle, polygon, and paths containing lines, quadratic b\u00E9zier curves, and cubic bezier curves, potentially with affine transforms applied like translation, scale, rotation, shear/skew, and inversion (including both Ray Casting Algorithm, aka Even-odd Rule, and Winding Number Algorithm, aka Nonzero Rule). Additionally, it contains some purely mathematical algorithms like IEEEremainder (also known as IEEE-754 remainder).".freeze
16
16
  s.email = "andy.am@gmail.com".freeze
17
17
  s.extra_rdoc_files = [
18
18
  "CHANGELOG.md",
@@ -25,6 +25,7 @@ Gem::Specification.new do |s|
25
25
  "README.md",
26
26
  "VERSION",
27
27
  "lib/perfect-shape.rb",
28
+ "lib/perfect_shape/affine_transform.rb",
28
29
  "lib/perfect_shape/arc.rb",
29
30
  "lib/perfect_shape/circle.rb",
30
31
  "lib/perfect_shape/composite_shape.rb",
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: perfect-shape
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Maleh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-10 00:00:00.000000000 Z
11
+ date: 2022-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: equalizer
@@ -98,9 +98,11 @@ description: Perfect Shape is a collection of pure Ruby geometric algorithms tha
98
98
  are mostly useful for GUI manipulation like checking containment of a mouse click
99
99
  point in popular geometry shapes such as rectangle, square, arc (open, chord, and
100
100
  pie), ellipse, circle, polygon, and paths containing lines, quadratic bézier curves,
101
- and cubic bezier curves (including both Ray Casting Algorithm, aka Even-odd Rule,
102
- and Winding Number Algorithm, aka Nonzero Rule). Additionally, it contains some
103
- purely mathematical algorithms like IEEEremainder (also known as IEEE-754 remainder).
101
+ and cubic bezier curves, potentially with affine transforms applied like translation,
102
+ scale, rotation, shear/skew, and inversion (including both Ray Casting Algorithm,
103
+ aka Even-odd Rule, and Winding Number Algorithm, aka Nonzero Rule). Additionally,
104
+ it contains some purely mathematical algorithms like IEEEremainder (also known as
105
+ IEEE-754 remainder).
104
106
  email: andy.am@gmail.com
105
107
  executables: []
106
108
  extensions: []
@@ -114,6 +116,7 @@ files:
114
116
  - README.md
115
117
  - VERSION
116
118
  - lib/perfect-shape.rb
119
+ - lib/perfect_shape/affine_transform.rb
117
120
  - lib/perfect_shape/arc.rb
118
121
  - lib/perfect_shape/circle.rb
119
122
  - lib/perfect_shape/composite_shape.rb