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.
- data/ChangeLog +17 -0
- data/README.html +21 -46
- data/README.txt +18 -40
- data/build_tarball.rake +11 -2
- data/doc/comtasks.html +5 -5
- data/doc/constants.html +272 -241
- data/doc/draw.html +5 -5
- data/doc/ex/mask.rb +2 -2
- data/doc/ilist.html +9 -9
- data/doc/image1.html +164 -16
- data/doc/image2.html +105 -8
- data/doc/image3.html +8 -8
- data/doc/imageattrs.html +4 -137
- data/doc/imusage.html +3 -3
- data/doc/index.html +9 -9
- data/doc/info.html +5 -5
- data/doc/magick.html +30 -70
- data/doc/optequiv.html +19 -39
- data/doc/rvg.html +5 -5
- data/doc/rvgclip.html +2 -2
- data/doc/rvggroup.html +2 -2
- data/doc/rvgimage.html +3 -3
- data/doc/rvgpattern.html +3 -3
- data/doc/rvgshape.html +2 -2
- data/doc/rvgstyle.html +2 -2
- data/doc/rvgtext.html +6 -6
- data/doc/rvgtspan.html +4 -4
- data/doc/rvgtut.html +9 -9
- data/doc/rvguse.html +3 -3
- data/doc/rvgxform.html +2 -2
- data/doc/struct.html +54 -19
- data/doc/usage.html +11 -3
- data/ext/RMagick/MANIFEST +1 -1
- data/ext/RMagick/extconf.rb +8 -23
- data/ext/RMagick/rmagick.h +10 -5
- data/ext/RMagick/rmdraw.c +7 -8
- data/ext/RMagick/rmimage.c +186 -20
- data/ext/RMagick/rmmain.c +32 -12
- data/ext/RMagick/rmutil.c +171 -28
- data/lib/RMagick.rb +7 -7
- data/lib/rvg/clippath.rb +2 -2
- data/lib/rvg/container.rb +2 -2
- data/lib/rvg/describable.rb +2 -2
- data/lib/rvg/embellishable.rb +2 -2
- data/lib/rvg/misc.rb +2 -2
- data/lib/rvg/paint.rb +7 -2
- data/lib/rvg/pathdata.rb +2 -2
- data/lib/rvg/rvg.rb +3 -3
- data/lib/rvg/stretchable.rb +15 -3
- data/lib/rvg/stylable.rb +2 -2
- data/lib/rvg/text.rb +2 -2
- data/lib/rvg/transformable.rb +2 -2
- data/lib/rvg/units.rb +2 -2
- data/rmagick.gemspec +1 -1
- metadata +3 -3
data/lib/rvg/stretchable.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#--
|
2
|
-
# $Id: stretchable.rb,v 1.
|
3
|
-
# Copyright (C)
|
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
|
-
#
|
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
data/lib/rvg/text.rb
CHANGED
data/lib/rvg/transformable.rb
CHANGED
data/lib/rvg/units.rb
CHANGED
data/rmagick.gemspec
CHANGED
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.
|
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-
|
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
|
400
|
+
rubygems_version: 1.1.0
|
401
401
|
signing_key:
|
402
402
|
specification_version: 2
|
403
403
|
summary: Ruby binding to ImageMagick
|