rubysketch 0.3.9 → 0.3.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5a3690207d8b2a8c6bfe3b556e9e1267e3508bcd757952fc738ce2594844a6a5
4
- data.tar.gz: '0112280fc01e89633adff2ebbccc012ceab1bdcd9271dc9d6f14d8c9969ca586'
3
+ metadata.gz: 756b461427f81652025d1b032458a21e02a0405cbe876f93f42868a2a0d63091
4
+ data.tar.gz: 484f88ebc98855c074c7b2b8a1d11c0384d9acc9267775c9f72b68cd730c3967
5
5
  SHA512:
6
- metadata.gz: bad81197d43586840b8f6828dd3f267a131017796d988bb958969b4fcc3cae7bcf41eca4123ce9f38039dab69195859cd3bb96a8afe1eda650a3abacd92a6944
7
- data.tar.gz: de7e3c7bb04cdf8ac3f90893277e20b671073ebe03197c9a31987cdb5324e7e0ce07659064bce787115713c95471bdacec4323a29ce0a2bf22ad8d2b7cff6937
6
+ metadata.gz: bbfb538eaf51488a522b98f41e6c193d40aabf960421118cfd63d76072bada647ba3dbb993e23bf52d025701b348c2736a893308a9dc220e4347e7caa91bafff
7
+ data.tar.gz: 79871d6ed4f4c2fa0799ccfdeb62062a963c9dce05b7b17feafa5b23dba937d69cb3839efb986ed51f9f334c370accf82aebe0417305a9c186ea3f9b05a04415
@@ -1,6 +1,18 @@
1
1
  # RubySketch ChangeLog
2
2
 
3
3
 
4
+ ## [0.3.10] - 2020-12-1
5
+
6
+ - invert angle parameter value for arc() to fix compatibility to processing API
7
+
8
+
9
+ ## [0.3.9] - 2020-11-30
10
+
11
+ - Graphics#beginDraw() can take block to call endDraw automatically
12
+ - Capture#start() always returns nil
13
+ - add delay_camera.rb
14
+
15
+
4
16
  ## [0.3.8] - 2020-11-27
5
17
 
6
18
  - Capture#initialize() can take requestWidth, requestHeight and cameraName
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.9
1
+ 0.3.10
@@ -1369,8 +1369,8 @@ module RubySketch
1369
1369
  def arc (a, b, c, d, start, stop)
1370
1370
  assertDrawing__
1371
1371
  x, y, w, h = toXYWH__ @ellipseMode__, a, b, c, d
1372
- start = toAngle__ start
1373
- stop = toAngle__ stop
1372
+ start = toAngle__ -start
1373
+ stop = toAngle__ -stop
1374
1374
  @painter__.ellipse x, y, w, h, from: start, to: stop
1375
1375
  nil
1376
1376
  end
@@ -1749,8 +1749,10 @@ module RubySketch
1749
1749
  Capture = Processing::Capture
1750
1750
  Graphics = Processing::Graphics
1751
1751
 
1752
+ # @private
1752
1753
  @@context__ = nil
1753
1754
 
1755
+ # @private
1754
1756
  def self.context__ ()
1755
1757
  @@context__
1756
1758
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubysketch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.9
4
+ version: 0.3.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - xordog
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-29 00:00:00.000000000 Z
11
+ date: 2020-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: reflexion