cairo 1.6.0 → 1.6.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of cairo might be problematic. Click here for more details.
- data/ChangeLog +37 -1
- data/NEWS +10 -1
- data/README +17 -1
- data/Rakefile +21 -4
- data/doc/doc.css +22 -0
- data/doc/en/cairo-antialias.html +15 -1
- data/doc/en/cairo-clip-not-representable-error.html +15 -1
- data/doc/en/cairo-color-base.html +15 -1
- data/doc/en/cairo-color-cmyk.html +15 -1
- data/doc/en/cairo-color-hsv.html +15 -1
- data/doc/en/cairo-color-rgb.html +15 -1
- data/doc/en/cairo-color-x11.html +15 -1
- data/doc/en/cairo-color.html +15 -1
- data/doc/en/cairo-content.html +15 -1
- data/doc/en/cairo-context-blur.html +15 -1
- data/doc/en/cairo-context-circle.html +15 -1
- data/doc/en/cairo-context-color.html +15 -1
- data/doc/en/cairo-context-path.html +15 -1
- data/doc/en/cairo-context-rectangle.html +15 -1
- data/doc/en/cairo-context-triangle.html +15 -1
- data/doc/en/cairo-context.html +15 -1
- data/doc/en/cairo-error.html +15 -1
- data/doc/en/cairo-extend.html +15 -1
- data/doc/en/cairo-file-not-found.html +15 -1
- data/doc/en/cairo-fill-rule.html +15 -1
- data/doc/en/cairo-filter.html +15 -1
- data/doc/en/cairo-font-extents.html +15 -1
- data/doc/en/cairo-font-face.html +15 -1
- data/doc/en/cairo-font-options.html +15 -1
- data/doc/en/cairo-font-slant.html +15 -1
- data/doc/en/cairo-font-weight.html +15 -1
- data/doc/en/cairo-format.html +15 -1
- data/doc/en/cairo-glyph.html +15 -1
- data/doc/en/cairo-gradient-pattern.html +15 -1
- data/doc/en/cairo-hint-metrics.html +15 -1
- data/doc/en/cairo-hint-style.html +15 -1
- data/doc/en/cairo-image-surface.html +15 -1
- data/doc/en/cairo-invalid-content-error.html +15 -1
- data/doc/en/cairo-invalid-dash-error.html +15 -1
- data/doc/en/cairo-invalid-dsc-comment-error.html +15 -1
- data/doc/en/cairo-invalid-format-error.html +15 -1
- data/doc/en/cairo-invalid-index-error.html +15 -1
- data/doc/en/cairo-invalid-matrix-error.html +15 -1
- data/doc/en/cairo-invalid-path-data-error.html +15 -1
- data/doc/en/cairo-invalid-pop-group-error.html +15 -1
- data/doc/en/cairo-invalid-restore-error.html +15 -1
- data/doc/en/cairo-invalid-status-error.html +15 -1
- data/doc/en/cairo-invalid-stride-error.html +15 -1
- data/doc/en/cairo-invalid-string-error.html +15 -1
- data/doc/en/cairo-invalid-visual-error.html +15 -1
- data/doc/en/cairo-line-cap.html +15 -1
- data/doc/en/cairo-line-join.html +15 -1
- data/doc/en/cairo-linear-pattern.html +15 -1
- data/doc/en/cairo-matrix.html +15 -1
- data/doc/en/cairo-no-current-point-error.html +15 -1
- data/doc/en/cairo-null-pointer-error.html +15 -1
- data/doc/en/cairo-operator.html +15 -1
- data/doc/en/cairo-paper-parse-error.html +15 -1
- data/doc/en/cairo-paper-unknown-paper-name.html +15 -1
- data/doc/en/cairo-paper-unknown-unit.html +15 -1
- data/doc/en/cairo-paper-unrecognized-paper-description.html +15 -1
- data/doc/en/cairo-paper.html +15 -1
- data/doc/en/cairo-path-close-path.html +15 -1
- data/doc/en/cairo-path-curve-to.html +15 -1
- data/doc/en/cairo-path-data-type.html +15 -1
- data/doc/en/cairo-path-data.html +15 -1
- data/doc/en/cairo-path-line-to.html +15 -1
- data/doc/en/cairo-path-move-to.html +15 -1
- data/doc/en/cairo-path.html +15 -1
- data/doc/en/cairo-pattern-type-mismatch-error.html +15 -1
- data/doc/en/cairo-pattern.html +15 -1
- data/doc/en/cairo-pdf-surface.html +15 -1
- data/doc/en/cairo-point.html +15 -1
- data/doc/en/cairo-ps-level.html +15 -1
- data/doc/en/cairo-ps-surface.html +15 -1
- data/doc/en/cairo-quartz-image-surface.html +60 -0
- data/doc/en/cairo-quartz-surface.html +27 -5
- data/doc/en/cairo-radial-pattern.html +15 -1
- data/doc/en/cairo-read-error.html +15 -1
- data/doc/en/cairo-rectangle.html +15 -1
- data/doc/en/cairo-scaled-font.html +15 -1
- data/doc/en/cairo-solid-pattern.html +15 -1
- data/doc/en/cairo-subpixel-order.html +15 -1
- data/doc/en/cairo-surface-finished-error.html +15 -1
- data/doc/en/cairo-surface-pattern.html +15 -1
- data/doc/en/cairo-surface-type-mismatch-error.html +15 -1
- data/doc/en/cairo-surface.html +15 -1
- data/doc/en/cairo-svg-surface.html +15 -1
- data/doc/en/cairo-svg-version.html +15 -1
- data/doc/en/cairo-temp-file-error.html +15 -1
- data/doc/en/cairo-text-extents.html +15 -1
- data/doc/en/cairo-win32-printing-surface.html +60 -0
- data/doc/en/cairo-win32-surface.html +28 -6
- data/doc/en/cairo-write-error.html +15 -1
- data/doc/en/cairo.html +15 -1
- data/doc/en/index.html +26 -4
- data/doc/ja/cairo-antialias.html +15 -1
- data/doc/ja/cairo-clip-not-representable-error.html +15 -1
- data/doc/ja/cairo-color-base.html +15 -1
- data/doc/ja/cairo-color-cmyk.html +15 -1
- data/doc/ja/cairo-color-hsv.html +15 -1
- data/doc/ja/cairo-color-rgb.html +15 -1
- data/doc/ja/cairo-color-x11.html +15 -1
- data/doc/ja/cairo-color.html +15 -1
- data/doc/ja/cairo-content.html +15 -1
- data/doc/ja/cairo-context-blur.html +15 -1
- data/doc/ja/cairo-context-circle.html +15 -1
- data/doc/ja/cairo-context-color.html +15 -1
- data/doc/ja/cairo-context-path.html +15 -1
- data/doc/ja/cairo-context-rectangle.html +15 -1
- data/doc/ja/cairo-context-triangle.html +15 -1
- data/doc/ja/cairo-context.html +15 -1
- data/doc/ja/cairo-error.html +15 -1
- data/doc/ja/cairo-extend.html +15 -1
- data/doc/ja/cairo-file-not-found.html +15 -1
- data/doc/ja/cairo-fill-rule.html +15 -1
- data/doc/ja/cairo-filter.html +15 -1
- data/doc/ja/cairo-font-extents.html +15 -1
- data/doc/ja/cairo-font-face.html +15 -1
- data/doc/ja/cairo-font-options.html +15 -1
- data/doc/ja/cairo-font-slant.html +15 -1
- data/doc/ja/cairo-font-weight.html +15 -1
- data/doc/ja/cairo-format.html +19 -5
- data/doc/ja/cairo-glyph.html +15 -1
- data/doc/ja/cairo-gradient-pattern.html +15 -1
- data/doc/ja/cairo-hint-metrics.html +15 -1
- data/doc/ja/cairo-hint-style.html +15 -1
- data/doc/ja/cairo-image-surface.html +15 -1
- data/doc/ja/cairo-invalid-content-error.html +15 -1
- data/doc/ja/cairo-invalid-dash-error.html +15 -1
- data/doc/ja/cairo-invalid-dsc-comment-error.html +15 -1
- data/doc/ja/cairo-invalid-format-error.html +15 -1
- data/doc/ja/cairo-invalid-index-error.html +15 -1
- data/doc/ja/cairo-invalid-matrix-error.html +15 -1
- data/doc/ja/cairo-invalid-path-data-error.html +15 -1
- data/doc/ja/cairo-invalid-pop-group-error.html +15 -1
- data/doc/ja/cairo-invalid-restore-error.html +15 -1
- data/doc/ja/cairo-invalid-status-error.html +15 -1
- data/doc/ja/cairo-invalid-stride-error.html +15 -1
- data/doc/ja/cairo-invalid-string-error.html +15 -1
- data/doc/ja/cairo-invalid-visual-error.html +15 -1
- data/doc/ja/cairo-line-cap.html +15 -1
- data/doc/ja/cairo-line-join.html +15 -1
- data/doc/ja/cairo-linear-pattern.html +15 -1
- data/doc/ja/cairo-matrix.html +15 -1
- data/doc/ja/cairo-no-current-point-error.html +15 -1
- data/doc/ja/cairo-null-pointer-error.html +15 -1
- data/doc/ja/cairo-operator.html +15 -1
- data/doc/ja/cairo-paper-parse-error.html +15 -1
- data/doc/ja/cairo-paper-unknown-paper-name.html +15 -1
- data/doc/ja/cairo-paper-unknown-unit.html +15 -1
- data/doc/ja/cairo-paper-unrecognized-paper-description.html +15 -1
- data/doc/ja/cairo-paper.html +15 -1
- data/doc/ja/cairo-path-close-path.html +15 -1
- data/doc/ja/cairo-path-curve-to.html +15 -1
- data/doc/ja/cairo-path-data-type.html +15 -1
- data/doc/ja/cairo-path-data.html +15 -1
- data/doc/ja/cairo-path-line-to.html +15 -1
- data/doc/ja/cairo-path-move-to.html +15 -1
- data/doc/ja/cairo-path.html +15 -1
- data/doc/ja/cairo-pattern-type-mismatch-error.html +15 -1
- data/doc/ja/cairo-pattern.html +15 -1
- data/doc/ja/cairo-pdf-surface.html +15 -1
- data/doc/ja/cairo-point.html +15 -1
- data/doc/ja/cairo-ps-level.html +15 -1
- data/doc/ja/cairo-ps-surface.html +15 -1
- data/doc/ja/cairo-quartz-image-surface.html +75 -0
- data/doc/ja/cairo-quartz-surface.html +16 -1
- data/doc/ja/cairo-radial-pattern.html +15 -1
- data/doc/ja/cairo-read-error.html +15 -1
- data/doc/ja/cairo-rectangle.html +15 -1
- data/doc/ja/cairo-scaled-font.html +15 -1
- data/doc/ja/cairo-solid-pattern.html +15 -1
- data/doc/ja/cairo-subpixel-order.html +15 -1
- data/doc/ja/cairo-surface-finished-error.html +15 -1
- data/doc/ja/cairo-surface-pattern.html +15 -1
- data/doc/ja/cairo-surface-type-mismatch-error.html +15 -1
- data/doc/ja/cairo-surface.html +15 -1
- data/doc/ja/cairo-svg-surface.html +15 -1
- data/doc/ja/cairo-svg-version.html +15 -1
- data/doc/ja/cairo-temp-file-error.html +15 -1
- data/doc/ja/cairo-text-extents.html +15 -1
- data/doc/ja/cairo-win32-printing-surface.html +80 -0
- data/doc/ja/cairo-win32-surface.html +17 -3
- data/doc/ja/cairo-write-error.html +15 -1
- data/doc/ja/cairo.html +15 -1
- data/doc/ja/index.html +22 -1
- data/pkg-config.rb +9 -2
- data/src/lib/cairo.rb +14 -4
- data/src/rb_cairo.c +2 -2
- data/src/rb_cairo_surface.c +3 -3
- data/test/test_pkg_config.rb +2 -1
- metadata +6 -2
@@ -8,10 +8,17 @@
|
|
8
8
|
<title>Cairo::Win32Surfaceクラス</title>
|
9
9
|
<link href="../doc.css" type="text/css" rel="stylesheet" />
|
10
10
|
</head>
|
11
|
-
<
|
11
|
+
<div class="footer">
|
12
|
+
<ul>
|
13
|
+
<li><a href="./">索引</a></li>
|
14
|
+
</ul>
|
15
|
+
|
16
|
+
</div>
|
17
|
+
</body>
|
18
|
+
|
12
19
|
<h1><a name="label-0" id="label-0">Cairo::Win32Surfaceクラス</a></h1><!-- RDLabel: "Cairo::Win32Surfaceクラス" -->
|
13
|
-
<p>Microsoft Windows用のサーフェスです。
|
14
|
-
|
20
|
+
<p><em>Since 1.4</em>: Microsoft Windows用のサーフェスです。
|
21
|
+
Windowsのウィジェットに描画するために使用します。</p>
|
15
22
|
<h2><a name="label-1" id="label-1">オブジェクト階層</a></h2><!-- RDLabel: "オブジェクト階層" -->
|
16
23
|
<ul>
|
17
24
|
<li>Object
|
@@ -82,5 +89,12 @@
|
|
82
89
|
<li>2008-01-11: kou: スタート</li>
|
83
90
|
</ul>
|
84
91
|
|
92
|
+
<div class="footer">
|
93
|
+
<ul>
|
94
|
+
<li><a href="./">索引</a></li>
|
95
|
+
</ul>
|
96
|
+
|
97
|
+
</div>
|
85
98
|
</body>
|
99
|
+
|
86
100
|
</html>
|
@@ -8,7 +8,14 @@
|
|
8
8
|
<title>Cairo::WriteErrorクラス</title>
|
9
9
|
<link href="../doc.css" type="text/css" rel="stylesheet" />
|
10
10
|
</head>
|
11
|
-
<
|
11
|
+
<div class="footer">
|
12
|
+
<ul>
|
13
|
+
<li><a href="./">索引</a></li>
|
14
|
+
</ul>
|
15
|
+
|
16
|
+
</div>
|
17
|
+
</body>
|
18
|
+
|
12
19
|
<h1><a name="label-0" id="label-0">Cairo::WriteErrorクラス</a></h1><!-- RDLabel: "Cairo::WriteErrorクラス" -->
|
13
20
|
<p>出力ストリームにデータを書き出している間に問題があると発生し
|
14
21
|
ます。</p>
|
@@ -37,5 +44,12 @@
|
|
37
44
|
<li>2007-05-21: kou: スタート。</li>
|
38
45
|
</ul>
|
39
46
|
|
47
|
+
<div class="footer">
|
48
|
+
<ul>
|
49
|
+
<li><a href="./">索引</a></li>
|
50
|
+
</ul>
|
51
|
+
|
52
|
+
</div>
|
40
53
|
</body>
|
54
|
+
|
41
55
|
</html>
|
data/doc/ja/cairo.html
CHANGED
@@ -8,7 +8,14 @@
|
|
8
8
|
<title>Cairoモジュール</title>
|
9
9
|
<link href="../doc.css" type="text/css" rel="stylesheet" />
|
10
10
|
</head>
|
11
|
-
<
|
11
|
+
<div class="footer">
|
12
|
+
<ul>
|
13
|
+
<li><a href="./">索引</a></li>
|
14
|
+
</ul>
|
15
|
+
|
16
|
+
</div>
|
17
|
+
</body>
|
18
|
+
|
12
19
|
<h1><a name="label-0" id="label-0">Cairoモジュール</a></h1><!-- RDLabel: "Cairoモジュール" -->
|
13
20
|
<h2><a name="label-1" id="label-1">モジュール関数</a></h2><!-- RDLabel: "モジュール関数" -->
|
14
21
|
<dl>
|
@@ -130,5 +137,12 @@ rcairoをビルドするのに使用したcairoのバージョンを示す
|
|
130
137
|
<li>2007-05-22: kou: スタート。</li>
|
131
138
|
</ul>
|
132
139
|
|
140
|
+
<div class="footer">
|
141
|
+
<ul>
|
142
|
+
<li><a href="./">索引</a></li>
|
143
|
+
</ul>
|
144
|
+
|
145
|
+
</div>
|
133
146
|
</body>
|
147
|
+
|
134
148
|
</html>
|
data/doc/ja/index.html
CHANGED
@@ -8,7 +8,14 @@
|
|
8
8
|
<title>索引</title>
|
9
9
|
<link href="../doc.css" type="text/css" rel="stylesheet" />
|
10
10
|
</head>
|
11
|
-
<
|
11
|
+
<div class="footer">
|
12
|
+
<ul>
|
13
|
+
<li><a href="./">索引</a></li>
|
14
|
+
</ul>
|
15
|
+
|
16
|
+
</div>
|
17
|
+
</body>
|
18
|
+
|
12
19
|
<h1><a name="label-0" id="label-0">索引</a></h1><!-- RDLabel: "索引" -->
|
13
20
|
<ul>
|
14
21
|
<li><a href="cairo.html">Cairo</a></li>
|
@@ -818,6 +825,7 @@
|
|
818
825
|
<li><a href="cairo-ps-surface.html#label-7">Cairo::PSSurface#dsc_begin_setup</a></li>
|
819
826
|
<li><a href="cairo-ps-surface.html#label-8">Cairo::PSSurface#dsc_comment</a></li>
|
820
827
|
<li><a href="cairo-ps-surface.html#label-11">Cairo::PSSurface#eps=</a></li>
|
828
|
+
<li><a href="cairo-ps-surface.html#label-10">Cairo::PSSurface#eps?</a></li>
|
821
829
|
<li><a href="cairo-ps-surface.html#label-13">Cairo::PSSurface#restrict_to_level</a></li>
|
822
830
|
<li><a href="cairo-ps-surface.html#label-12">Cairo::PSSurface#set_eps</a></li>
|
823
831
|
<li><a href="cairo-ps-surface.html#label-9">Cairo::PSSurface#set_size</a></li>
|
@@ -970,6 +978,9 @@
|
|
970
978
|
<li><a href="cairo-point.html#label-7">Cairo::Point#to_ary</a></li>
|
971
979
|
<li><a href="cairo-point.html#label-8">Cairo::Point#x</a></li>
|
972
980
|
<li><a href="cairo-point.html#label-9">Cairo::Point#y</a></li>
|
981
|
+
<li><a href="cairo-quartz-image-surface.html">Cairo::QuartzImageSurface</a></li>
|
982
|
+
<li><a href="cairo-quartz-image-surface.html#label-3">Cairo::QuartzImageSurface.new</a></li>
|
983
|
+
<li><a href="cairo-quartz-image-surface.html#label-5">Cairo::QuartzImageSurface#image</a></li>
|
973
984
|
<li><a href="cairo-quartz-surface.html">Cairo::QuartzSurface</a></li>
|
974
985
|
<li><a href="cairo-quartz-surface.html#label-3">Cairo::QuartzSurface.new</a></li>
|
975
986
|
<li><a href="cairo-quartz-surface.html#label-7">Cairo::QuartzSurface#cg_context</a></li>
|
@@ -1048,6 +1059,9 @@
|
|
1048
1059
|
<li><a href="cairo-text-extents.html#label-7">Cairo::TextExtents#x_bearing</a></li>
|
1049
1060
|
<li><a href="cairo-text-extents.html#label-8">Cairo::TextExtents#y_advance</a></li>
|
1050
1061
|
<li><a href="cairo-text-extents.html#label-9">Cairo::TextExtents#y_bearing</a></li>
|
1062
|
+
<li><a href="cairo-win32-printing-surface.html">Cairo::Win32PrintingSurface</a></li>
|
1063
|
+
<li><a href="cairo-win32-printing-surface.html#label-3">Cairo::Win32PrintingSurface.new</a></li>
|
1064
|
+
<li><a href="cairo-win32-printing-surface.html#label-5">Cairo::Win32PrintingSurface#hdc</a></li>
|
1051
1065
|
<li><a href="cairo-win32-surface.html">Cairo::Win32Surface</a></li>
|
1052
1066
|
<li><a href="cairo-win32-surface.html#label-3">Cairo::Win32Surface.new</a></li>
|
1053
1067
|
<li><a href="cairo-win32-surface.html#label-9">Cairo::Win32Surface#hdc</a></li>
|
@@ -1055,5 +1069,12 @@
|
|
1055
1069
|
<li><a href="cairo-write-error.html">Cairo::WriteError</a></li>
|
1056
1070
|
</ul>
|
1057
1071
|
|
1072
|
+
<div class="footer">
|
1073
|
+
<ul>
|
1074
|
+
<li><a href="./">索引</a></li>
|
1075
|
+
</ul>
|
1076
|
+
|
1077
|
+
</div>
|
1058
1078
|
</body>
|
1079
|
+
|
1059
1080
|
</html>
|
data/pkg-config.rb
CHANGED
@@ -166,10 +166,16 @@ class PackageConfig
|
|
166
166
|
|
167
167
|
def guess_default_path
|
168
168
|
default_path = "/usr/local/lib/pkgconfig:/usr/lib/pkgconfig"
|
169
|
+
libdir = ENV["PKG_CONFIG_LIBDIR"]
|
170
|
+
default_path = "#{libdir}:#{default_path}" if libdir
|
169
171
|
pkg_config = with_config("pkg-config", ENV["PKG_CONFIG"] || "pkg-config")
|
170
172
|
pkg_config = Pathname.new(pkg_config)
|
171
173
|
unless pkg_config.absolute?
|
172
|
-
|
174
|
+
begin
|
175
|
+
require "dl/import"
|
176
|
+
rescue LoadError
|
177
|
+
return default_path
|
178
|
+
end
|
173
179
|
dln = Module.new
|
174
180
|
dln.module_eval do
|
175
181
|
if DL.const_defined?(:Importer)
|
@@ -191,7 +197,8 @@ class PackageConfig
|
|
191
197
|
return default_path if pkg_config.nil?
|
192
198
|
pkg_config = Pathname.new(pkg_config)
|
193
199
|
end
|
194
|
-
(pkg_config.parent.parent + "lib" + "pkgconfig").to_s
|
200
|
+
[(pkg_config.parent.parent + "lib" + "pkgconfig").to_s,
|
201
|
+
default_path].join(":")
|
195
202
|
end
|
196
203
|
end
|
197
204
|
|
data/src/lib/cairo.rb
CHANGED
@@ -1,10 +1,20 @@
|
|
1
1
|
# vim: filetype=ruby:expandtab:shiftwidth=2:tabstop=8:softtabstop=2 :
|
2
2
|
|
3
3
|
if /mingw|mswin|mswin32/ =~ RUBY_PLATFORM
|
4
|
-
require '
|
5
|
-
|
6
|
-
|
7
|
-
|
4
|
+
require 'pathname'
|
5
|
+
base_dir = Pathname(File.dirname(__FILE__))
|
6
|
+
base_dir = base_dir.parent.parent + "cairo"
|
7
|
+
if base_dir.exist?
|
8
|
+
base_dir = base_dir.to_s.gsub(/\//, "\\")
|
9
|
+
ENV['PATH'] = %w(bin lib).collect do |dir|
|
10
|
+
"#{base_dir}\\#{dir};"
|
11
|
+
end.join('') + ENV['PATH']
|
12
|
+
else
|
13
|
+
require 'rbconfig'
|
14
|
+
ENV['PATH'] = %w(bin lib).collect do |dir|
|
15
|
+
"#{Config::CONFIG["prefix"]}\\lib\\GTK\\#{dir};"
|
16
|
+
end.join('') + ENV['PATH']
|
17
|
+
end
|
8
18
|
end
|
9
19
|
|
10
20
|
module Cairo
|
data/src/rb_cairo.c
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
* Ruby Cairo Binding
|
4
4
|
*
|
5
5
|
* $Author: kou $
|
6
|
-
* $Date: 2008-04-
|
6
|
+
* $Date: 2008-04-24 06:01:56 $
|
7
7
|
*
|
8
8
|
* Copyright 2006-2007 Kouhei Sutou <kou@cozmixng.org>
|
9
9
|
* Copyright 2005 Øyvind Kolås <pippin@freedesktop.org>
|
@@ -58,7 +58,7 @@ Init_cairo ()
|
|
58
58
|
|
59
59
|
rb_define_const (rb_mCairo, "BINDINGS_VERSION",
|
60
60
|
rb_ary_new3 (4,
|
61
|
-
INT2FIX (1), INT2FIX (6), INT2FIX (
|
61
|
+
INT2FIX (1), INT2FIX (6), INT2FIX (1), Qnil));
|
62
62
|
|
63
63
|
rb_mCairo_Color = rb_const_get (rb_mCairo, rb_intern ("Color"));
|
64
64
|
rb_cCairo_Color_Base = rb_const_get (rb_mCairo_Color, rb_intern ("Base"));
|
data/src/rb_cairo_surface.c
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
* Ruby Cairo Binding
|
4
4
|
*
|
5
5
|
* $Author: kou $
|
6
|
-
* $Date: 2008-04-
|
6
|
+
* $Date: 2008-04-16 14:48:23 $
|
7
7
|
*
|
8
8
|
* Copyright 2005 Øyvind Kolås <pippin@freedesktop.org>
|
9
9
|
* Copyright 2004-2005 MenTaLguY <mental@rydia.com>
|
@@ -1244,8 +1244,8 @@ Init_cairo_surface (void)
|
|
1244
1244
|
|
1245
1245
|
rb_define_method (rb_cCairo_QuartzImageSurface, "initialize",
|
1246
1246
|
cr_quartz_image_surface_initialize, 1);
|
1247
|
-
rb_define_method (
|
1248
|
-
|
1247
|
+
rb_define_method (rb_cCairo_QuartzImageSurface, "image",
|
1248
|
+
cr_quartz_image_surface_get_image, 0);
|
1249
1249
|
# endif
|
1250
1250
|
|
1251
1251
|
#endif
|
data/test/test_pkg_config.rb
CHANGED
@@ -51,7 +51,8 @@ class PkgConfigTest < Test::Unit::TestCase
|
|
51
51
|
end
|
52
52
|
|
53
53
|
def test_requires_private
|
54
|
-
assert_equal(["freetype2", "fontconfig", "libpng12", "xrender",
|
54
|
+
assert_equal(["freetype2", "fontconfig", "libpng12", "xrender",
|
55
|
+
"x11", "pixman-1"],
|
55
56
|
@cairo.requires_private)
|
56
57
|
end
|
57
58
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cairo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Evan Marin
|
@@ -12,7 +12,7 @@ autorequire:
|
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
14
|
|
15
|
-
date: 2008-04-
|
15
|
+
date: 2008-04-24 00:00:00 +09:00
|
16
16
|
default_executable:
|
17
17
|
dependencies: []
|
18
18
|
|
@@ -104,6 +104,7 @@ files:
|
|
104
104
|
- doc/en/cairo-point.html
|
105
105
|
- doc/en/cairo-ps-level.html
|
106
106
|
- doc/en/cairo-ps-surface.html
|
107
|
+
- doc/en/cairo-quartz-image-surface.html
|
107
108
|
- doc/en/cairo-quartz-surface.html
|
108
109
|
- doc/en/cairo-radial-pattern.html
|
109
110
|
- doc/en/cairo-read-error.html
|
@@ -119,6 +120,7 @@ files:
|
|
119
120
|
- doc/en/cairo-svg-version.html
|
120
121
|
- doc/en/cairo-temp-file-error.html
|
121
122
|
- doc/en/cairo-text-extents.html
|
123
|
+
- doc/en/cairo-win32-printing-surface.html
|
122
124
|
- doc/en/cairo-win32-surface.html
|
123
125
|
- doc/en/cairo-write-error.html
|
124
126
|
- doc/en/cairo.html
|
@@ -194,6 +196,7 @@ files:
|
|
194
196
|
- doc/ja/cairo-point.html
|
195
197
|
- doc/ja/cairo-ps-level.html
|
196
198
|
- doc/ja/cairo-ps-surface.html
|
199
|
+
- doc/ja/cairo-quartz-image-surface.html
|
197
200
|
- doc/ja/cairo-quartz-surface.html
|
198
201
|
- doc/ja/cairo-radial-pattern.html
|
199
202
|
- doc/ja/cairo-read-error.html
|
@@ -209,6 +212,7 @@ files:
|
|
209
212
|
- doc/ja/cairo-svg-version.html
|
210
213
|
- doc/ja/cairo-temp-file-error.html
|
211
214
|
- doc/ja/cairo-text-extents.html
|
215
|
+
- doc/ja/cairo-win32-printing-surface.html
|
212
216
|
- doc/ja/cairo-win32-surface.html
|
213
217
|
- doc/ja/cairo-write-error.html
|
214
218
|
- doc/ja/cairo.html
|