~ubuntu-branches/debian/experimental/inkscape/experimental

« back to all changes in this revision

Viewing changes to share/examples/lighting_effects.svg

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Viehmann
  • Date: 2008-09-09 23:29:02 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20080909232902-c50iujhk1w79u8e7
Tags: 0.46-2.1
* Non-maintainer upload.
* Add upstream patch fixing a crash in the open dialog
  in the zh_CN.utf8 locale. Closes: #487623.
  Thanks to Luca Bruno for the patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
 
2
<!-- Created with Inkscape (http://www.inkscape.org/) -->
 
3
<svg
 
4
   xmlns:dc="http://purl.org/dc/elements/1.1/"
 
5
   xmlns:cc="http://web.resource.org/cc/"
 
6
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 
7
   xmlns:svg="http://www.w3.org/2000/svg"
 
8
   xmlns="http://www.w3.org/2000/svg"
 
9
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
 
10
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
 
11
   width="768"
 
12
   height="256"
 
13
   id="svg1901"
 
14
   sodipodi:version="0.32"
 
15
   inkscape:version="0.45+devel"
 
16
   sodipodi:docname="lighting_effects.svg"
 
17
   sodipodi:docbase="/home/tsoots/ohj/translations/po"
 
18
   version="1.0"
 
19
   inkscape:output_extension="org.inkscape.output.svg.inkscape"
 
20
   inkscape:export-filename="/home/niko/inkscape/complex-lighting.png"
 
21
   inkscape:export-xdpi="90"
 
22
   inkscape:export-ydpi="90">
 
23
  <defs
 
24
     id="defs1903">
 
25
    <filter
 
26
       id="metallic-lighting"
 
27
       filterRes="256">
 
28
      <feGaussianBlur
 
29
         stdDeviation="10.0437"
 
30
         id="feGaussianBlur2792"
 
31
         in="SourceGraphic"
 
32
         result="result0" />
 
33
      <feDiffuseLighting
 
34
         id="feDiffuseLighting2794"
 
35
         in="result0"
 
36
         result="result1"
 
37
         diffuseConstant="1"
 
38
         surfaceScale="10"
 
39
         lighting-color="#ffffff">
 
40
        <feDistantLight
 
41
           id="feDistantLight1"
 
42
           azimuth="205"
 
43
           elevation="45" />
 
44
      </feDiffuseLighting>
 
45
      <feSpecularLighting
 
46
         id="feSpecularLighting2796"
 
47
         in="result0"
 
48
         result="result3"
 
49
         specularConstant="0.5"
 
50
         surfaceScale="20"
 
51
         specularExponent="20"
 
52
         lighting-color="#ffffff">
 
53
        <feDistantLight
 
54
           id="feDistantLight2"
 
55
           azimuth="205"
 
56
           elevation="45" />
 
57
      </feSpecularLighting>
 
58
      <feComposite
 
59
         id="feComposite2798"
 
60
         in="result1"
 
61
         in2="SourceGraphic"
 
62
         operator="arithmetic"
 
63
         k1="1"
 
64
         result="result2"
 
65
         k4="0"
 
66
         k2="0"
 
67
         k3="0" />
 
68
      <feComposite
 
69
         id="feComposite2800"
 
70
         in="result2"
 
71
         in2="result3"
 
72
         operator="arithmetic"
 
73
         k2="1"
 
74
         k3="1"
 
75
         k4="0"
 
76
         k1="0"
 
77
         result="result4" />
 
78
      <feComposite
 
79
         inkscape:collect="always"
 
80
         id="feComposite2799"
 
81
         in="result4"
 
82
         in2="SourceAlpha"
 
83
         operator="in" />
 
84
    </filter>
 
85
  </defs>
 
86
  <sodipodi:namedview
 
87
     id="base"
 
88
     pagecolor="#ffffff"
 
89
     bordercolor="#666666"
 
90
     borderopacity="1.0"
 
91
     inkscape:pageopacity="0.0"
 
92
     inkscape:pageshadow="2"
 
93
     inkscape:zoom="1.0371094"
 
94
     inkscape:cx="552.25612"
 
95
     inkscape:cy="112.56562"
 
96
     inkscape:document-units="px"
 
97
     inkscape:current-layer="layer1"
 
98
     gridtolerance="10000"
 
99
     inkscape:window-width="1278"
 
100
     inkscape:window-height="751"
 
101
     inkscape:window-x="0"
 
102
     inkscape:window-y="0"
 
103
     width="768px"
 
104
     height="256px" />
 
105
  <metadata
 
106
     id="metadata1906">
 
107
    <rdf:RDF>
 
108
      <cc:Work
 
109
         rdf:about="">
 
110
        <dc:format>image/svg+xml</dc:format>
 
111
        <dc:type
 
112
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
 
113
        <cc:license
 
114
           rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" />
 
115
        <dc:title>Lighting effects example</dc:title>
 
116
        <dc:date>25 July 2007</dc:date>
 
117
        <dc:creator>
 
118
          <cc:Agent>
 
119
            <dc:title>Niko Kiirala</dc:title>
 
120
          </cc:Agent>
 
121
        </dc:creator>
 
122
        <dc:rights>
 
123
          <cc:Agent>
 
124
            <dc:title>Copyright 2007 Niko Kiirala, licensed under Creatice Commons by-sa 2.5</dc:title>
 
125
          </cc:Agent>
 
126
        </dc:rights>
 
127
        <dc:subject>
 
128
          <rdf:Bag>
 
129
            <rdf:li>feDiffuseLighting</rdf:li>
 
130
            <rdf:li>feSpecularLighting</rdf:li>
 
131
            <rdf:li>light</rdf:li>
 
132
            <rdf:li>lighting effects</rdf:li>
 
133
          </rdf:Bag>
 
134
        </dc:subject>
 
135
        <dc:description>An example, how to make metallic-looking objects with SVG lighting effects</dc:description>
 
136
      </cc:Work>
 
137
      <cc:License
 
138
         rdf:about="http://creativecommons.org/licenses/by-sa/3.0/">
 
139
        <cc:permits
 
140
           rdf:resource="http://web.resource.org/cc/Reproduction" />
 
141
        <cc:permits
 
142
           rdf:resource="http://web.resource.org/cc/Distribution" />
 
143
        <cc:requires
 
144
           rdf:resource="http://web.resource.org/cc/Notice" />
 
145
        <cc:requires
 
146
           rdf:resource="http://web.resource.org/cc/Attribution" />
 
147
        <cc:permits
 
148
           rdf:resource="http://web.resource.org/cc/DerivativeWorks" />
 
149
        <cc:requires
 
150
           rdf:resource="http://web.resource.org/cc/ShareAlike" />
 
151
      </cc:License>
 
152
    </rdf:RDF>
 
153
  </metadata>
 
154
  <g
 
155
     inkscape:label="Taso 1"
 
156
     inkscape:groupmode="layer"
 
157
     id="layer1"
 
158
     style="opacity:1">
 
159
    <path
 
160
       style="opacity:1;color:#000000;fill:#dad645;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:14;stroke-linecap:round;stroke-linejoin:miter;marker:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;filter:url(#metallic-lighting);enable-background:accumulate"
 
161
       d="M 121.53125,18.281251 L 115.65625,30.625001 L 87.5625,89.812501 L 23.1875,102.125 L 9.75,104.6875 L 19.6875,114.09375 L 67.3125,159.125 L 59.125,224.125 L 57.40625,237.71875 L 69.40625,231.15625 L 126.9375,199.75 L 186.25,227.65625 L 198.625,233.46875 L 196.125,220.03125 L 184.03125,155.65625 L 228.90625,107.84375 L 238.25,97.875002 L 224.6875,96.093752 L 159.6875,87.687502 L 128.09375,30.250001 L 121.53125,18.281251 z M 122.4375,49.000002 L 149.15625,97.531251 L 150.84375,100.65625 L 154.375,101.09375 L 209.3125,108.25 L 171.40625,148.625 L 168.96875,151.21875 L 169.625,154.71875 L 179.8125,209.15625 L 129.6875,185.59375 L 126.46875,184.09375 L 123.34375,185.78125 L 74.71875,212.34375 L 81.65625,157.34375 L 82.09375,153.8125 L 79.5,151.375 L 39.25,113.3125 L 93.65625,102.90625 L 97.15625,102.25 L 98.6875,99.031251 L 122.4375,49.000002 z"
 
162
       id="path2803" />
 
163
    <path
 
164
       id="path2799"
 
165
       d="M 381.53125,18.281251 L 375.65625,30.625001 L 347.5625,89.812501 L 283.1875,102.125 L 269.75,104.6875 L 279.6875,114.09375 L 327.3125,159.125 L 319.125,224.125 L 317.40625,237.71875 L 329.40625,231.15625 L 386.9375,199.75 L 446.25,227.65625 L 458.625,233.46875 L 456.125,220.03125 L 444.03125,155.65625 L 488.90625,107.84375 L 498.25,97.875002 L 484.6875,96.093752 L 419.6875,87.687502 L 388.09375,30.250001 L 381.53125,18.281251 z M 382.4375,49.000002 L 409.15625,97.531251 L 410.84375,100.65625 L 414.375,101.09375 L 469.3125,108.25 L 431.40625,148.625 L 428.96875,151.21875 L 429.625,154.71875 L 439.8125,209.15625 L 389.6875,185.59375 L 386.46875,184.09375 L 383.34375,185.78125 L 334.71875,212.34375 L 341.65625,157.34375 L 342.09375,153.8125 L 339.5,151.375 L 299.25,113.3125 L 353.65625,102.90625 L 357.15625,102.25 L 358.6875,99.031251 L 382.4375,49.000002 z"
 
166
       style="opacity:1;color:#000000;fill:#c7e1e2;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:14;stroke-linecap:round;stroke-linejoin:miter;marker:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;filter:url(#metallic-lighting);enable-background:accumulate" />
 
167
    <path
 
168
       style="opacity:1;color:#000000;fill:#f4a430;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:14;stroke-linecap:round;stroke-linejoin:miter;marker:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;filter:url(#metallic-lighting);enable-background:accumulate"
 
169
       d="M 641.53125,18.281251 L 635.65625,30.625001 L 607.5625,89.812501 L 543.1875,102.125 L 529.75,104.6875 L 539.6875,114.09375 L 587.3125,159.125 L 579.125,224.125 L 577.40625,237.71875 L 589.40625,231.15625 L 646.9375,199.75 L 706.25,227.65625 L 718.625,233.46875 L 716.125,220.03125 L 704.03125,155.65625 L 748.90625,107.84375 L 758.25,97.875002 L 744.6875,96.093752 L 679.6875,87.687502 L 648.09375,30.250001 L 641.53125,18.281251 z M 642.4375,49.000002 L 669.15625,97.531251 L 670.84375,100.65625 L 674.375,101.09375 L 729.3125,108.25 L 691.40625,148.625 L 688.96875,151.21875 L 689.625,154.71875 L 699.8125,209.15625 L 649.6875,185.59375 L 646.46875,184.09375 L 643.34375,185.78125 L 594.71875,212.34375 L 601.65625,157.34375 L 602.09375,153.8125 L 599.5,151.375 L 559.25,113.3125 L 613.65625,102.90625 L 617.15625,102.25 L 618.6875,99.031251 L 642.4375,49.000002 z"
 
170
       id="path2805" />
 
171
  </g>
 
172
</svg>