rmagick 2.2.2 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rmagick might be problematic. Click here for more details.

Files changed (55) hide show
  1. data/ChangeLog +17 -0
  2. data/README.html +21 -46
  3. data/README.txt +18 -40
  4. data/build_tarball.rake +11 -2
  5. data/doc/comtasks.html +5 -5
  6. data/doc/constants.html +272 -241
  7. data/doc/draw.html +5 -5
  8. data/doc/ex/mask.rb +2 -2
  9. data/doc/ilist.html +9 -9
  10. data/doc/image1.html +164 -16
  11. data/doc/image2.html +105 -8
  12. data/doc/image3.html +8 -8
  13. data/doc/imageattrs.html +4 -137
  14. data/doc/imusage.html +3 -3
  15. data/doc/index.html +9 -9
  16. data/doc/info.html +5 -5
  17. data/doc/magick.html +30 -70
  18. data/doc/optequiv.html +19 -39
  19. data/doc/rvg.html +5 -5
  20. data/doc/rvgclip.html +2 -2
  21. data/doc/rvggroup.html +2 -2
  22. data/doc/rvgimage.html +3 -3
  23. data/doc/rvgpattern.html +3 -3
  24. data/doc/rvgshape.html +2 -2
  25. data/doc/rvgstyle.html +2 -2
  26. data/doc/rvgtext.html +6 -6
  27. data/doc/rvgtspan.html +4 -4
  28. data/doc/rvgtut.html +9 -9
  29. data/doc/rvguse.html +3 -3
  30. data/doc/rvgxform.html +2 -2
  31. data/doc/struct.html +54 -19
  32. data/doc/usage.html +11 -3
  33. data/ext/RMagick/MANIFEST +1 -1
  34. data/ext/RMagick/extconf.rb +8 -23
  35. data/ext/RMagick/rmagick.h +10 -5
  36. data/ext/RMagick/rmdraw.c +7 -8
  37. data/ext/RMagick/rmimage.c +186 -20
  38. data/ext/RMagick/rmmain.c +32 -12
  39. data/ext/RMagick/rmutil.c +171 -28
  40. data/lib/RMagick.rb +7 -7
  41. data/lib/rvg/clippath.rb +2 -2
  42. data/lib/rvg/container.rb +2 -2
  43. data/lib/rvg/describable.rb +2 -2
  44. data/lib/rvg/embellishable.rb +2 -2
  45. data/lib/rvg/misc.rb +2 -2
  46. data/lib/rvg/paint.rb +7 -2
  47. data/lib/rvg/pathdata.rb +2 -2
  48. data/lib/rvg/rvg.rb +3 -3
  49. data/lib/rvg/stretchable.rb +15 -3
  50. data/lib/rvg/stylable.rb +2 -2
  51. data/lib/rvg/text.rb +2 -2
  52. data/lib/rvg/transformable.rb +2 -2
  53. data/lib/rvg/units.rb +2 -2
  54. data/rmagick.gemspec +1 -1
  55. metadata +3 -3
@@ -1,6 +1,6 @@
1
1
  #--
2
- # $Id: stretchable.rb,v 1.4 2007/01/20 17:39:50 rmagick Exp $
3
- # Copyright (C) 2007 Timothy P. Hunter
2
+ # $Id: stretchable.rb,v 1.6 2008/02/24 21:52:32 rmagick Exp $
3
+ # Copyright (C) 2008 Timothy P. Hunter
4
4
  #++
5
5
 
6
6
  module Magick
@@ -36,7 +36,7 @@ module Magick
36
36
 
37
37
 
38
38
  # The methods in this module describe the user-coordinate space.
39
- # Only RVG objects are stretchable.
39
+ # RVG and Pattern objects are stretchable.
40
40
  module Stretchable
41
41
 
42
42
  private
@@ -145,6 +145,18 @@ module Magick
145
145
  end
146
146
  raise(ArgumentError, "viewbox width must be > 0 (#{width} given)") unless width >= 0
147
147
  raise(ArgumentError, "viewbox height must be > 0 (#{height} given)") unless height >= 0
148
+
149
+ # return the user-coordinate space attributes if defined
150
+ class << self
151
+ if not defined? @redefined then
152
+ @redefined = true
153
+ define_method(:x) { @vbx_x }
154
+ define_method(:y) { @vbx_y }
155
+ define_method(:width) { @vbx_width}
156
+ define_method(:height) { @vbx_height }
157
+ end
158
+ end
159
+
148
160
  yield(self) if block_given?
149
161
  self
150
162
  end
data/lib/rvg/stylable.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  #--
2
- # $Id: stylable.rb,v 1.4 2007/01/20 17:49:57 rmagick Exp $
3
- # Copyright (C) 2007 Timothy P. Hunter
2
+ # $Id: stylable.rb,v 1.5 2008/02/24 18:26:37 rmagick Exp $
3
+ # Copyright (C) 2008 Timothy P. Hunter
4
4
  #++
5
5
 
6
6
  module Magick
data/lib/rvg/text.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  #--
2
- # $Id: text.rb,v 1.5 2007/01/20 17:39:50 rmagick Exp $
3
- # Copyright (C) 2007 Timothy P. Hunter
2
+ # $Id: text.rb,v 1.6 2008/02/24 18:26:37 rmagick Exp $
3
+ # Copyright (C) 2008 Timothy P. Hunter
4
4
  #++
5
5
  # Text-related classes
6
6
 
@@ -1,6 +1,6 @@
1
1
  #--
2
- # $Id: transformable.rb,v 1.3 2007/01/20 17:39:50 rmagick Exp $
3
- # Copyright (C) 2007 Timothy P. Hunter
2
+ # $Id: transformable.rb,v 1.4 2008/02/24 18:26:37 rmagick Exp $
3
+ # Copyright (C) 2008 Timothy P. Hunter
4
4
  #++
5
5
 
6
6
  module Magick
data/lib/rvg/units.rb CHANGED
@@ -1,5 +1,5 @@
1
- # $Id: units.rb,v 1.3 2007/01/20 17:39:50 rmagick Exp $
2
- # Copyright (C) 2007 Timothy P. Hunter
1
+ # $Id: units.rb,v 1.4 2008/02/24 18:26:37 rmagick Exp $
2
+ # Copyright (C) 2008 Timothy P. Hunter
3
3
  module Magick
4
4
  class RVG
5
5
 
data/rmagick.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'date'
2
2
  Gem::Specification.new do |s|
3
3
  s.name = %q{rmagick}
4
- s.version = "2.2.2"
4
+ s.version = "2.3.0"
5
5
  s.date = Date.today.to_s
6
6
  s.summary = %q{Ruby binding to ImageMagick}
7
7
  s.description = %q{RMagick is an interface between Ruby and ImageMagick.}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rmagick
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.2
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Hunter
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-02-12 00:00:00 -05:00
12
+ date: 2008-03-29 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -397,7 +397,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
397
397
  requirements:
398
398
  - ImageMagick 6.3.0 or later
399
399
  rubyforge_project: rmagick
400
- rubygems_version: 1.0.1
400
+ rubygems_version: 1.1.0
401
401
  signing_key:
402
402
  specification_version: 2
403
403
  summary: Ruby binding to ImageMagick