cairo 1.10.2-x86-mingw32 → 1.12.0-x86-mingw32

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.

@@ -5,7 +5,7 @@
5
5
  * $Author: kou $
6
6
  * $Date: 2008-11-01 14:23:14 $
7
7
  *
8
- * Copyright 2005-2010 Kouhei Sutou <kou@cozmixng.org>
8
+ * Copyright 2005-2012 Kouhei Sutou <kou@cozmixng.org>
9
9
  * Copyright 2005 Øyvind Kolås <pippin@freedesktop.org>
10
10
  * Copyright 2004-2005 MenTaLguY <mental@rydia.com>
11
11
  *
@@ -54,7 +54,11 @@ enum ruby_value_type {
54
54
  # include <cairo-tee.h>
55
55
  #endif
56
56
 
57
- #ifdef CAIRO_HAS_GL_SURFACE
57
+ #if defined(CAIRO_HAS_GL_SURFACE) || defined(CAIRO_HAS_GLESV2_SURFACE)
58
+ # define RB_CAIRO_HAS_GL_SURFACE
59
+ #endif
60
+
61
+ #ifdef RB_CAIRO_HAS_GL_SURFACE
58
62
  # include <cairo-gl.h>
59
63
  #endif
60
64
 
@@ -80,6 +84,7 @@ VALUE rb_cCairo_TeeSurface = Qnil;
80
84
  VALUE rb_cCairo_XMLSurface = Qnil;
81
85
  VALUE rb_cCairo_SkiaSurface = Qnil;
82
86
  VALUE rb_cCairo_SubSurface = Qnil;
87
+ VALUE rb_cCairo_CoglSurface = Qnil;
83
88
 
84
89
  static ID cr_id_parse;
85
90
  static ID cr_id_size;
@@ -187,6 +192,11 @@ cr_surface_get_klass (cairo_surface_t *surface)
187
192
  case CAIRO_SURFACE_TYPE_SUBSURFACE:
188
193
  klass = rb_cCairo_SubSurface;
189
194
  break;
195
+ #endif
196
+ #if CAIRO_CHECK_VERSION(1, 11, 4)
197
+ case CAIRO_SURFACE_TYPE_COGL:
198
+ klass = rb_cCairo_CoglSurface;
199
+ break;
190
200
  #endif
191
201
  default:
192
202
  klass = rb_cCairo_Surface;
@@ -310,8 +320,12 @@ yield_and_finish (VALUE self)
310
320
  rb_yield (self);
311
321
 
312
322
  surface = _SELF;
313
- if (!cairo_surface_get_user_data (surface, &cr_finished_key))
314
- cr_surface_finish (self);
323
+ if (cairo_surface_status (surface) != CAIRO_STATUS_SUCCESS)
324
+ return;
325
+ if (cairo_surface_get_user_data (surface, &cr_finished_key))
326
+ return;
327
+
328
+ cr_surface_finish (self);
315
329
  }
316
330
 
317
331
  static VALUE
@@ -344,6 +358,94 @@ cr_surface_create_similar (int argc, VALUE *argv, VALUE self)
344
358
  return CRSURFACE2RVAL_WITH_DESTROY (similar_surface);
345
359
  }
346
360
 
361
+ #if CAIRO_CHECK_VERSION(1, 11, 4)
362
+ static VALUE
363
+ cr_surface_create_similar_image (int argc, VALUE *argv, VALUE self)
364
+ {
365
+ cairo_surface_t *surface, *similar_image;
366
+ cairo_format_t format;
367
+ int width, height;
368
+ VALUE arg1, arg2, arg3;
369
+
370
+ rb_scan_args (argc, argv, "21", &arg1, &arg2, &arg3);
371
+
372
+ surface = _SELF;
373
+ if (argc == 2)
374
+ {
375
+ if (cairo_surface_get_type (surface) == CAIRO_SURFACE_TYPE_IMAGE)
376
+ {
377
+ format = cairo_image_surface_get_format (surface);
378
+ }
379
+ else
380
+ {
381
+ format = CAIRO_FORMAT_ARGB32;
382
+ }
383
+ width = NUM2INT (arg1);
384
+ height = NUM2INT (arg2);
385
+ }
386
+ else
387
+ {
388
+ format = RVAL2CRFORMAT (arg1);
389
+ width = NUM2INT (arg2);
390
+ height = NUM2INT (arg3);
391
+ }
392
+
393
+ similar_image = cairo_surface_create_similar_image (surface, format,
394
+ width, height);
395
+ cr_surface_check_status (similar_image);
396
+ return CRSURFACE2RVAL_WITH_DESTROY (similar_image);
397
+ }
398
+
399
+ static VALUE
400
+ cr_surface_map_to_image (int argc, VALUE *argv, VALUE self)
401
+ {
402
+ cairo_surface_t *surface, *mapped_image;
403
+ cairo_rectangle_int_t extents_value;
404
+ cairo_rectangle_int_t *extents = NULL;
405
+ VALUE rb_extents;
406
+
407
+ rb_scan_args (argc, argv, "01", &rb_extents);
408
+
409
+ surface = _SELF;
410
+ if (!NIL_P (rb_extents))
411
+ {
412
+ extents = &extents_value;
413
+ if (rb_cairo__is_kind_of (rb_extents, rb_cCairo_Rectangle))
414
+ {
415
+ extents->x = NUM2INT (rb_iv_get (rb_extents, "@x"));
416
+ extents->y = NUM2INT (rb_iv_get (rb_extents, "@y"));
417
+ extents->width = NUM2INT (rb_iv_get (rb_extents, "@width"));
418
+ extents->height = NUM2INT (rb_iv_get (rb_extents, "@height"));
419
+ }
420
+ else
421
+ {
422
+ VALUE *values;
423
+ rb_extents = rb_convert_type (rb_extents, T_ARRAY, "Array", "to_ary");
424
+ values = RARRAY_PTR (rb_extents);
425
+ extents->x = NUM2INT (values[0]);
426
+ extents->y = NUM2INT (values[1]);
427
+ extents->height = NUM2INT (values[2]);
428
+ extents->width = NUM2INT (values[3]);
429
+ }
430
+ }
431
+
432
+ mapped_image = cairo_surface_map_to_image (surface, extents);
433
+ cr_surface_check_status (mapped_image);
434
+ return CRSURFACE2RVAL_WITH_DESTROY (mapped_image);
435
+ }
436
+
437
+ static VALUE
438
+ cr_surface_unmap_image (VALUE self, VALUE rb_mapped_image)
439
+ {
440
+ cairo_surface_t *surface, *mapped_image;
441
+
442
+ surface = _SELF;
443
+ mapped_image = RVAL2CRSURFACE (rb_mapped_image);
444
+ cairo_surface_unmap_image (surface, mapped_image);
445
+ return Qnil;
446
+ }
447
+ #endif
448
+
347
449
  #if CAIRO_CHECK_VERSION(1, 10, 0)
348
450
  static VALUE
349
451
  cr_surface_destroy_with_destroy_check (VALUE self)
@@ -477,6 +579,21 @@ cr_surface_set_mime_data (VALUE self, VALUE rb_mime_type, VALUE rb_data)
477
579
  }
478
580
  #endif
479
581
 
582
+ #if CAIRO_CHECK_VERSION(1, 11, 4)
583
+ static VALUE
584
+ cr_surface_supported_mime_type_p (VALUE self, VALUE rb_mime_type)
585
+ {
586
+ cairo_surface_t *surface;
587
+ const char *mime_type;
588
+ cairo_bool_t supported_p;
589
+
590
+ surface = _SELF;
591
+ mime_type = StringValueCStr (rb_mime_type);
592
+ supported_p = cairo_surface_supports_mime_type (surface, mime_type);
593
+ return CBOOL2RVAL (supported_p);
594
+ }
595
+ #endif
596
+
480
597
  static VALUE
481
598
  cr_surface_get_font_options (VALUE self)
482
599
  {
@@ -807,6 +924,24 @@ cr_recording_surface_get_ink_extents (VALUE self)
807
924
  rb_float_new (x), rb_float_new (y),
808
925
  rb_float_new (width), rb_float_new (height));
809
926
  }
927
+
928
+ # if CAIRO_CHECK_VERSION(1, 11, 4)
929
+ static VALUE
930
+ cr_recording_surface_get_extents (VALUE self)
931
+ {
932
+ cairo_surface_t *surface;
933
+ cairo_rectangle_t extents;
934
+
935
+ surface = _SELF;
936
+ cairo_recording_surface_get_extents (surface, &extents);
937
+ cr_surface_check_status (surface);
938
+ return rb_ary_new3 (4,
939
+ rb_float_new (extents.x),
940
+ rb_float_new (extents.y),
941
+ rb_float_new (extents.width),
942
+ rb_float_new (extents.height));
943
+ }
944
+ # endif
810
945
  #endif
811
946
 
812
947
  /* Printing surfaces */
@@ -1457,14 +1592,14 @@ cr_tee_surface_array_reference (VALUE self, VALUE index)
1457
1592
 
1458
1593
  surface = _SELF;
1459
1594
  index = rb_Integer (index);
1460
- target = cairo_tee_surface_index (surface, NUM2INT (index));
1595
+ target = cairo_tee_surface_index (surface, NUM2UINT (index));
1461
1596
  cr_surface_check_status (surface);
1462
1597
  cr_surface_check_status (target);
1463
1598
  return CRSURFACE2RVAL (target);
1464
1599
  }
1465
1600
  #endif
1466
1601
 
1467
- #ifdef CAIRO_HAS_GL_SURFACE
1602
+ #ifdef RB_CAIRO_HAS_GL_SURFACE
1468
1603
  static VALUE
1469
1604
  cr_gl_surface_initialize (int argc, VALUE *argv, VALUE self)
1470
1605
  {
@@ -1621,6 +1756,14 @@ Init_cairo_surface (void)
1621
1756
 
1622
1757
  rb_define_method (rb_cCairo_Surface, "create_similar",
1623
1758
  cr_surface_create_similar, -1);
1759
+ #if CAIRO_CHECK_VERSION(1, 11, 4)
1760
+ rb_define_method (rb_cCairo_Surface, "create_similar_image",
1761
+ cr_surface_create_similar_image, -1);
1762
+ rb_define_method (rb_cCairo_Surface, "map_to_image",
1763
+ cr_surface_map_to_image, -1);
1764
+ rb_define_method (rb_cCairo_Surface, "unmap_image",
1765
+ cr_surface_unmap_image, 1);
1766
+ #endif
1624
1767
  #if CAIRO_CHECK_VERSION(1, 10, 0)
1625
1768
  rb_define_method (rb_cCairo_Surface, "sub_rectangle_surface",
1626
1769
  cr_surface_create_sub_rectangle_surface, 4);
@@ -1637,6 +1780,11 @@ Init_cairo_surface (void)
1637
1780
  rb_define_method (rb_cCairo_Surface, "set_mime_data",
1638
1781
  cr_surface_set_mime_data, 2);
1639
1782
  #endif
1783
+ #if CAIRO_CHECK_VERSION(1, 11, 4)
1784
+ rb_define_method (rb_cCairo_Surface, "supported_mime_type?",
1785
+ cr_surface_supported_mime_type_p, 1);
1786
+ #endif
1787
+
1640
1788
 
1641
1789
  rb_define_method (rb_cCairo_Surface, "font_options",
1642
1790
  cr_surface_get_font_options, 0);
@@ -1699,6 +1847,10 @@ Init_cairo_surface (void)
1699
1847
 
1700
1848
  rb_define_method (rb_cCairo_RecordingSurface, "ink_extents",
1701
1849
  cr_recording_surface_get_ink_extents, 0);
1850
+ # if CAIRO_CHECK_VERSION(1, 11, 4)
1851
+ rb_define_method (rb_cCairo_RecordingSurface, "extents",
1852
+ cr_recording_surface_get_extents, 0);
1853
+ # endif
1702
1854
  #endif
1703
1855
 
1704
1856
  #define INIT_SURFACE(type, name) \
@@ -1857,7 +2009,7 @@ Init_cairo_surface (void)
1857
2009
  RB_CAIRO_DEF_SETTERS (rb_cCairo_TeeSurface);
1858
2010
  #endif
1859
2011
 
1860
- #ifdef CAIRO_HAS_GL_SURFACE
2012
+ #ifdef RB_CAIRO_HAS_GL_SURFACE
1861
2013
  rb_cCairo_GLSurface =
1862
2014
  rb_define_class_under (rb_mCairo, "GLSurface", rb_cCairo_Surface);
1863
2015
 
data/lib/1.8/cairo.so CHANGED
Binary file
data/lib/1.9/cairo.so CHANGED
Binary file
@@ -0,0 +1,148 @@
1
+ require "cairo"
2
+ require "tempfile"
3
+
4
+ class RasterPatternSourceTest < Test::Unit::TestCase
5
+ include CairoTestUtils
6
+
7
+ def test_acquire_and_release
8
+ Cairo::ImageSurface.new(100, 100) do |surface|
9
+ Cairo::Context.new(surface) do |context|
10
+ context.set_source(1, 1, 1)
11
+ context.paint
12
+
13
+ called = []
14
+ red_pattern = Cairo::RasterSourcePattern.new(100, 100)
15
+ red_pattern.acquire do |pattern, target, extents|
16
+ called << :acquire
17
+ red_image = target.create_similar_image(extents.width, extents.height)
18
+ red_image.set_device_offset(extents.x, extents.y)
19
+ Cairo::Context.new(red_image) do |red_image_context|
20
+ red_image_context.set_source(1, 0, 0)
21
+ red_image_context.paint
22
+ end
23
+ red_image
24
+ end
25
+ red_pattern.release do |pattern, surface|
26
+ called << :release
27
+ surface.finish
28
+ end
29
+ context.set_source(red_pattern)
30
+ context.rectangle(40, 40, 20, 20)
31
+ context.fill
32
+ assert_equal([:acquire, :release], called)
33
+ end
34
+ show_result(surface)
35
+ end
36
+ end
37
+
38
+ class SnapshotTest < self
39
+ def test_success
40
+ Cairo::RecordingSurface.new(0, 0, 100, 100) do |surface|
41
+ Cairo::Context.new(surface) do |context|
42
+ called = []
43
+ raster_source = Cairo::RasterSourcePattern.new(100, 100)
44
+ raster_source.snapshot do |pattern|
45
+ called << :snapshot
46
+ end
47
+ context.set_source(raster_source)
48
+ context.rectangle(40, 40, 20, 20)
49
+ context.fill
50
+ assert_equal([:snapshot], called)
51
+ end
52
+ show_result(surface)
53
+ end
54
+ end
55
+
56
+ def test_error
57
+ Cairo::RecordingSurface.new(0, 0, 100, 100) do |surface|
58
+ Cairo::Context.new(surface) do |context|
59
+ called = []
60
+ raster_source = Cairo::RasterSourcePattern.new(100, 100)
61
+ raster_source.snapshot do |pattern|
62
+ called << :snapshot
63
+ raise NoMemoryError
64
+ end
65
+ context.set_source(raster_source)
66
+ context.rectangle(40, 40, 20, 20)
67
+ assert_raise(NoMemoryError) do
68
+ context.fill
69
+ end
70
+ assert_equal([:snapshot], called)
71
+ end
72
+ show_result(surface)
73
+ end
74
+ end
75
+ end
76
+
77
+ class CopyTest < self
78
+ def test_success
79
+ output = StringIO.new
80
+ device = Cairo::ScriptDevice.new(output)
81
+ Cairo::ScriptSurface.new(device, 100, 200) do |surface|
82
+ Cairo::Context.new(surface) do |context|
83
+ called = []
84
+
85
+ raster_source = Cairo::RasterSourcePattern.new(100, 100)
86
+ raster_source.acquire do |pattern, target, extents|
87
+ called << :acquire
88
+ red_image = target.create_similar_image(extents.width,
89
+ extents.height)
90
+ red_image.set_device_offset(extents.x, extents.y)
91
+ Cairo::Context.new(red_image) do |red_image_context|
92
+ red_image_context.set_source(1, 0, 0)
93
+ red_image_context.paint
94
+ end
95
+ red_image
96
+ end
97
+ raster_source.release do |pattern, surface|
98
+ called << :release
99
+ surface.finish
100
+ end
101
+ raster_source.copy do |pattern|
102
+ called << :copy
103
+ end
104
+
105
+ context.set_source(raster_source)
106
+ context.rectangle(40, 40, 20, 20)
107
+ context.fill
108
+
109
+ assert_equal([:copy, :acquire, :release], called)
110
+ end
111
+ show_result(surface)
112
+ end
113
+ end
114
+
115
+ def test_error
116
+ output = StringIO.new
117
+ device = Cairo::ScriptDevice.new(output)
118
+ Cairo::ScriptSurface.new(device, 100, 200) do |surface|
119
+ Cairo::Context.new(surface) do |context|
120
+ called = []
121
+
122
+ raster_source = Cairo::RasterSourcePattern.new(100, 100)
123
+ raster_source.copy do |pattern|
124
+ called << :copy
125
+ raise NoMemoryError
126
+ end
127
+
128
+ context.set_source(raster_source)
129
+ context.rectangle(40, 40, 20, 20)
130
+ assert_raise(NoMemoryError) do
131
+ context.fill
132
+ end
133
+
134
+ assert_equal([:copy], called)
135
+ end
136
+ show_result(surface)
137
+ end
138
+ end
139
+ end
140
+
141
+ private
142
+ def show_result(image_surface)
143
+ return if ENV["RCAIRO_TEST_SHOW_RESULT"] != "yes"
144
+ result = Tempfile.new("result")
145
+ image_surface.write_to_png(result.path)
146
+ system("display", result.path)
147
+ end
148
+ end
@@ -6,6 +6,7 @@ class RecordingSurfaceTest < Test::Unit::TestCase
6
6
  end
7
7
 
8
8
  def test_new
9
+ only_cairo_version(1, 12, 0)
9
10
  surface = Cairo::RecordingSurface.new(10, 20, 300, 400)
10
11
  assert_equal([0.0, 0.0, 0.0, 0.0], surface.ink_extents)
11
12
  Cairo::Context.new(surface) do |context|
@@ -13,9 +14,6 @@ class RecordingSurfaceTest < Test::Unit::TestCase
13
14
  context.line_to(80, 100)
14
15
  context.stroke
15
16
  end
16
- # https://bugs.freedesktop.org/show_bug.cgi?id=24688
17
- # causes expected value change. It is introduced between
18
- # cairo 1.10.0 and 1.10.2.
19
- assert_equal([14.0, 29.0, 67.0, 72.0], surface.ink_extents)
17
+ assert_equal([10.0, 20.0, 61.0, 61.0], surface.ink_extents)
20
18
  end
21
19
  end
@@ -6,6 +6,7 @@ class XMLSurfaceTest < Test::Unit::TestCase
6
6
  end
7
7
 
8
8
  def test_new
9
+ only_cairo_version(1, 12, 0)
9
10
  output = StringIO.new
10
11
  device = Cairo::XMLDevice.new(output)
11
12
  surface = Cairo::XMLSurface.new(device, 100, 200)
@@ -26,7 +27,7 @@ class XMLSurfaceTest < Test::Unit::TestCase
26
27
  </source-pattern>
27
28
  <path> 15 30 m 80 100 l</path>
28
29
  <tolerance>0.1</tolerance>
29
- <antialias>ANTIALIAS_DEFAULT</antialias>
30
+ <antialias>DEFAULT</antialias>
30
31
  </stroke>
31
32
  EOX
32
33
  end
metadata CHANGED
@@ -1,36 +1,110 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cairo
3
3
  version: !ruby/object:Gem::Version
4
- hash: 59
4
+ hash: 39
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
- - 10
9
- - 2
10
- version: 1.10.2
8
+ - 12
9
+ - 0
10
+ version: 1.12.0
11
11
  platform: x86-mingw32
12
12
  authors:
13
- - Evan Marin
14
- - "\xC3\x98yvind Kol\xC3\xA5s"
15
- - MenTaLguY
16
13
  - Kouhei Sutou
17
14
  autorequire:
18
15
  bindir: bin
19
16
  cert_chain: []
20
17
 
21
- date: 2011-11-20 00:00:00 Z
22
- dependencies: []
23
-
18
+ date: 2012-03-31 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ version_requirements: &id001 !ruby/object:Gem::Requirement
22
+ none: false
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ hash: 3
27
+ segments:
28
+ - 0
29
+ version: "0"
30
+ name: pkg-config
31
+ prerelease: false
32
+ type: :runtime
33
+ requirement: *id001
34
+ - !ruby/object:Gem::Dependency
35
+ version_requirements: &id002 !ruby/object:Gem::Requirement
36
+ none: false
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ hash: 3
41
+ segments:
42
+ - 0
43
+ version: "0"
44
+ name: bundler
45
+ prerelease: false
46
+ type: :development
47
+ requirement: *id002
48
+ - !ruby/object:Gem::Dependency
49
+ version_requirements: &id003 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ hash: 3
55
+ segments:
56
+ - 0
57
+ version: "0"
58
+ name: test-unit-notify
59
+ prerelease: false
60
+ type: :development
61
+ requirement: *id003
62
+ - !ruby/object:Gem::Dependency
63
+ version_requirements: &id004 !ruby/object:Gem::Requirement
64
+ none: false
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ hash: 3
69
+ segments:
70
+ - 0
71
+ version: "0"
72
+ name: rake-compiler
73
+ prerelease: false
74
+ type: :development
75
+ requirement: *id004
76
+ - !ruby/object:Gem::Dependency
77
+ version_requirements: &id005 !ruby/object:Gem::Requirement
78
+ none: false
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ hash: 3
83
+ segments:
84
+ - 0
85
+ version: "0"
86
+ name: packnga
87
+ prerelease: false
88
+ type: :development
89
+ requirement: *id005
24
90
  description: Ruby bindings for cairo
25
91
  email:
26
- - cairo@cairographics.org
92
+ - kou@cozmixng.org
27
93
  executables: []
28
94
 
29
95
  extensions: []
30
96
 
31
- extra_rdoc_files: []
32
-
97
+ extra_rdoc_files:
98
+ - README.rdoc
33
99
  files:
100
+ - AUTHORS
101
+ - COPYING
102
+ - GPL
103
+ - Gemfile
104
+ - NEWS
105
+ - README.rdoc
106
+ - ext/cairo/extconf.rb
107
+ - Rakefile
34
108
  - lib/cairo/color.rb
35
109
  - lib/cairo/papers.rb
36
110
  - lib/cairo/point.rb
@@ -57,7 +131,6 @@ files:
57
131
  - samples/text-on-path.rb
58
132
  - ext/cairo/cairo.def
59
133
  - ext/cairo/depend
60
- - ext/cairo/extconf.rb
61
134
  - ext/cairo/rb_cairo_io.c
62
135
  - ext/cairo/rb_cairo_constants.c
63
136
  - ext/cairo/rb_cairo_pattern.c
@@ -80,13 +153,6 @@ files:
80
153
  - ext/cairo/rb_cairo_io.h
81
154
  - ext/cairo/rb_cairo.h
82
155
  - ext/cairo/rb_cairo_private.h
83
- - AUTHORS
84
- - COPYING
85
- - GPL
86
- - Gemfile
87
- - NEWS
88
- - README.rdoc
89
- - Rakefile
90
156
  - test/test_surface.rb
91
157
  - test/test_scaled_font.rb
92
158
  - test/test_recording_surface.rb
@@ -98,6 +164,7 @@ files:
98
164
  - test/test_context.rb
99
165
  - test/cairo-test-utils.rb
100
166
  - test/test_xml_device.rb
167
+ - test/test_raster_source_pattern.rb
101
168
  - test/run-test.rb
102
169
  - test/test_script_surface.rb
103
170
  - test/test_region.rb
@@ -720,7 +787,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
720
787
  requirements: []
721
788
 
722
789
  rubyforge_project: cairo
723
- rubygems_version: 1.8.10
790
+ rubygems_version: 1.8.15
724
791
  signing_key:
725
792
  specification_version: 3
726
793
  summary: Ruby bindings for cairo
@@ -736,6 +803,7 @@ test_files:
736
803
  - test/test_context.rb
737
804
  - test/cairo-test-utils.rb
738
805
  - test/test_xml_device.rb
806
+ - test/test_raster_source_pattern.rb
739
807
  - test/run-test.rb
740
808
  - test/test_script_surface.rb
741
809
  - test/test_region.rb