cairo 1.12.8 → 1.12.9

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.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2b985f692661b71ee8fe234a6b435aca1e730204
4
- data.tar.gz: 85c78c56bc33c1d6ef1e30097a1e57250595dacf
3
+ metadata.gz: 25726839fd4ba1f1c0a40c58b90d1de641eb863d
4
+ data.tar.gz: b6d811ef022e42990edebe58512740a21e9b1c3f
5
5
  SHA512:
6
- metadata.gz: 42975b768b271c558df6c14e02867b5631d455e5bb14337f219a50299c7a46328b8a33b937e8151189e8264ab12c10f1aec74de1ab6fe68e2786ae6b98d6382d
7
- data.tar.gz: 68a81668cab686eacf81d2734f6b9fccfd14026b2f1d254eefd381e370e11f265880b939c182f11a9f87796d10f9fdd260ca6523e11bdf340fb5c2c1e43d7d98
6
+ metadata.gz: 62656ab455331c397f0c98ba0fdceaff7729a08c20276a31190ca711fc6647c7e4f5887e6b81aec742f64e325a4909775cee17d978bd02fd8ab843c7494b5abb
7
+ data.tar.gz: 1501d2986b228891b410082e6f9c8446552cab09a48970fea6992615109b47da4e269099b877a1ac68e6a58e52a3a74b579e80a3f575ad55a96f3d390d87b147
data/NEWS CHANGED
@@ -1,3 +1,27 @@
1
+ Release 1.12.9 (2014-04-05) Kouhei Sutou <kou@cozmixng.org>
2
+ ===========================================================
3
+
4
+ Improvements
5
+ ------------
6
+
7
+ * Supported cocoa gem. [Patch by Patrick Hanevold]
8
+ * Made Cairo::Rectangle based on cairo_rectangle_int_t. It improves
9
+ Ruby/GDK3 integration.
10
+ * windows: Dropped binary packages support for Ruby 1.9.3.
11
+
12
+ Fixes
13
+ -----
14
+
15
+ * Fixed a bug that Cairo::Context isn't GC-ed without explicit
16
+ Cairo::Context#destroy.
17
+ [ruby-gnome2-devel-en][Reported by Detlef Reichl]
18
+
19
+ Thanks
20
+ ------
21
+
22
+ * Patrick Hanevold
23
+ * Detlef Reichl
24
+
1
25
  Release 1.12.8 (2013-12-23) Kouhei Sutou <kou@cozmixng.org>
2
26
  ===========================================================
3
27
 
data/Rakefile CHANGED
@@ -34,9 +34,21 @@ end
34
34
  Packnga::ReleaseTask.new(spec) do |task|
35
35
  end
36
36
 
37
+ module RCairoBuild
38
+ class << self
39
+ def for_64bit?
40
+ ENV["RCAIRO_WINDOWS_64"] == "yes"
41
+ end
42
+ end
43
+ end
44
+
37
45
  binary_dir = File.join("vendor", "local")
38
46
  Rake::ExtensionTask.new("cairo", spec) do |ext|
39
- ext.cross_platform = ["x86-mingw32"]
47
+ if RCairoBuild.for_64bit?
48
+ ext.cross_platform = ["x64-mingw32"]
49
+ else
50
+ ext.cross_platform = ["x86-mingw32"]
51
+ end
40
52
  ext.cross_compile = true
41
53
  ext.cross_compiling do |_spec|
42
54
  if /mingw|mswin/ =~ _spec.platform.to_s
@@ -131,7 +143,11 @@ class Package < Struct.new(:name,
131
143
  end
132
144
 
133
145
  def build_host
134
- "i686-w64-mingw32"
146
+ if RCairoBuild.for_64bit?
147
+ "x86_64-w64-mingw32"
148
+ else
149
+ "i686-w64-mingw32"
150
+ end
135
151
  end
136
152
 
137
153
  def configure_args
@@ -178,11 +194,13 @@ class WindowsTask
178
194
  namespace :windows do
179
195
  namespace :gcc do
180
196
  namespace :dll do
197
+ binary_path = install_dir + "bin"
198
+ directory binary_path.to_s
181
199
  desc "Bundle GCC related DLLs"
182
- task :bundle do
200
+ task :bundle => binary_path do
183
201
  dll_names = ["libgcc_s_sjlj-1.dll", "libwinpthread-1.dll"]
184
202
  dll_names.each do |dll_name|
185
- cp(absolete_gcc_dll_path(dll_name), install_dir + "bin")
203
+ cp(absolete_gcc_dll_path(dll_name), binary_path)
186
204
  end
187
205
  end
188
206
  end
@@ -369,7 +387,11 @@ class WindowsTask
369
387
  end
370
388
 
371
389
  def ruby_gnome2_dir
372
- @base_dir.parent + "ruby-gnome2.win32"
390
+ if RCairoBuild.for_64bit?
391
+ @base_dir.parent + "ruby-gnome2.win64"
392
+ else
393
+ @base_dir.parent + "ruby-gnome2.win32"
394
+ end
373
395
  end
374
396
 
375
397
  def ruby_glib2_pkg_config_path
@@ -413,16 +435,16 @@ windows_task = WindowsTask.new(spec) do |task|
413
435
  },
414
436
  {
415
437
  :name => "libpng",
416
- :version => "1.6.8",
417
- :download_base_url => "http://sourceforge.net/projects/libpng/files/libpng16/1.6.8",
438
+ :version => "1.6.10",
439
+ :download_base_url => "http://sourceforge.net/projects/libpng/files/libpng16/1.6.10",
418
440
  :windows => {
419
441
  :built_file => "bin/libpng16-16.dll",
420
442
  },
421
443
  },
422
444
  {
423
445
  :name => "freetype",
424
- :version => "2.5.2",
425
- :download_base_url => "http://sourceforge.net/projects/freetype/files/freetype2/2.5.2",
446
+ :version => "2.5.3",
447
+ :download_base_url => "http://sourceforge.net/projects/freetype/files/freetype2/2.5.3",
426
448
  :compression_method => "bz2",
427
449
  :windows => {
428
450
  :built_file => "bin/libfreetype-6.dll",
@@ -442,7 +464,7 @@ windows_task = WindowsTask.new(spec) do |task|
442
464
  },
443
465
  {
444
466
  :name => "fontconfig",
445
- :version => "2.11.0",
467
+ :version => "2.11.1",
446
468
  :download_base_url => "http://www.freedesktop.org/software/fontconfig/release",
447
469
  :compression_method => "bz2",
448
470
  :windows => {
@@ -452,8 +474,7 @@ windows_task = WindowsTask.new(spec) do |task|
452
474
  "--disable-docs",
453
475
  ],
454
476
  :patches => [
455
- "fontconfig-2.11.0-disable-mktemp-s.diff",
456
- "fontconfig-2.11.0-disable-test.diff",
477
+ "fontconfig-2.11.1-disable-mktemp-s.diff",
457
478
  ],
458
479
  :need_autoreconf => true,
459
480
  },
data/ext/cairo/rb_cairo.c CHANGED
@@ -93,6 +93,7 @@ Init_cairo ()
93
93
  Init_cairo_constants ();
94
94
 
95
95
  Init_cairo_context ();
96
+ Init_cairo_rectangle ();
96
97
  Init_cairo_path ();
97
98
  Init_cairo_matrix ();
98
99
  Init_cairo_region ();
data/ext/cairo/rb_cairo.h CHANGED
@@ -73,7 +73,7 @@ RB_CAIRO_BEGIN_DECLS
73
73
 
74
74
  #define RB_CAIRO_VERSION_MAJOR 1
75
75
  #define RB_CAIRO_VERSION_MINOR 12
76
- #define RB_CAIRO_VERSION_MICRO 8
76
+ #define RB_CAIRO_VERSION_MICRO 9
77
77
 
78
78
  RB_CAIRO_VAR VALUE rb_mCairo;
79
79
  RB_CAIRO_VAR VALUE rb_cCairo_Context;
@@ -15,6 +15,7 @@
15
15
 
16
16
  #include "rb_cairo.h"
17
17
  #include "rb_cairo_private.h"
18
+ #include "rb_cairo_io.h"
18
19
 
19
20
  #ifdef HAVE_RUBY_ST_H
20
21
  # include <ruby/st.h>
@@ -23,7 +24,6 @@
23
24
  #endif
24
25
 
25
26
  VALUE rb_cCairo_Context;
26
- VALUE rb_cCairo_Rectangle;
27
27
 
28
28
  static ID cr_id_surface, cr_id_source;
29
29
  static ID cr_id_plus, cr_id_minus, cr_id_multi, cr_id_div;
@@ -33,22 +33,6 @@ static cairo_user_data_key_t cr_object_holder_key;
33
33
 
34
34
  static VALUE cr_get_current_point (VALUE self);
35
35
 
36
- #if CAIRO_CHECK_VERSION(1, 3, 0)
37
- static ID at_x, at_y, at_width, at_height;
38
-
39
- static VALUE
40
- cr_rectangle_initialize (VALUE self, VALUE x, VALUE y,
41
- VALUE width, VALUE height)
42
- {
43
- rb_ivar_set (self, at_x, x);
44
- rb_ivar_set (self, at_y, y);
45
- rb_ivar_set (self, at_width, width);
46
- rb_ivar_set (self, at_height, height);
47
-
48
- return Qnil;
49
- }
50
- #endif
51
-
52
36
  static inline void
53
37
  cr_check_status (cairo_t *context)
54
38
  {
@@ -154,10 +138,11 @@ cr_initialize (VALUE self, VALUE target)
154
138
  cr = cairo_create (RVAL2CRSURFACE (target));
155
139
  cr_check_status (cr);
156
140
  rb_ivar_set (self, cr_id_surface, target);
157
- cr_set_user_data (cr,
158
- &cr_object_holder_key,
159
- cr_object_holder_new(self),
160
- cr_object_holder_free);
141
+ if (rb_ivar_defined (target, rb_cairo__io_id_output))
142
+ cr_set_user_data (cr,
143
+ &cr_object_holder_key,
144
+ cr_object_holder_new (self),
145
+ cr_object_holder_free);
161
146
  DATA_PTR (self) = cr;
162
147
  if (rb_block_given_p ())
163
148
  result = rb_ensure (rb_yield, self, cr_destroy_with_destroy_check, self);
@@ -1533,23 +1518,6 @@ Init_cairo_context (void)
1533
1518
  cr_id_multi = rb_intern ("*");
1534
1519
  cr_id_div = rb_intern ("/");
1535
1520
 
1536
- #if CAIRO_CHECK_VERSION(1, 3, 0)
1537
- rb_cCairo_Rectangle =
1538
- rb_define_class_under (rb_mCairo, "Rectangle", rb_cObject);
1539
- at_x = rb_intern ("@x");
1540
- at_y = rb_intern ("@y");
1541
- at_width = rb_intern ("@width");
1542
- at_height = rb_intern ("@height");
1543
-
1544
- rb_define_attr (rb_cCairo_Rectangle, "x", CR_TRUE, CR_TRUE);
1545
- rb_define_attr (rb_cCairo_Rectangle, "y", CR_TRUE, CR_TRUE);
1546
- rb_define_attr (rb_cCairo_Rectangle, "width", CR_TRUE, CR_TRUE);
1547
- rb_define_attr (rb_cCairo_Rectangle, "height", CR_TRUE, CR_TRUE);
1548
-
1549
- rb_define_method (rb_cCairo_Rectangle, "initialize",
1550
- cr_rectangle_initialize, 4);
1551
- #endif
1552
-
1553
1521
  rb_cCairo_Context =
1554
1522
  rb_define_class_under (rb_mCairo, "Context", rb_cObject);
1555
1523
 
@@ -48,6 +48,7 @@ extern void Init_cairo_io (void);
48
48
  extern void Init_cairo_constants (void);
49
49
 
50
50
  extern void Init_cairo_context (void);
51
+ extern void Init_cairo_rectangle (void);
51
52
  extern void Init_cairo_path (void);
52
53
  extern void Init_cairo_matrix (void);
53
54
  extern void Init_cairo_region (void);
@@ -0,0 +1,83 @@
1
+ /* -*- c-file-style: "gnu"; indent-tabs-mode: nil -*- */
2
+ /*
3
+ * Ruby Cairo Binding
4
+ *
5
+ * Copyright 2005-2014 Kouhei Sutou <kou@cozmixng.org>
6
+ *
7
+ * This file is made available under the same terms as Ruby
8
+ *
9
+ */
10
+
11
+ #include "rb_cairo.h"
12
+
13
+ VALUE rb_cCairo_Rectangle;
14
+
15
+ #define _SELF ((cairo_rectangle_int_t *)DATA_PTR (self))
16
+
17
+ #if CAIRO_CHECK_VERSION(1, 10, 0)
18
+ static VALUE
19
+ cr_rectangle_allocate (VALUE klass)
20
+ {
21
+ return Data_Wrap_Struct (klass, NULL, xfree, NULL);
22
+ }
23
+
24
+ static VALUE
25
+ cr_rectangle_initialize (VALUE self, VALUE x, VALUE y,
26
+ VALUE width, VALUE height)
27
+ {
28
+ cairo_rectangle_int_t *rectangle;
29
+
30
+ rectangle = ALLOC (cairo_rectangle_int_t);
31
+ DATA_PTR (self) = rectangle;
32
+
33
+ rectangle->x = NUM2INT (x);
34
+ rectangle->y = NUM2INT (y);
35
+ rectangle->width = NUM2INT (width);
36
+ rectangle->height = NUM2INT (height);
37
+
38
+ return Qnil;
39
+ }
40
+
41
+ # define DEFINE_RECTANGLE_ACCESSOR(name) \
42
+ static VALUE \
43
+ cr_rectangle_get_ ## name (VALUE self) \
44
+ { \
45
+ return INT2NUM (_SELF->name); \
46
+ } \
47
+ \
48
+ static VALUE \
49
+ cr_rectangle_set_ ## name (VALUE self, VALUE value) \
50
+ { \
51
+ _SELF->name = NUM2INT (value); \
52
+ return self; \
53
+ }
54
+
55
+ DEFINE_RECTANGLE_ACCESSOR(x)
56
+ DEFINE_RECTANGLE_ACCESSOR(y)
57
+ DEFINE_RECTANGLE_ACCESSOR(width)
58
+ DEFINE_RECTANGLE_ACCESSOR(height)
59
+
60
+ # undef DEFINE_RECTANGLE_ACCESSOR
61
+ #endif
62
+
63
+ void
64
+ Init_cairo_rectangle (void)
65
+ {
66
+ #if CAIRO_CHECK_VERSION(1, 10, 0)
67
+ rb_cCairo_Rectangle =
68
+ rb_define_class_under (rb_mCairo, "Rectangle", rb_cObject);
69
+ rb_define_alloc_func (rb_cCairo_Rectangle, cr_rectangle_allocate);
70
+
71
+ rb_define_method (rb_cCairo_Rectangle, "initialize",
72
+ cr_rectangle_initialize, 4);
73
+
74
+ rb_define_method (rb_cCairo_Rectangle, "x", cr_rectangle_get_x, 0);
75
+ rb_define_method (rb_cCairo_Rectangle, "x=", cr_rectangle_set_x, 1);
76
+ rb_define_method (rb_cCairo_Rectangle, "y", cr_rectangle_get_y, 0);
77
+ rb_define_method (rb_cCairo_Rectangle, "y=", cr_rectangle_set_y, 1);
78
+ rb_define_method (rb_cCairo_Rectangle, "width", cr_rectangle_get_width, 0);
79
+ rb_define_method (rb_cCairo_Rectangle, "width=", cr_rectangle_set_width, 1);
80
+ rb_define_method (rb_cCairo_Rectangle, "height", cr_rectangle_get_height, 0);
81
+ rb_define_method (rb_cCairo_Rectangle, "height=", cr_rectangle_set_height, 1);
82
+ #endif
83
+ }
@@ -2,10 +2,8 @@
2
2
  /*
3
3
  * Ruby Cairo Binding
4
4
  *
5
- * $Author: kou $
6
- * $Date: 2008-11-01 14:23:14 $
7
- *
8
- * Copyright 2005-2012 Kouhei Sutou <kou@cozmixng.org>
5
+ * Copyright 2005-2014 Kouhei Sutou <kou@cozmixng.org>
6
+ * Copyright 2014 Patrick Hanevold <patrick.hanevold@gmail.com>
9
7
  * Copyright 2005 Øyvind Kolås <pippin@freedesktop.org>
10
8
  * Copyright 2004-2005 MenTaLguY <mental@rydia.com>
11
9
  *
@@ -55,11 +53,9 @@ enum ruby_value_type {
55
53
  # undef T_DATA
56
54
  # include <cairo-quartz.h>
57
55
  # define T_DATA RUBY_T_DATA
58
- # ifdef HAVE_RUBY_COCOA
59
- # define RB_CAIRO_HAS_QUARTZ_SURFACE
60
- # ifdef RB_CAIRO_HAS_QUARTZ_IMAGE_SURFACE_TYPE
61
- # define RB_CAIRO_HAS_QUARTZ_IMAGE_SURFACE
62
- # endif
56
+ # define RB_CAIRO_HAS_QUARTZ_SURFACE
57
+ # ifdef RB_CAIRO_HAS_QUARTZ_IMAGE_SURFACE_TYPE
58
+ # define RB_CAIRO_HAS_QUARTZ_IMAGE_SURFACE
63
59
  # endif
64
60
  #endif
65
61
 
@@ -106,6 +102,10 @@ VALUE rb_cCairo_CoglSurface = Qnil;
106
102
  static ID cr_id_parse;
107
103
  static ID cr_id_size;
108
104
  static ID cr_id_set_unit;
105
+ static ID cr_id_x;
106
+ static ID cr_id_y;
107
+ static ID cr_id_width;
108
+ static ID cr_id_height;
109
109
  static cairo_user_data_key_t cr_closure_key;
110
110
  static cairo_user_data_key_t cr_object_holder_key;
111
111
  static cairo_user_data_key_t cr_finished_key;
@@ -571,10 +571,10 @@ cr_surface_map_to_image (int argc, VALUE *argv, VALUE self)
571
571
  extents = &extents_value;
572
572
  if (rb_cairo__is_kind_of (rb_extents, rb_cCairo_Rectangle))
573
573
  {
574
- extents->x = NUM2INT (rb_iv_get (rb_extents, "@x"));
575
- extents->y = NUM2INT (rb_iv_get (rb_extents, "@y"));
576
- extents->width = NUM2INT (rb_iv_get (rb_extents, "@width"));
577
- extents->height = NUM2INT (rb_iv_get (rb_extents, "@height"));
574
+ extents->x = NUM2INT (rb_funcall (rb_extents, cr_id_x, 0));
575
+ extents->y = NUM2INT (rb_funcall (rb_extents, cr_id_y, 0));
576
+ extents->width = NUM2INT (rb_funcall (rb_extents, cr_id_width, 0));
577
+ extents->height = NUM2INT (rb_funcall (rb_extents, cr_id_height, 0));
578
578
  }
579
579
  else
580
580
  {
@@ -1211,7 +1211,10 @@ cr_quartz_surface_initialize (int argc, VALUE *argv, VALUE self)
1211
1211
  cairo_surface_t *surface = NULL;
1212
1212
  cairo_format_t format = CAIRO_FORMAT_ARGB32;
1213
1213
  VALUE arg1, arg2, arg3, rb_width, rb_height;
1214
+ #ifdef HAVE_RUBY_COCOA
1214
1215
  static VALUE rb_cOSXCGContextRef = Qnil;
1216
+ #endif
1217
+ static VALUE rb_cFFIPointer = Qnil;
1215
1218
 
1216
1219
  rb_scan_args (argc, argv, "21", &arg1, &arg2, &arg3);
1217
1220
 
@@ -1232,20 +1235,45 @@ cr_quartz_surface_initialize (int argc, VALUE *argv, VALUE self)
1232
1235
  format = RVAL2CRFORMAT (arg1);
1233
1236
  break;
1234
1237
  default:
1238
+ #ifdef HAVE_RUBY_COCOA
1235
1239
  if (NIL_P (rb_cOSXCGContextRef))
1236
1240
  rb_cOSXCGContextRef =
1237
1241
  rb_const_get (rb_const_get (rb_cObject, rb_intern ("OSX")),
1238
1242
  rb_intern ("CGContextRef"));
1243
+ #endif
1239
1244
 
1245
+ if (NIL_P (rb_cFFIPointer))
1246
+ rb_cFFIPointer =
1247
+ rb_const_get (rb_const_get (rb_cObject, rb_intern ("FFI")),
1248
+ rb_intern ("Pointer"));
1249
+
1250
+ #ifdef HAVE_RUBY_COCOA
1240
1251
  if (RTEST (rb_obj_is_kind_of (arg1, rb_cOSXCGContextRef)))
1241
- rbobj_to_nsobj (arg1, &objc_object);
1252
+ {
1253
+ rbobj_to_nsobj (arg1, &objc_object);
1254
+ }
1242
1255
  else
1243
- rb_raise (rb_eArgError,
1244
- "invalid argument (expect "
1245
- "(width, height), "
1246
- "(format, width, height) or "
1247
- "(cg_context, width, height)): %s",
1248
- rb_cairo__inspect (rb_ary_new3 (3, arg1, arg2, arg3)));
1256
+ #endif
1257
+ {
1258
+ if (RTEST (rb_obj_is_kind_of (arg1, rb_cFFIPointer)))
1259
+ {
1260
+ VALUE rb_objc_pointer;
1261
+ rb_objc_pointer = rb_funcall (arg1,
1262
+ rb_intern ("address"),
1263
+ 0);
1264
+ objc_object = NUM2ULONG (rb_objc_pointer);
1265
+ }
1266
+ else
1267
+ {
1268
+ rb_raise (rb_eArgError,
1269
+ "invalid argument (expect "
1270
+ "(width, height), "
1271
+ "(format, width, height), "
1272
+ "(cg_context, width, height) or "
1273
+ "(ffi_pointer, width, height)): %s",
1274
+ rb_cairo__inspect (rb_ary_new3 (3, arg1, arg2, arg3)));
1275
+ }
1276
+ }
1249
1277
  break;
1250
1278
  }
1251
1279
 
@@ -1893,6 +1921,10 @@ Init_cairo_surface (void)
1893
1921
  cr_id_parse = rb_intern ("parse");
1894
1922
  cr_id_size = rb_intern ("size");
1895
1923
  cr_id_set_unit = rb_intern ("unit=");
1924
+ cr_id_x = rb_intern ("x");
1925
+ cr_id_y = rb_intern ("y");
1926
+ cr_id_width = rb_intern ("width");
1927
+ cr_id_height = rb_intern ("height");
1896
1928
 
1897
1929
  rb_cCairo_Surface =
1898
1930
  rb_define_class_under (rb_mCairo, "Surface", rb_cObject);
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cairo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.8
4
+ version: 1.12.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Sutou
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-23 00:00:00.000000000 Z
11
+ date: 2014-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pkg-config
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '>='
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: 1.1.5
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '>='
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: 1.1.5
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -97,81 +97,82 @@ files:
97
97
  - README.rdoc
98
98
  - ext/cairo/extconf.rb
99
99
  - Rakefile
100
- - lib/cairo/color.rb
101
- - lib/cairo/pattern.rb
102
- - lib/cairo/papers.rb
103
- - lib/cairo/point.rb
104
- - lib/cairo/context.rb
100
+ - lib/cairo.rb
105
101
  - lib/cairo/device.rb
106
- - lib/cairo/colors.rb
102
+ - lib/cairo/path.rb
103
+ - lib/cairo/context/triangle.rb
104
+ - lib/cairo/context/path.rb
107
105
  - lib/cairo/context/circle.rb
108
- - lib/cairo/context/rectangle.rb
109
106
  - lib/cairo/context/color.rb
110
107
  - lib/cairo/context/blur.rb
111
- - lib/cairo/context/triangle.rb
112
- - lib/cairo/context/path.rb
113
- - lib/cairo/path.rb
114
- - lib/cairo/surface.rb
115
- - lib/cairo/constants.rb
108
+ - lib/cairo/context/rectangle.rb
109
+ - lib/cairo/context.rb
116
110
  - lib/cairo/paper.rb
117
- - lib/cairo.rb
111
+ - lib/cairo/color.rb
112
+ - lib/cairo/constants.rb
113
+ - lib/cairo/surface.rb
114
+ - lib/cairo/colors.rb
115
+ - lib/cairo/point.rb
116
+ - lib/cairo/pattern.rb
117
+ - lib/cairo/papers.rb
118
+ - samples/pac.rb
119
+ - samples/png.rb
118
120
  - samples/pac-tee.rb
119
- - samples/agg/aa_test.rb
120
- - samples/pac-nomralize.rb
121
- - samples/text2.rb
122
121
  - samples/scalable.rb
123
- - samples/blur.rb
124
- - samples/png.rb
125
- - samples/pac.rb
122
+ - samples/pac-nomralize.rb
126
123
  - samples/text-on-path.rb
124
+ - samples/blur.rb
125
+ - samples/agg/aa_test.rb
126
+ - samples/text2.rb
127
127
  - ext/cairo/cairo.def
128
128
  - ext/cairo/depend
129
+ - ext/cairo/rb_cairo_surface.c
130
+ - ext/cairo/rb_cairo_scaled_font.c
131
+ - ext/cairo/rb_cairo_font_options.c
132
+ - ext/cairo/rb_cairo_font_face.c
133
+ - ext/cairo/rb_cairo_region.c
129
134
  - ext/cairo/rb_cairo_io.c
130
- - ext/cairo/rb_cairo_constants.c
131
- - ext/cairo/rb_cairo_pattern.c
135
+ - ext/cairo/rb_cairo_path.c
132
136
  - ext/cairo/rb_cairo_exception.c
133
- - ext/cairo/rb_cairo_font_options.c
137
+ - ext/cairo/rb_cairo_font_extents.c
138
+ - ext/cairo/rb_cairo_context.c
139
+ - ext/cairo/rb_cairo.c
134
140
  - ext/cairo/rb_cairo_text_cluster.c
135
141
  - ext/cairo/rb_cairo_text_extents.c
136
- - ext/cairo/rb_cairo_device.c
137
- - ext/cairo/rb_cairo_font_face.c
138
- - ext/cairo/rb_cairo_scaled_font.c
139
- - ext/cairo/rb_cairo_context.c
140
- - ext/cairo/rb_cairo_glyph.c
141
- - ext/cairo/rb_cairo_surface.c
142
- - ext/cairo/rb_cairo_font_extents.c
143
- - ext/cairo/rb_cairo_path.c
142
+ - ext/cairo/rb_cairo_pattern.c
144
143
  - ext/cairo/rb_cairo_private.c
145
144
  - ext/cairo/rb_cairo_matrix.c
146
- - ext/cairo/rb_cairo_region.c
147
- - ext/cairo/rb_cairo.c
148
- - ext/cairo/rb_cairo_io.h
145
+ - ext/cairo/rb_cairo_glyph.c
146
+ - ext/cairo/rb_cairo_rectangle.c
147
+ - ext/cairo/rb_cairo_constants.c
148
+ - ext/cairo/rb_cairo_device.c
149
149
  - ext/cairo/rb_cairo.h
150
+ - ext/cairo/rb_cairo_io.h
150
151
  - ext/cairo/rb_cairo_private.h
151
- - test/test_surface.rb
152
- - test/test_scaled_font.rb
153
- - test/test_recording_surface.rb
154
- - test/test_text_to_glyphs_data.rb
155
- - test/test_font_extents.rb
156
- - test/test_tee_surface.rb
157
152
  - test/test_text_extents.rb
153
+ - test/test_font_face.rb
154
+ - test/test_region.rb
155
+ - test/test_exception.rb
156
+ - test/test_font_extents.rb
157
+ - test/test_scaled_font.rb
158
158
  - test/test_paper.rb
159
- - test/test_context.rb
160
- - test/cairo-test-utils.rb
161
- - test/test_xml_device.rb
162
- - test/test_raster_source_pattern.rb
163
- - test/run-test.rb
159
+ - test/test_tee_surface.rb
160
+ - test/test_text_to_glyphs_data.rb
161
+ - test/test_constants.rb
164
162
  - test/test_script_surface.rb
165
- - test/test_region.rb
166
- - test/test_font_face.rb
163
+ - test/run-test.rb
164
+ - test/test_xml_device.rb
165
+ - test/test_recording_surface.rb
166
+ - test/test_color.rb
167
+ - test/test_surface.rb
168
+ - test/test_text_cluster.rb
169
+ - test/cairo-test-utils.rb
170
+ - test/test_font_options.rb
171
+ - test/test_context.rb
167
172
  - test/test_script_device.rb
168
173
  - test/test_xml_surface.rb
169
- - test/test_exception.rb
170
- - test/test_text_cluster.rb
174
+ - test/test_raster_source_pattern.rb
171
175
  - test/test_image_surface.rb
172
- - test/test_color.rb
173
- - test/test_font_options.rb
174
- - test/test_constants.rb
175
176
  homepage: http://cairographics.org/rcairo
176
177
  licenses:
177
178
  - Ruby's
@@ -197,27 +198,28 @@ signing_key:
197
198
  specification_version: 4
198
199
  summary: Ruby bindings for cairo
199
200
  test_files:
200
- - test/test_surface.rb
201
- - test/test_scaled_font.rb
202
- - test/test_recording_surface.rb
203
- - test/test_text_to_glyphs_data.rb
204
- - test/test_font_extents.rb
205
- - test/test_tee_surface.rb
206
201
  - test/test_text_extents.rb
202
+ - test/test_font_face.rb
203
+ - test/test_region.rb
204
+ - test/test_exception.rb
205
+ - test/test_font_extents.rb
206
+ - test/test_scaled_font.rb
207
207
  - test/test_paper.rb
208
- - test/test_context.rb
209
- - test/cairo-test-utils.rb
210
- - test/test_xml_device.rb
211
- - test/test_raster_source_pattern.rb
212
- - test/run-test.rb
208
+ - test/test_tee_surface.rb
209
+ - test/test_text_to_glyphs_data.rb
210
+ - test/test_constants.rb
213
211
  - test/test_script_surface.rb
214
- - test/test_region.rb
215
- - test/test_font_face.rb
212
+ - test/run-test.rb
213
+ - test/test_xml_device.rb
214
+ - test/test_recording_surface.rb
215
+ - test/test_color.rb
216
+ - test/test_surface.rb
217
+ - test/test_text_cluster.rb
218
+ - test/cairo-test-utils.rb
219
+ - test/test_font_options.rb
220
+ - test/test_context.rb
216
221
  - test/test_script_device.rb
217
222
  - test/test_xml_surface.rb
218
- - test/test_exception.rb
219
- - test/test_text_cluster.rb
223
+ - test/test_raster_source_pattern.rb
220
224
  - test/test_image_surface.rb
221
- - test/test_color.rb
222
- - test/test_font_options.rb
223
- - test/test_constants.rb
225
+ has_rdoc: