texplay 0.2.910-i386-mswin32 → 0.2.920-i386-mswin32

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ 8/6/10
2
+ version 0.2.920
3
+ * :trace now supports :color_mode => :gosu
4
+
1
5
  7/6/10
2
6
  version 0.2.910
3
7
  * 1.8.7 incompatibility fixed
data/README.markdown CHANGED
@@ -5,7 +5,7 @@
5
5
  INSTRUCTIONS
6
6
  ============
7
7
 
8
- **TexPlay version 0.2.910**
8
+ **TexPlay version 0.2.920**
9
9
 
10
10
  [Read The Documentation](http://banisterfiend.wordpress.com/2008/08/23/texplay-an-image-manipulation-tool-for-ruby-and-gosu/)
11
11
 
@@ -0,0 +1,22 @@
1
+ require 'rubygems'
2
+ require 'common'
3
+ require 'gosu'
4
+ require 'texplay'
5
+
6
+
7
+ class W < Gosu::Window
8
+ def initialize
9
+ super(500, 500, false, 20)
10
+ @img = TexPlay.create_image(self, 500, 500, :color => Gosu::Color::BLUE)
11
+ end
12
+
13
+ def draw
14
+ @img.draw 100, 50,1
15
+ end
16
+
17
+ end
18
+
19
+
20
+ w = W.new
21
+ w.show
22
+
@@ -5,10 +5,10 @@ require 'texplay'
5
5
 
6
6
  class W < Gosu::Window
7
7
  def initialize
8
- super(1024, 768, false, 20)
8
+ super(500, 500, false, 20)
9
9
  @img = TexPlay.create_image(self, 500, 500).fill(3,3, :color => :alpha)
10
10
  @img.rect 100, 100, 300 , 300, :color => :blue, :fill => true
11
- puts (@img.line 400, 200, 100, 200, :trace => { :until_color => :blue }).inspect
11
+ puts (@img.line 400, 200, 100, 200, :trace => { :until_color => :blue }, :color_mode => :gosu)
12
12
  end
13
13
 
14
14
  def draw
data/lib/1.8/texplay.so CHANGED
Binary file
data/lib/1.9/texplay.so CHANGED
Binary file
@@ -1,3 +1,3 @@
1
1
  module TexPlay
2
- VERSION = "0.2.910"
2
+ VERSION = "0.2.920"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 910
9
- version: 0.2.910
8
+ - 920
9
+ version: 0.2.920
10
10
  platform: i386-mswin32
11
11
  authors:
12
12
  - John Mair (banisterfiend)
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-06-07 00:00:00 +02:00
17
+ date: 2010-06-08 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -51,6 +51,7 @@ files:
51
51
  - examples/common.rb
52
52
  - examples/example_alpha_blend.rb
53
53
  - examples/example_bezier.rb
54
+ - examples/example_blank.rb
54
55
  - examples/example_color_control.rb
55
56
  - examples/example_color_transform.rb
56
57
  - examples/example_color_transform_circle.rb