cairo-gobject 2.2.4-x64-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Rakefile +32 -0
- data/ext/cairo-gobject/extconf.rb +85 -0
- data/ext/cairo-gobject/rb-cairo-gobject.c +150 -0
- data/ext/cairo-gobject/rb-cairo-gobject.h +42 -0
- data/extconf.rb +71 -0
- data/lib/2.0/cairo_gobject.so +0 -0
- data/lib/2.1/cairo_gobject.so +0 -0
- data/lib/2.2/cairo_gobject.so +0 -0
- data/lib/cairo-gobject.rb +30 -0
- data/test/cairo-gobject-test-utils.rb +21 -0
- data/test/run-test.rb +50 -0
- data/test/test_cairoantialias.rb +23 -0
- data/test/test_cairocontent.rb +23 -0
- data/test/test_cairocontext.rb +24 -0
- data/test/test_cairodevicetype.rb +23 -0
- data/test/test_cairoextend.rb +23 -0
- data/test/test_cairofillrule.rb +23 -0
- data/test/test_cairofilter.rb +23 -0
- data/test/test_cairofontslant.rb +23 -0
- data/test/test_cairofonttype.rb +23 -0
- data/test/test_cairofontweight.rb +23 -0
- data/test/test_cairoformat.rb +23 -0
- data/test/test_cairohintmetrics.rb +23 -0
- data/test/test_cairohintstyle.rb +23 -0
- data/test/test_cairoimagesurface.rb +23 -0
- data/test/test_cairolinecap.rb +23 -0
- data/test/test_cairolinejoin.rb +23 -0
- data/test/test_cairooperator.rb +23 -0
- data/test/test_cairopathdatatype.rb +23 -0
- data/test/test_cairopatterntype.rb +23 -0
- data/test/test_cairoregion.rb +23 -0
- data/test/test_cairoregionoverlap.rb +23 -0
- data/test/test_cairoscaledfont.rb +32 -0
- data/test/test_cairostatus.rb +23 -0
- data/test/test_cairosubpixelorder.rb +23 -0
- data/test/test_cairosurfacetype.rb +23 -0
- data/test/test_cairotextclusterflags.rb +23 -0
- metadata +122 -0
@@ -0,0 +1,23 @@
|
|
1
|
+
# Copyright (C) 2013 Ruby-GNOME2 Project Team
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License as published by the Free Software Foundation; either
|
6
|
+
# version 2.1 of the License, or (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This library is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
11
|
+
# Lesser General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU Lesser General Public
|
14
|
+
# License along with this library; if not, write to the Free Software
|
15
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
|
+
|
17
|
+
class TestCairoOperator < Test::Unit::TestCase
|
18
|
+
def test_cairo_operator
|
19
|
+
assert_nothing_raised do
|
20
|
+
CairoGObject::Operator.new(Cairo::Operator::OVER)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Copyright (C) 2013 Ruby-GNOME2 Project Team
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License as published by the Free Software Foundation; either
|
6
|
+
# version 2.1 of the License, or (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This library is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
11
|
+
# Lesser General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU Lesser General Public
|
14
|
+
# License along with this library; if not, write to the Free Software
|
15
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
|
+
|
17
|
+
class TestCairoPathDataType < Test::Unit::TestCase
|
18
|
+
def test_cairo_path_data_type
|
19
|
+
assert_nothing_raised do
|
20
|
+
CairoGObject::PathDataType.new(Cairo::PathDataType::LINE_TO)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Copyright (C) 2013 Ruby-GNOME2 Project Team
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License as published by the Free Software Foundation; either
|
6
|
+
# version 2.1 of the License, or (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This library is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
11
|
+
# Lesser General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU Lesser General Public
|
14
|
+
# License along with this library; if not, write to the Free Software
|
15
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
|
+
|
17
|
+
class TestCairoPatternType < Test::Unit::TestCase
|
18
|
+
def test_caito_pattern_type
|
19
|
+
assert_nothing_raised do
|
20
|
+
CairoGObject::PatternType.new(CairoGObject::PatternType::LINEAR)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Copyright (C) 2013 Ruby-GNOME2 Project Team
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License as published by the Free Software Foundation; either
|
6
|
+
# version 2.1 of the License, or (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This library is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
11
|
+
# Lesser General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU Lesser General Public
|
14
|
+
# License along with this library; if not, write to the Free Software
|
15
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
|
+
|
17
|
+
class TestCairoRegion < Test::Unit::TestCase
|
18
|
+
def test_cairo_region
|
19
|
+
assert_nothing_raised do
|
20
|
+
Cairo::Region.new
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Copyright (C) 2013 Ruby-GNOME2 Project Team
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License as published by the Free Software Foundation; either
|
6
|
+
# version 2.1 of the License, or (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This library is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
11
|
+
# Lesser General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU Lesser General Public
|
14
|
+
# License along with this library; if not, write to the Free Software
|
15
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
|
+
|
17
|
+
class TestCairoRegionOverlap < Test::Unit::TestCase
|
18
|
+
def test_cairo_regin_overlap
|
19
|
+
assert_nothing_raised do
|
20
|
+
CairoGObject::RegionOverlap.new(Cairo::RegionOverlap::PART)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# Copyright (C) 2013 Ruby-GNOME2 Project Team
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License as published by the Free Software Foundation; either
|
6
|
+
# version 2.1 of the License, or (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This library is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
11
|
+
# Lesser General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU Lesser General Public
|
14
|
+
# License along with this library; if not, write to the Free Software
|
15
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
|
+
|
17
|
+
class TestCairoScaledFont < Test::Unit::TestCase
|
18
|
+
def setup
|
19
|
+
surface = Cairo::ImageSurface.new(Cairo::Format::ARGB32, 290, 200)
|
20
|
+
context = Cairo::Context.new(surface)
|
21
|
+
@font_face = context.font_face
|
22
|
+
@font_matrix = Cairo::Matrix.identity
|
23
|
+
@scale = Cairo::Matrix.scale(0.5, 1.0)
|
24
|
+
@font_option = Cairo::FontOptions.new
|
25
|
+
end
|
26
|
+
|
27
|
+
def test_cairo_scaled_font
|
28
|
+
assert_nothing_raised do
|
29
|
+
Cairo::ScaledFont.new(@font_face, @font_matrix, @scale, @font_option)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Copyright (C) 2013 Ruby-GNOME2 Project Team
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License as published by the Free Software Foundation; either
|
6
|
+
# version 2.1 of the License, or (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This library is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
11
|
+
# Lesser General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU Lesser General Public
|
14
|
+
# License along with this library; if not, write to the Free Software
|
15
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
|
+
|
17
|
+
class TestCairoStatus < Test::Unit::TestCase
|
18
|
+
def test_cairo_status
|
19
|
+
assert_nothing_raised do
|
20
|
+
CairoGObject::Status.new(CairoGObject::Status::SUCCESS)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Copyright (C) 2013 Ruby-GNOME2 Project Team
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License as published by the Free Software Foundation; either
|
6
|
+
# version 2.1 of the License, or (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This library is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
11
|
+
# Lesser General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU Lesser General Public
|
14
|
+
# License along with this library; if not, write to the Free Software
|
15
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
|
+
|
17
|
+
class TestCairoSubpixelOrder < Test::Unit::TestCase
|
18
|
+
def test_cairo_subpixel_order
|
19
|
+
assert_nothing_raised do
|
20
|
+
CairoGObject::SubpixelOrder.new(Cairo::SubpixelOrder::DEFAULT)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Copyright (C) 2013 Ruby-GNOME2 Project Team
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License as published by the Free Software Foundation; either
|
6
|
+
# version 2.1 of the License, or (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This library is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
11
|
+
# Lesser General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU Lesser General Public
|
14
|
+
# License along with this library; if not, write to the Free Software
|
15
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
|
+
|
17
|
+
class TestCairoSurfaceType < Test::Unit::TestCase
|
18
|
+
def test_cairo_surface_type
|
19
|
+
assert_nothing_raised do
|
20
|
+
CairoGObject::SurfaceType.new(CairoGObject::SurfaceType::IMAGE)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Copyright (C) 2013 Ruby-GNOME2 Project Team
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License as published by the Free Software Foundation; either
|
6
|
+
# version 2.1 of the License, or (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This library is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
11
|
+
# Lesser General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU Lesser General Public
|
14
|
+
# License along with this library; if not, write to the Free Software
|
15
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
|
+
|
17
|
+
class TestCairoTextClusterFlags < Test::Unit::TestCase
|
18
|
+
def test_cairo_text_clutter_flags
|
19
|
+
assert_nothing_raised do
|
20
|
+
CairoGObject::TextClusterFlags.new(CairoGObject::TextClusterFlags::BACKWARD)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
metadata
ADDED
@@ -0,0 +1,122 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: cairo-gobject
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.2.4
|
5
|
+
platform: x64-mingw32
|
6
|
+
authors:
|
7
|
+
- The Ruby-GNOME2 Project Team
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-12-23 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: cairo
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: glib2
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 2.2.4
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 2.2.4
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: test-unit-notify
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
description: Ruby/CairoGObject is a Ruby binding of cairo-gobject.
|
56
|
+
email: ruby-gnome2-devel-en@lists.sourceforge.net
|
57
|
+
executables: []
|
58
|
+
extensions: []
|
59
|
+
extra_rdoc_files: []
|
60
|
+
files:
|
61
|
+
- Rakefile
|
62
|
+
- ext/cairo-gobject/extconf.rb
|
63
|
+
- ext/cairo-gobject/rb-cairo-gobject.c
|
64
|
+
- ext/cairo-gobject/rb-cairo-gobject.h
|
65
|
+
- extconf.rb
|
66
|
+
- lib/2.0/cairo_gobject.so
|
67
|
+
- lib/2.1/cairo_gobject.so
|
68
|
+
- lib/2.2/cairo_gobject.so
|
69
|
+
- lib/cairo-gobject.rb
|
70
|
+
- test/cairo-gobject-test-utils.rb
|
71
|
+
- test/run-test.rb
|
72
|
+
- test/test_cairoantialias.rb
|
73
|
+
- test/test_cairocontent.rb
|
74
|
+
- test/test_cairocontext.rb
|
75
|
+
- test/test_cairodevicetype.rb
|
76
|
+
- test/test_cairoextend.rb
|
77
|
+
- test/test_cairofillrule.rb
|
78
|
+
- test/test_cairofilter.rb
|
79
|
+
- test/test_cairofontslant.rb
|
80
|
+
- test/test_cairofonttype.rb
|
81
|
+
- test/test_cairofontweight.rb
|
82
|
+
- test/test_cairoformat.rb
|
83
|
+
- test/test_cairohintmetrics.rb
|
84
|
+
- test/test_cairohintstyle.rb
|
85
|
+
- test/test_cairoimagesurface.rb
|
86
|
+
- test/test_cairolinecap.rb
|
87
|
+
- test/test_cairolinejoin.rb
|
88
|
+
- test/test_cairooperator.rb
|
89
|
+
- test/test_cairopathdatatype.rb
|
90
|
+
- test/test_cairopatterntype.rb
|
91
|
+
- test/test_cairoregion.rb
|
92
|
+
- test/test_cairoregionoverlap.rb
|
93
|
+
- test/test_cairoscaledfont.rb
|
94
|
+
- test/test_cairostatus.rb
|
95
|
+
- test/test_cairosubpixelorder.rb
|
96
|
+
- test/test_cairosurfacetype.rb
|
97
|
+
- test/test_cairotextclusterflags.rb
|
98
|
+
homepage: http://ruby-gnome2.sourceforge.jp/
|
99
|
+
licenses:
|
100
|
+
- LGPLv2.1 or later
|
101
|
+
metadata: {}
|
102
|
+
post_install_message:
|
103
|
+
rdoc_options: []
|
104
|
+
require_paths:
|
105
|
+
- lib
|
106
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 1.9.3
|
111
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
112
|
+
requirements:
|
113
|
+
- - ">="
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
version: '0'
|
116
|
+
requirements: []
|
117
|
+
rubyforge_project:
|
118
|
+
rubygems_version: 2.2.2
|
119
|
+
signing_key:
|
120
|
+
specification_version: 4
|
121
|
+
summary: Ruby/CairoGObject is a Ruby binding of cairo-gobject.
|
122
|
+
test_files: []
|