prawn-svg 0.12.0.6 → 0.12.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/prawn-svg.rb +2 -0
- data/lib/prawn/svg/version.rb +1 -1
- data/spec/sample_svg/scale.svg +17 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc94ff4013bd61fd3fa325d962a4a3af6a76f5fc
|
4
|
+
data.tar.gz: a86c71075ce89da72ffe7c9dfdd9540786375e42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7340efb599924f5b9ec1f7712914199ed2fa9993f925da4d6eccc7efcdcdbbea8d26c5c170e01e06b098bac58f95c04a2899a5270d17b131c3daae94dc74c375
|
7
|
+
data.tar.gz: 2f94d369d9a476dabb19ff3f9d408e3a6f34dfafb9595615ac5bb0a9b53c4f518bc66f74230fee4ffbe1ee4a740575ff784c335d7c8742b42f6c0f5c232e598c
|
data/lib/prawn-svg.rb
CHANGED
data/lib/prawn/svg/version.rb
CHANGED
@@ -0,0 +1,17 @@
|
|
1
|
+
<?xml version="1.0" standalone="no"?>
|
2
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
3
|
+
<svg width="800" height="1000" xmlns="http://www.w3.org/2000/svg" version="1.1">
|
4
|
+
<text x="100" y="190">scale(1,2)</text>
|
5
|
+
<rect x="100" y="100" width="50" height="50" transform="scale(1,2)" fill="red" />
|
6
|
+
|
7
|
+
<text x="200" y="90">scale(2,1)</text>
|
8
|
+
<rect x="100" y="100" width="50" height="50" transform="scale(2,1)" fill="blue" />
|
9
|
+
|
10
|
+
<text x="400" y="90">scale(3,1)</text>
|
11
|
+
<g transform="translate(400,100)">
|
12
|
+
<rect width="50" height="50" transform="scale(3,1)" fill="cyan" />
|
13
|
+
</g>
|
14
|
+
|
15
|
+
<text x="200" y="390">scale(2)</text>
|
16
|
+
<rect x="100" y="200" width="50" height="50" transform="scale(2)" fill="green" />
|
17
|
+
</svg>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prawn-svg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.0.
|
4
|
+
version: 0.12.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roger Nesbitt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-08-
|
11
|
+
date: 2013-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: prawn
|
@@ -107,6 +107,7 @@ files:
|
|
107
107
|
- spec/sample_svg/rect01.svg
|
108
108
|
- spec/sample_svg/rect02.svg
|
109
109
|
- spec/sample_svg/rotate_scale.svg
|
110
|
+
- spec/sample_svg/scale.svg
|
110
111
|
- spec/sample_svg/scruffy_graph.svg
|
111
112
|
- spec/sample_svg/subfamilies.svg
|
112
113
|
- spec/sample_svg/text_entities.svg
|
@@ -172,6 +173,7 @@ test_files:
|
|
172
173
|
- spec/sample_svg/rect01.svg
|
173
174
|
- spec/sample_svg/rect02.svg
|
174
175
|
- spec/sample_svg/rotate_scale.svg
|
176
|
+
- spec/sample_svg/scale.svg
|
175
177
|
- spec/sample_svg/scruffy_graph.svg
|
176
178
|
- spec/sample_svg/subfamilies.svg
|
177
179
|
- spec/sample_svg/text_entities.svg
|