gtk2svg 0.3.12 → 0.3.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/gtk2svg.rb +3 -1
- data.tar.gz.sig +0 -0
- metadata +26 -26
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4bb4de4b329fb0da55300bc50d5806a23ef80b87
|
4
|
+
data.tar.gz: 61b9b466f9c9fa60b8c7f007c26a975d277a0c29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb76dd3f49ca0b679d9b79c0088e4d825aaff24c083520c6cdd7ea52ef28781fc55632becb14ed623bfdd4749593455198d808dc3c88106d6cd60b0da6a31dce
|
7
|
+
data.tar.gz: 0e95bd26fef66d1f073fc2e594663a86abef4d91ddcc52acc7760cfb28c65fcd6525ad3564c35c6327dd0bf57f03f50109d2cfe6ee5173a93f62d4660c8203cc
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/gtk2svg.rb
CHANGED
@@ -85,7 +85,7 @@ module Gtk2SVG
|
|
85
85
|
|
86
86
|
style = style_filter(attributes).merge(raw_style)
|
87
87
|
|
88
|
-
style[:fill] = style.delete :'background-color'
|
88
|
+
# jr051216 style[:fill] = style.delete :'background-color'
|
89
89
|
h = attributes
|
90
90
|
width, height = %i(width height).map{|x| h[x].to_i }
|
91
91
|
|
@@ -130,6 +130,7 @@ module Gtk2SVG
|
|
130
130
|
dimensions, style = args
|
131
131
|
|
132
132
|
x, y, width, height = dimensions
|
133
|
+
|
133
134
|
gc = gc_ini(fill: style[:fill] || :none)
|
134
135
|
@area.window.draw_arc(gc, 1, x, y, width, height, 0, 64 * 360)
|
135
136
|
end
|
@@ -139,6 +140,7 @@ module Gtk2SVG
|
|
139
140
|
coords, style = args
|
140
141
|
|
141
142
|
x1, y1, x2, y2 = coords
|
143
|
+
|
142
144
|
gc = gc_ini(stroke: style[:stroke] || :none)
|
143
145
|
gc.set_line_attributes(style[:'stroke-width'].to_i, Gdk::GC::LINE_SOLID, \
|
144
146
|
Gdk::GC::CAP_NOT_LAST, Gdk::GC::JOIN_MITER)
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gtk2svg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -12,26 +12,26 @@ cert_chain:
|
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
13
|
MIIDljCCAn6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBIMRIwEAYDVQQDDAlnZW1t
|
14
14
|
YXN0ZXIxHjAcBgoJkiaJk/IsZAEZFg5qYW1lc3JvYmVydHNvbjESMBAGCgmSJomT
|
15
|
-
|
15
|
+
8ixkARkWAmV1MB4XDTE2MTIwNTA5NTAzN1oXDTE3MTIwNTA5NTAzN1owSDESMBAG
|
16
16
|
A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
|
17
17
|
EjAQBgoJkiaJk/IsZAEZFgJldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
18
|
+
ggEBAMt/Q8jwR4DPPfNHkKKuSIelyHmzHnD3uiYwXx4UJaAg02izoHoP3slhRY6s
|
19
|
+
KmiQik/EurFyE3zVz2nm5HcixAz+IoA27NeNxvd+hGNVAggkGDmhuNRxyIiKnQM1
|
20
|
+
vEDLK8NOHAzjOxgQcFEtCaUD+Byg0WHhVrT95LckFYm/0BwoTzo0DQvGQBuDkOvh
|
21
|
+
Om09wmXT4jMNEEYCcYwFEw8Hc5rcuw1br/bS8K/y5S1x3EHB3S6PGBq2BBtWALvW
|
22
|
+
kMgpg8mbvIsSb4l5nzJVH6yaeuYwFnn67zV7vV1f6ga0o7cZPf5rhiSbXmc4ALL0
|
23
|
+
vfhVlYt5fqZ/ZTffx/ptC+aG/ZkCAwEAAaOBijCBhzAJBgNVHRMEAjAAMAsGA1Ud
|
24
|
+
DwQEAwIEsDAdBgNVHQ4EFgQUt0RvHAKXIf/+47qAypdvsqAQg2kwJgYDVR0RBB8w
|
25
25
|
HYEbZ2VtbWFzdGVyQGphbWVzcm9iZXJ0c29uLmV1MCYGA1UdEgQfMB2BG2dlbW1h
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
26
|
+
c3RlckBqYW1lc3JvYmVydHNvbi5ldTANBgkqhkiG9w0BAQUFAAOCAQEAYdpKS+u6
|
27
|
+
Wc4H9u0bvQPquXmnDl30qVsP0YpsUGC2GaWv1Im+ADSUTM0vwWQxCX6YL7Ki3Rxv
|
28
|
+
Lu4PikgpluAg2JpZQc5Tw/Rnd4Ipv31zpSG5Xxj6aOoiWoomoLmYwLia3IK2rVKB
|
29
|
+
g5Kv217omp8F7FamkfsQORb9QvPOnhRwPu/FwuX+4YYUdlKICUvUEQOaH7Oj4pvG
|
30
|
+
7UT7ELitMqF7HWXByKPyl/2sDvzK22F/lcAk9ZQn36FAzsE2r6yLRBu0B3KSaXyL
|
31
|
+
S+VWAhfVm13yzrA556/5JtfZb/HMd97bm5U2ypMzi+hn2PRRxQ32RY58lYUVpxhE
|
32
|
+
QK5w9QJyQ1G9ag==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date:
|
34
|
+
date: 2016-12-05 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: gtk2
|
@@ -59,40 +59,40 @@ dependencies:
|
|
59
59
|
requirements:
|
60
60
|
- - "~>"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: '0.
|
62
|
+
version: '0.3'
|
63
63
|
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: 0.
|
65
|
+
version: 0.3.1
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
68
|
version_requirements: !ruby/object:Gem::Requirement
|
69
69
|
requirements:
|
70
70
|
- - "~>"
|
71
71
|
- !ruby/object:Gem::Version
|
72
|
-
version: '0.
|
72
|
+
version: '0.3'
|
73
73
|
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
75
|
+
version: 0.3.1
|
76
76
|
- !ruby/object:Gem::Dependency
|
77
77
|
name: svgle
|
78
78
|
requirement: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '0.
|
82
|
+
version: '0.4'
|
83
83
|
- - ">="
|
84
84
|
- !ruby/object:Gem::Version
|
85
|
-
version: 0.
|
85
|
+
version: 0.4.0
|
86
86
|
type: :runtime
|
87
87
|
prerelease: false
|
88
88
|
version_requirements: !ruby/object:Gem::Requirement
|
89
89
|
requirements:
|
90
90
|
- - "~>"
|
91
91
|
- !ruby/object:Gem::Version
|
92
|
-
version: '0.
|
92
|
+
version: '0.4'
|
93
93
|
- - ">="
|
94
94
|
- !ruby/object:Gem::Version
|
95
|
-
version: 0.
|
95
|
+
version: 0.4.0
|
96
96
|
description:
|
97
97
|
email: james@r0bertson.co.uk
|
98
98
|
executables: []
|
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
120
|
version: '0'
|
121
121
|
requirements: []
|
122
122
|
rubyforge_project:
|
123
|
-
rubygems_version: 2.
|
123
|
+
rubygems_version: 2.5.1
|
124
124
|
signing_key:
|
125
125
|
specification_version: 4
|
126
126
|
summary: Renders SVG using GTK2
|
metadata.gz.sig
CHANGED
Binary file
|