cairo 1.8.5 → 1.10.0
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/NEWS +2 -2
- data/Rakefile +44 -7
- data/ext/cairo/cairo.def +28 -1
- data/ext/cairo/extconf.rb +14 -16
- data/ext/cairo/rb_cairo.c +4 -1
- data/ext/cairo/rb_cairo.h +65 -1
- data/ext/cairo/rb_cairo_constants.c +150 -3
- data/ext/cairo/rb_cairo_context.c +17 -0
- data/ext/cairo/rb_cairo_device.c +406 -0
- data/ext/cairo/rb_cairo_exception.c +83 -32
- data/ext/cairo/rb_cairo_io.c +166 -0
- data/ext/cairo/rb_cairo_io.h +44 -0
- data/ext/cairo/rb_cairo_matrix.c +1 -1
- data/ext/cairo/rb_cairo_private.h +3 -0
- data/ext/cairo/rb_cairo_region.c +385 -0
- data/ext/cairo/rb_cairo_surface.c +674 -199
- data/samples/blur.rb +2 -3
- data/samples/{pac2.rb → pac-nomralize.rb} +5 -6
- data/samples/pac-tee.rb +170 -0
- data/samples/pac.rb +2 -3
- data/samples/png.rb +2 -3
- data/samples/scalable.rb +2 -3
- data/samples/text-on-path.rb +2 -3
- data/samples/text2.rb +2 -3
- data/test/cairo-test-utils.rb +15 -0
- data/test/run-test.rb +5 -4
- data/test/test_context.rb +4 -4
- data/test/test_font_face.rb +34 -21
- data/test/test_recording_surface.rb +18 -0
- data/test/test_region.rb +102 -0
- data/test/test_script_device.rb +46 -0
- data/test/test_script_surface.rb +13 -0
- data/test/test_surface.rb +14 -4
- data/test/test_tee_surface.rb +32 -0
- data/test/test_xml_device.rb +22 -0
- data/test/test_xml_surface.rb +32 -0
- metadata +49 -77
- data/pkg-config.rb +0 -313
- data/test-unit/Rakefile +0 -30
- data/test-unit/bin/testrb +0 -5
- data/test-unit/lib/test/unit.rb +0 -280
- data/test-unit/lib/test/unit/assertionfailederror.rb +0 -14
- data/test-unit/lib/test/unit/assertions.rb +0 -722
- data/test-unit/lib/test/unit/attribute.rb +0 -125
- data/test-unit/lib/test/unit/autorunner.rb +0 -254
- data/test-unit/lib/test/unit/collector.rb +0 -43
- data/test-unit/lib/test/unit/collector/descendant.rb +0 -23
- data/test-unit/lib/test/unit/collector/dir.rb +0 -108
- data/test-unit/lib/test/unit/collector/load.rb +0 -135
- data/test-unit/lib/test/unit/collector/objectspace.rb +0 -34
- data/test-unit/lib/test/unit/color.rb +0 -61
- data/test-unit/lib/test/unit/diff.rb +0 -524
- data/test-unit/lib/test/unit/error.rb +0 -124
- data/test-unit/lib/test/unit/exceptionhandler.rb +0 -39
- data/test-unit/lib/test/unit/failure.rb +0 -110
- data/test-unit/lib/test/unit/fixture.rb +0 -185
- data/test-unit/lib/test/unit/notification.rb +0 -125
- data/test-unit/lib/test/unit/omission.rb +0 -143
- data/test-unit/lib/test/unit/pending.rb +0 -146
- data/test-unit/lib/test/unit/priority.rb +0 -146
- data/test-unit/lib/test/unit/runner/console.rb +0 -46
- data/test-unit/lib/test/unit/runner/emacs.rb +0 -8
- data/test-unit/lib/test/unit/testcase.rb +0 -281
- data/test-unit/lib/test/unit/testresult.rb +0 -89
- data/test-unit/lib/test/unit/testsuite.rb +0 -110
- data/test-unit/lib/test/unit/ui/console/outputlevel.rb +0 -14
- data/test-unit/lib/test/unit/ui/console/testrunner.rb +0 -195
- data/test-unit/lib/test/unit/ui/emacs/testrunner.rb +0 -49
- data/test-unit/lib/test/unit/ui/testrunner.rb +0 -20
- data/test-unit/lib/test/unit/ui/testrunnermediator.rb +0 -77
- data/test-unit/lib/test/unit/ui/testrunnerutilities.rb +0 -41
- data/test-unit/lib/test/unit/util/backtracefilter.rb +0 -41
- data/test-unit/lib/test/unit/util/observable.rb +0 -90
- data/test-unit/lib/test/unit/util/procwrapper.rb +0 -48
- data/test-unit/lib/test/unit/version.rb +0 -7
- data/test-unit/sample/adder.rb +0 -13
- data/test-unit/sample/subtracter.rb +0 -12
- data/test-unit/sample/tc_adder.rb +0 -18
- data/test-unit/sample/tc_subtracter.rb +0 -18
- data/test-unit/sample/ts_examples.rb +0 -7
- data/test-unit/test/collector/test_descendant.rb +0 -135
- data/test-unit/test/collector/test_dir.rb +0 -406
- data/test-unit/test/collector/test_load.rb +0 -333
- data/test-unit/test/collector/test_objectspace.rb +0 -98
- data/test-unit/test/run-test.rb +0 -13
- data/test-unit/test/test_assertions.rb +0 -693
- data/test-unit/test/test_attribute.rb +0 -86
- data/test-unit/test/test_color.rb +0 -37
- data/test-unit/test/test_diff.rb +0 -477
- data/test-unit/test/test_emacs_runner.rb +0 -60
- data/test-unit/test/test_error.rb +0 -26
- data/test-unit/test/test_failure.rb +0 -33
- data/test-unit/test/test_fixture.rb +0 -252
- data/test-unit/test/test_notification.rb +0 -33
- data/test-unit/test/test_omission.rb +0 -81
- data/test-unit/test/test_pending.rb +0 -70
- data/test-unit/test/test_priority.rb +0 -89
- data/test-unit/test/test_testcase.rb +0 -430
- data/test-unit/test/test_testresult.rb +0 -113
- data/test-unit/test/test_testsuite.rb +0 -129
- data/test-unit/test/testunit_test_util.rb +0 -14
- data/test-unit/test/ui/test_testrunmediator.rb +0 -20
- data/test-unit/test/util/test_backtracefilter.rb +0 -41
- data/test-unit/test/util/test_observable.rb +0 -102
- data/test-unit/test/util/test_procwrapper.rb +0 -36
- data/test/test_pkg_config.rb +0 -123
data/test/test_region.rb
ADDED
@@ -0,0 +1,102 @@
|
|
1
|
+
class RegionTest < Test::Unit::TestCase
|
2
|
+
include CairoTestUtils
|
3
|
+
|
4
|
+
def setup
|
5
|
+
only_cairo_version(1, 10, 0)
|
6
|
+
end
|
7
|
+
|
8
|
+
def test_new_empty
|
9
|
+
region = Cairo::Region.new
|
10
|
+
assert_predicate(region, :empty?)
|
11
|
+
end
|
12
|
+
|
13
|
+
def test_new_rectangle
|
14
|
+
region = Cairo::Region.new([0, 0, 10, 10])
|
15
|
+
assert_not_predicate(region, :empty?)
|
16
|
+
end
|
17
|
+
|
18
|
+
def test_num_rectangles
|
19
|
+
region = Cairo::Region.new
|
20
|
+
assert_equal(0, region.num_rectangles)
|
21
|
+
end
|
22
|
+
|
23
|
+
def test_get_rectangle
|
24
|
+
region = Cairo::Region.new([0, 0, 10, 10])
|
25
|
+
assert_equal([0, 0, 10, 10], region[0])
|
26
|
+
end
|
27
|
+
|
28
|
+
def test_dup
|
29
|
+
region = Cairo::Region.new([0, 0, 10, 10])
|
30
|
+
region.dup.subtract!([5, 5, 5, 5])
|
31
|
+
assert_equal([0, 0, 10, 10], region.extents)
|
32
|
+
end
|
33
|
+
|
34
|
+
def test_equal
|
35
|
+
assert_equal(Cairo::Region.new([0, 0, 10, 10]),
|
36
|
+
Cairo::Region.new([0, 0, 10, 10]))
|
37
|
+
assert_not_equal(Cairo::Region.new([0, 0, 10, 10]),
|
38
|
+
Cairo::Region.new([0, 0, 100, 100]))
|
39
|
+
end
|
40
|
+
|
41
|
+
def test_extents
|
42
|
+
region = Cairo::Region.new
|
43
|
+
assert_equal([0, 0, 0, 0], region.extents)
|
44
|
+
region.union!([0, 0, 10, 10])
|
45
|
+
assert_equal([0, 0, 10, 10], region.extents)
|
46
|
+
end
|
47
|
+
|
48
|
+
def test_contains_rectangle
|
49
|
+
region = Cairo::Region.new([0, 0, 10, 10])
|
50
|
+
assert_equal(Cairo::RegionOverlap::IN,
|
51
|
+
region.contains_rectangle([2, 2, 2, 2]))
|
52
|
+
assert_equal(Cairo::RegionOverlap::OUT,
|
53
|
+
region.contains_rectangle([10, 10, 1, 1]))
|
54
|
+
assert_equal(Cairo::RegionOverlap::PART,
|
55
|
+
region.contains_rectangle([2, 2, 10, 10]))
|
56
|
+
end
|
57
|
+
|
58
|
+
def test_contains_point
|
59
|
+
region = Cairo::Region.new([0, 0, 10, 10])
|
60
|
+
assert_equal(true, region.contains_point?(5, 5))
|
61
|
+
assert_equal(false, region.contains_point?(10, 10))
|
62
|
+
end
|
63
|
+
|
64
|
+
def test_translate
|
65
|
+
region = Cairo::Region.new([0, 0, 10, 10])
|
66
|
+
assert_equal(true, region.contains_point?(5, 5))
|
67
|
+
region.translate!(6, 6)
|
68
|
+
assert_equal(false, region.contains_point?(5, 5))
|
69
|
+
end
|
70
|
+
|
71
|
+
def test_subtract
|
72
|
+
region = Cairo::Region.new([0, 0, 10, 10])
|
73
|
+
assert_equal(true, region.contains_point?(5, 5))
|
74
|
+
region.subtract!([5, 5, 2, 2])
|
75
|
+
assert_equal(false, region.contains_point?(5, 5))
|
76
|
+
end
|
77
|
+
|
78
|
+
def test_intersect
|
79
|
+
region = Cairo::Region.new([0, 0, 10, 10])
|
80
|
+
assert_equal(true, region.contains_point?(5, 5))
|
81
|
+
assert_equal(true, region.contains_point?(7, 7))
|
82
|
+
region.intersect!([5, 5, 2, 2])
|
83
|
+
assert_equal(true, region.contains_point?(5, 5))
|
84
|
+
assert_equal(false, region.contains_point?(7, 7))
|
85
|
+
end
|
86
|
+
|
87
|
+
def test_union
|
88
|
+
region = Cairo::Region.new([0, 0, 4, 4])
|
89
|
+
assert_equal(false, region.contains_point?(5, 5))
|
90
|
+
region.union!([5, 5, 5, 5])
|
91
|
+
assert_equal(true, region.contains_point?(5, 5))
|
92
|
+
end
|
93
|
+
|
94
|
+
def test_xor
|
95
|
+
region = Cairo::Region.new([0, 0, 5, 5])
|
96
|
+
assert_equal(true, region.contains_point?(4, 4))
|
97
|
+
assert_equal(false, region.contains_point?(7, 7))
|
98
|
+
region.xor!([3, 3, 5, 5])
|
99
|
+
assert_equal(false, region.contains_point?(4, 4))
|
100
|
+
assert_equal(true, region.contains_point?(7, 7))
|
101
|
+
end
|
102
|
+
end
|
@@ -0,0 +1,46 @@
|
|
1
|
+
require 'cairo'
|
2
|
+
require 'stringio'
|
3
|
+
|
4
|
+
class ScriptDeviceTest < Test::Unit::TestCase
|
5
|
+
include CairoTestUtils
|
6
|
+
|
7
|
+
def setup
|
8
|
+
only_device("Script")
|
9
|
+
end
|
10
|
+
|
11
|
+
def test_new
|
12
|
+
output = StringIO.new
|
13
|
+
device = Cairo::ScriptDevice.new(output)
|
14
|
+
assert_equal("%!CairoScript\n", output.string)
|
15
|
+
device.finish
|
16
|
+
assert_equal("%!CairoScript\n", output.string)
|
17
|
+
end
|
18
|
+
|
19
|
+
def test_new_with_block
|
20
|
+
output = StringIO.new
|
21
|
+
string = nil
|
22
|
+
Cairo::ScriptDevice.new(output) do |device|
|
23
|
+
string = output.string
|
24
|
+
end
|
25
|
+
assert_equal("%!CairoScript\n", string)
|
26
|
+
end
|
27
|
+
|
28
|
+
def test_write_comment
|
29
|
+
output = StringIO.new
|
30
|
+
Cairo::ScriptDevice.new(output) do |device|
|
31
|
+
device.write_comment("Hello!")
|
32
|
+
end
|
33
|
+
assert_equal("%!CairoScript\n" +
|
34
|
+
"% Hello!\n",
|
35
|
+
output.string)
|
36
|
+
end
|
37
|
+
|
38
|
+
def test_mode
|
39
|
+
output = StringIO.new
|
40
|
+
Cairo::ScriptDevice.new(output) do |device|
|
41
|
+
assert_equal(Cairo::ScriptMode::ASCII, device.mode)
|
42
|
+
device.mode = Cairo::ScriptMode::BINARY
|
43
|
+
assert_equal(Cairo::ScriptMode::BINARY, device.mode)
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
class ScriptSurfaceTest < Test::Unit::TestCase
|
2
|
+
include CairoTestUtils
|
3
|
+
|
4
|
+
def setup
|
5
|
+
only_surface("Script")
|
6
|
+
end
|
7
|
+
|
8
|
+
def test_device
|
9
|
+
device = Cairo::ScriptDevice.new(StringIO.new)
|
10
|
+
surface = Cairo::ScriptSurface.new(device, 100, 100)
|
11
|
+
assert_equal(Cairo::ScriptDevice, surface.device.class)
|
12
|
+
end
|
13
|
+
end
|
data/test/test_surface.rb
CHANGED
@@ -7,17 +7,17 @@ class SurfaceTest < Test::Unit::TestCase
|
|
7
7
|
def test_new
|
8
8
|
output = StringIO.new
|
9
9
|
surface = Cairo::PDFSurface.new(output, 10, 10)
|
10
|
-
|
10
|
+
assert_not_equal("%%EOF\n", output.string[-6..-1])
|
11
11
|
surface.finish
|
12
|
-
|
12
|
+
assert_equal("%%EOF\n", output.string[-6..-1])
|
13
13
|
end
|
14
14
|
|
15
15
|
def test_new_with_block
|
16
16
|
output = StringIO.new
|
17
17
|
Cairo::PDFSurface.new(output, 10, 10) do |surface|
|
18
|
-
|
18
|
+
assert_not_equal("%%EOF\n", output.string[-6..-1])
|
19
19
|
end
|
20
|
-
|
20
|
+
assert_equal("%%EOF\n", output.string[-6..-1])
|
21
21
|
end
|
22
22
|
|
23
23
|
def test_new_with_block_and_finish
|
@@ -38,4 +38,14 @@ class SurfaceTest < Test::Unit::TestCase
|
|
38
38
|
surface.set_fallback_resolution(95, 95)
|
39
39
|
assert_equal([95.0, 95.0], surface.fallback_resolution)
|
40
40
|
end
|
41
|
+
|
42
|
+
def test_mime_data
|
43
|
+
only_cairo_version(1, 10, 0)
|
44
|
+
|
45
|
+
output = StringIO.new
|
46
|
+
surface = Cairo::PDFSurface.new(output, 100, 100)
|
47
|
+
surface.set_mime_data(Cairo::MimeType::URI, "http://cairo.rubyforge.org/")
|
48
|
+
assert_equal("http://cairo.rubyforge.org/",
|
49
|
+
surface.get_mime_data(Cairo::MimeType::URI))
|
50
|
+
end
|
41
51
|
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
class TeeSurfaceTest < Test::Unit::TestCase
|
2
|
+
include CairoTestUtils
|
3
|
+
|
4
|
+
def setup
|
5
|
+
only_surface("Tee")
|
6
|
+
only_surface("Script")
|
7
|
+
end
|
8
|
+
|
9
|
+
def test_new
|
10
|
+
output1 = StringIO.new
|
11
|
+
device1 = Cairo::ScriptDevice.new(output1)
|
12
|
+
surface1 = Cairo::ScriptSurface.new(device1, 100, 200)
|
13
|
+
output2 = StringIO.new
|
14
|
+
device2 = Cairo::ScriptDevice.new(output2)
|
15
|
+
surface2 = Cairo::ScriptSurface.new(device2, 100, 200)
|
16
|
+
|
17
|
+
surface = Cairo::TeeSurface.new(surface1)
|
18
|
+
surface << surface2
|
19
|
+
Cairo::Context.new(surface) do |context|
|
20
|
+
context.move_to(15, 30)
|
21
|
+
context.line_to(80, 100)
|
22
|
+
context.stroke
|
23
|
+
end
|
24
|
+
assert_equal(<<-EOS, output1.string)
|
25
|
+
%!CairoScript
|
26
|
+
<< /content //COLOR_ALPHA /width 100 /height 200 >> surface context
|
27
|
+
n 15 30 m 80 100 l
|
28
|
+
stroke+
|
29
|
+
EOS
|
30
|
+
assert_equal(output1.string, output2.string)
|
31
|
+
end
|
32
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
class XMLDeviceTest < Test::Unit::TestCase
|
2
|
+
include CairoTestUtils
|
3
|
+
|
4
|
+
def setup
|
5
|
+
only_device("XML")
|
6
|
+
end
|
7
|
+
|
8
|
+
def test_new
|
9
|
+
output = StringIO.new
|
10
|
+
device = Cairo::XMLDevice.new(output)
|
11
|
+
assert_equal("", output.string)
|
12
|
+
end
|
13
|
+
|
14
|
+
def test_new_with_block
|
15
|
+
output = StringIO.new
|
16
|
+
string = nil
|
17
|
+
Cairo::XMLDevice.new(output) do |device|
|
18
|
+
string = output.string
|
19
|
+
end
|
20
|
+
assert_equal("", string)
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
class XMLSurfaceTest < Test::Unit::TestCase
|
2
|
+
include CairoTestUtils
|
3
|
+
|
4
|
+
def setup
|
5
|
+
only_surface("XML")
|
6
|
+
end
|
7
|
+
|
8
|
+
def test_new
|
9
|
+
output = StringIO.new
|
10
|
+
device = Cairo::XMLDevice.new(output)
|
11
|
+
surface = Cairo::XMLSurface.new(device, 100, 200)
|
12
|
+
Cairo::Context.new(surface) do |context|
|
13
|
+
context.move_to(15, 30)
|
14
|
+
context.line_to(80, 100)
|
15
|
+
context.stroke
|
16
|
+
end
|
17
|
+
assert_equal(<<-EOX, output.string)
|
18
|
+
<stroke>
|
19
|
+
<operator>OVER</operator>
|
20
|
+
<line-width>2</line-width>
|
21
|
+
<miter-limit>10</miter-limit>
|
22
|
+
<line-cap>LINE_CAP_BUTT</line-cap>
|
23
|
+
<line-join>LINE_JOIN_MITER</line-join>
|
24
|
+
<source-pattern>
|
25
|
+
<solid>0 0 0 1</solid>
|
26
|
+
</source-pattern>
|
27
|
+
<path> 15 30 m 80 100 l </path> <tolerance>0.1</tolerance>
|
28
|
+
<antialias>ANTIALIAS_DEFAULT</antialias>
|
29
|
+
</stroke>
|
30
|
+
EOX
|
31
|
+
end
|
32
|
+
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cairo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 63
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 1.
|
8
|
+
- 10
|
9
|
+
- 0
|
10
|
+
version: 1.10.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Evan Marin
|
@@ -18,10 +18,39 @@ autorequire:
|
|
18
18
|
bindir: bin
|
19
19
|
cert_chain: []
|
20
20
|
|
21
|
-
date: 2010-
|
21
|
+
date: 2010-09-12 00:00:00 +09:00
|
22
22
|
default_executable:
|
23
|
-
dependencies:
|
24
|
-
|
23
|
+
dependencies:
|
24
|
+
- !ruby/object:Gem::Dependency
|
25
|
+
name: pkg-config
|
26
|
+
prerelease: false
|
27
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
hash: 3
|
33
|
+
segments:
|
34
|
+
- 0
|
35
|
+
version: "0"
|
36
|
+
type: :runtime
|
37
|
+
version_requirements: *id001
|
38
|
+
- !ruby/object:Gem::Dependency
|
39
|
+
name: rubyforge
|
40
|
+
prerelease: false
|
41
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
hash: 7
|
47
|
+
segments:
|
48
|
+
- 2
|
49
|
+
- 0
|
50
|
+
- 4
|
51
|
+
version: 2.0.4
|
52
|
+
type: :development
|
53
|
+
version_requirements: *id002
|
25
54
|
description: Ruby bindings for cairo
|
26
55
|
email:
|
27
56
|
- cairo@cairographics.org
|
@@ -43,16 +72,20 @@ files:
|
|
43
72
|
- ext/cairo/rb_cairo.h
|
44
73
|
- ext/cairo/rb_cairo_constants.c
|
45
74
|
- ext/cairo/rb_cairo_context.c
|
75
|
+
- ext/cairo/rb_cairo_device.c
|
46
76
|
- ext/cairo/rb_cairo_exception.c
|
47
77
|
- ext/cairo/rb_cairo_font_extents.c
|
48
78
|
- ext/cairo/rb_cairo_font_face.c
|
49
79
|
- ext/cairo/rb_cairo_font_options.c
|
50
80
|
- ext/cairo/rb_cairo_glyph.c
|
81
|
+
- ext/cairo/rb_cairo_io.c
|
82
|
+
- ext/cairo/rb_cairo_io.h
|
51
83
|
- ext/cairo/rb_cairo_matrix.c
|
52
84
|
- ext/cairo/rb_cairo_path.c
|
53
85
|
- ext/cairo/rb_cairo_pattern.c
|
54
86
|
- ext/cairo/rb_cairo_private.c
|
55
87
|
- ext/cairo/rb_cairo_private.h
|
88
|
+
- ext/cairo/rb_cairo_region.c
|
56
89
|
- ext/cairo/rb_cairo_scaled_font.c
|
57
90
|
- ext/cairo/rb_cairo_surface.c
|
58
91
|
- ext/cairo/rb_cairo_text_cluster.c
|
@@ -74,83 +107,16 @@ files:
|
|
74
107
|
- lib/cairo/path.rb
|
75
108
|
- lib/cairo/point.rb
|
76
109
|
- misc/update-colors.rb
|
77
|
-
- pkg-config.rb
|
78
110
|
- samples/agg/README
|
79
111
|
- samples/agg/aa_test.rb
|
80
112
|
- samples/blur.rb
|
113
|
+
- samples/pac-nomralize.rb
|
114
|
+
- samples/pac-tee.rb
|
81
115
|
- samples/pac.rb
|
82
|
-
- samples/pac2.rb
|
83
116
|
- samples/png.rb
|
84
117
|
- samples/scalable.rb
|
85
118
|
- samples/text-on-path.rb
|
86
119
|
- samples/text2.rb
|
87
|
-
- test-unit/Rakefile
|
88
|
-
- test-unit/bin/testrb
|
89
|
-
- test-unit/lib/test/unit.rb
|
90
|
-
- test-unit/lib/test/unit/assertionfailederror.rb
|
91
|
-
- test-unit/lib/test/unit/assertions.rb
|
92
|
-
- test-unit/lib/test/unit/attribute.rb
|
93
|
-
- test-unit/lib/test/unit/autorunner.rb
|
94
|
-
- test-unit/lib/test/unit/collector.rb
|
95
|
-
- test-unit/lib/test/unit/collector/descendant.rb
|
96
|
-
- test-unit/lib/test/unit/collector/dir.rb
|
97
|
-
- test-unit/lib/test/unit/collector/load.rb
|
98
|
-
- test-unit/lib/test/unit/collector/objectspace.rb
|
99
|
-
- test-unit/lib/test/unit/color.rb
|
100
|
-
- test-unit/lib/test/unit/diff.rb
|
101
|
-
- test-unit/lib/test/unit/error.rb
|
102
|
-
- test-unit/lib/test/unit/exceptionhandler.rb
|
103
|
-
- test-unit/lib/test/unit/failure.rb
|
104
|
-
- test-unit/lib/test/unit/fixture.rb
|
105
|
-
- test-unit/lib/test/unit/notification.rb
|
106
|
-
- test-unit/lib/test/unit/omission.rb
|
107
|
-
- test-unit/lib/test/unit/pending.rb
|
108
|
-
- test-unit/lib/test/unit/priority.rb
|
109
|
-
- test-unit/lib/test/unit/runner/console.rb
|
110
|
-
- test-unit/lib/test/unit/runner/emacs.rb
|
111
|
-
- test-unit/lib/test/unit/testcase.rb
|
112
|
-
- test-unit/lib/test/unit/testresult.rb
|
113
|
-
- test-unit/lib/test/unit/testsuite.rb
|
114
|
-
- test-unit/lib/test/unit/ui/console/outputlevel.rb
|
115
|
-
- test-unit/lib/test/unit/ui/console/testrunner.rb
|
116
|
-
- test-unit/lib/test/unit/ui/emacs/testrunner.rb
|
117
|
-
- test-unit/lib/test/unit/ui/testrunner.rb
|
118
|
-
- test-unit/lib/test/unit/ui/testrunnermediator.rb
|
119
|
-
- test-unit/lib/test/unit/ui/testrunnerutilities.rb
|
120
|
-
- test-unit/lib/test/unit/util/backtracefilter.rb
|
121
|
-
- test-unit/lib/test/unit/util/observable.rb
|
122
|
-
- test-unit/lib/test/unit/util/procwrapper.rb
|
123
|
-
- test-unit/lib/test/unit/version.rb
|
124
|
-
- test-unit/sample/adder.rb
|
125
|
-
- test-unit/sample/subtracter.rb
|
126
|
-
- test-unit/sample/tc_adder.rb
|
127
|
-
- test-unit/sample/tc_subtracter.rb
|
128
|
-
- test-unit/sample/ts_examples.rb
|
129
|
-
- test-unit/test/collector/test_descendant.rb
|
130
|
-
- test-unit/test/collector/test_dir.rb
|
131
|
-
- test-unit/test/collector/test_load.rb
|
132
|
-
- test-unit/test/collector/test_objectspace.rb
|
133
|
-
- test-unit/test/run-test.rb
|
134
|
-
- test-unit/test/test_assertions.rb
|
135
|
-
- test-unit/test/test_attribute.rb
|
136
|
-
- test-unit/test/test_color.rb
|
137
|
-
- test-unit/test/test_diff.rb
|
138
|
-
- test-unit/test/test_emacs_runner.rb
|
139
|
-
- test-unit/test/test_error.rb
|
140
|
-
- test-unit/test/test_failure.rb
|
141
|
-
- test-unit/test/test_fixture.rb
|
142
|
-
- test-unit/test/test_notification.rb
|
143
|
-
- test-unit/test/test_omission.rb
|
144
|
-
- test-unit/test/test_pending.rb
|
145
|
-
- test-unit/test/test_priority.rb
|
146
|
-
- test-unit/test/test_testcase.rb
|
147
|
-
- test-unit/test/test_testresult.rb
|
148
|
-
- test-unit/test/test_testsuite.rb
|
149
|
-
- test-unit/test/testunit_test_util.rb
|
150
|
-
- test-unit/test/ui/test_testrunmediator.rb
|
151
|
-
- test-unit/test/util/test_backtracefilter.rb
|
152
|
-
- test-unit/test/util/test_observable.rb
|
153
|
-
- test-unit/test/util/test_procwrapper.rb
|
154
120
|
- test/cairo-test-utils.rb
|
155
121
|
- test/run-test.rb
|
156
122
|
- test/test_color.rb
|
@@ -161,12 +127,18 @@ files:
|
|
161
127
|
- test/test_font_face.rb
|
162
128
|
- test/test_font_options.rb
|
163
129
|
- test/test_paper.rb
|
164
|
-
- test/
|
130
|
+
- test/test_recording_surface.rb
|
131
|
+
- test/test_region.rb
|
165
132
|
- test/test_scaled_font.rb
|
133
|
+
- test/test_script_device.rb
|
134
|
+
- test/test_script_surface.rb
|
166
135
|
- test/test_surface.rb
|
136
|
+
- test/test_tee_surface.rb
|
167
137
|
- test/test_text_cluster.rb
|
168
138
|
- test/test_text_extents.rb
|
169
139
|
- test/test_text_to_glyphs_data.rb
|
140
|
+
- test/test_xml_device.rb
|
141
|
+
- test/test_xml_surface.rb
|
170
142
|
has_rdoc: true
|
171
143
|
homepage: http://cairographics.org/rcairo
|
172
144
|
licenses: []
|