From 179fa413b047bede6e32109e2ce82437c5fb8d34 Mon Sep 17 00:00:00 2001 From: MenTaLguY Date: Mon, 16 Jan 2006 02:36:01 +0000 Subject: moving trunk for module inkscape (bzr r1) --- share/examples/.cvsignore | 2 + share/examples/Makefile.am | 19 + share/examples/README | 5 + share/examples/art-nouveau-P3.svg | 475 +++++++++++ share/examples/data_uri.svg | 110 +++ share/examples/eastern-motive-P4G.svg | 1435 +++++++++++++++++++++++++++++++ share/examples/flow-go.svg | 59 ++ share/examples/flowsample.svg | 80 ++ share/examples/gradient.svg | 1514 +++++++++++++++++++++++++++++++++ share/examples/i18n.svg | 415 +++++++++ share/examples/istest.pov | 163 ++++ share/examples/markers.svg | 854 +++++++++++++++++++ share/examples/stars.svgz | Bin 0 -> 34102 bytes share/examples/tesselation-P3.svg | 994 ++++++++++++++++++++++ share/examples/text-on-path.svg | 374 ++++++++ share/examples/tiger.svgz | Bin 0 -> 34776 bytes 16 files changed, 6499 insertions(+) create mode 100644 share/examples/.cvsignore create mode 100644 share/examples/Makefile.am create mode 100644 share/examples/README create mode 100644 share/examples/art-nouveau-P3.svg create mode 100644 share/examples/data_uri.svg create mode 100644 share/examples/eastern-motive-P4G.svg create mode 100644 share/examples/flow-go.svg create mode 100644 share/examples/flowsample.svg create mode 100644 share/examples/gradient.svg create mode 100644 share/examples/i18n.svg create mode 100644 share/examples/istest.pov create mode 100644 share/examples/markers.svg create mode 100644 share/examples/stars.svgz create mode 100644 share/examples/tesselation-P3.svg create mode 100644 share/examples/text-on-path.svg create mode 100644 share/examples/tiger.svgz (limited to 'share/examples') diff --git a/share/examples/.cvsignore b/share/examples/.cvsignore new file mode 100644 index 000000000..282522db0 --- /dev/null +++ b/share/examples/.cvsignore @@ -0,0 +1,2 @@ +Makefile +Makefile.in diff --git a/share/examples/Makefile.am b/share/examples/Makefile.am new file mode 100644 index 000000000..f8b9dd9e0 --- /dev/null +++ b/share/examples/Makefile.am @@ -0,0 +1,19 @@ + +exampledir = $(datadir)/inkscape/examples + +example_DATA = \ + README \ + istest.pov \ + gradient.svg \ + tiger.svgz \ + markers.svg \ + i18n.svg \ + stars.svgz \ + text-on-path.svg \ + flowsample.svg \ + data_uri.svg \ + tesselation-P3.svg \ + art-nouveau-P3.svg \ + eastern-motive-P4G.svg + +EXTRA_DIST = $(example_DATA) diff --git a/share/examples/README b/share/examples/README new file mode 100644 index 000000000..b2404c84f --- /dev/null +++ b/share/examples/README @@ -0,0 +1,5 @@ +This directory contains some example SVG files created +with Inkscape. If you have a file which is visually nice and +demonstrates some Inkscape features (not covered by the +existing examples) in an interesting way, please submit it +to the developers. \ No newline at end of file diff --git a/share/examples/art-nouveau-P3.svg b/share/examples/art-nouveau-P3.svg new file mode 100644 index 000000000..d32aa97de --- /dev/null +++ b/share/examples/art-nouveau-P3.svg @@ -0,0 +1,475 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/share/examples/data_uri.svg b/share/examples/data_uri.svg new file mode 100644 index 000000000..b5444128a --- /dev/null +++ b/share/examples/data_uri.svg @@ -0,0 +1,110 @@ + + + + + + + + + image/svg+xml + + data uri test + Nov 3, 2004 + + + Jon A. cruz + + + + A simple test file with image data embedded directly in an xlink:href using the "data:" URI scheme + + + + + + + + + + + + A simple test file with image data embedded directlyin an xlink:href using the "data:" URI scheme + diff --git a/share/examples/eastern-motive-P4G.svg b/share/examples/eastern-motive-P4G.svg new file mode 100644 index 000000000..12a83f182 --- /dev/null +++ b/share/examples/eastern-motive-P4G.svg @@ -0,0 +1,1435 @@ + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/share/examples/flow-go.svg b/share/examples/flow-go.svg new file mode 100644 index 000000000..b55bbc82f --- /dev/null +++ b/share/examples/flow-go.svg @@ -0,0 +1,59 @@ + + + Multilingual textflow + Text flow with Japanese text, and styled spans. + + + + + + + + + The paragraph contains spans of text styled + differently as well as + forced line breaks. The text flows from one child of the 're­gion' + element to another. This example has three regions, shaped like + the letters 'G', 'O' and '!" respectively. + + The text flow algorithm + wraps on spaces if it can + find them, otherwise it will break in the middle + of a word. This is needed for Japanese and + Chinese text where there are no spaces between + words like this: + + + + If you need to implement Japanese + kinsoku rules for + line breaking, you will have to insert Unicode zero-width-joiner (zwj) + characters to forbid certain line breaks when generating the text. + + Here is a third paragraph. The text is in blue to + show where the second paragraph ends and a third one begins. It will + not win any design awards. + + + + + + + + diff --git a/share/examples/flowsample.svg b/share/examples/flowsample.svg new file mode 100644 index 000000000..598da4e7d --- /dev/null +++ b/share/examples/flowsample.svg @@ -0,0 +1,80 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + In a move that will grab Apple's attention in a big way, RealNetworks is expected to announce on Monday that it has broken Apple's stranglehold on the iPod. The latest version of their Harmony software mimics Apple's FairPlay DRM, the format in which tracks from the iTunes Music Store are sold. According to RealNetworks, Harmony will allow music purchased from its RealRhapsody music service to be copied to and played on iPods. + قتل أربعة أشخاص وجرح مفخخة أمام مركز للشرطة العراقية في مدينة الموصل which includes SkypeOut في شمالي العراق. وفي الفلوجة ارتفع عدد قتلى الاشتباكات بين القوات الأميركية والمقاتلين آخرين + In a move that will grab Apple's attention in a big way, RealNetworks is expected to announce on Monday that it has broken Apple's stranglehold on the iPod. The latest version of their Harmony software mimics Apple's FairPlay DRM, the format in which tracks from the iTunes Music Store are sold. According to RealNetworks, Harmony will allow music purchased from its RealRhapsody music service to be copied to and played on iPods. + + diff --git a/share/examples/gradient.svg b/share/examples/gradient.svg new file mode 100644 index 000000000..38f6a16a7 --- /dev/null +++ b/share/examples/gradient.svg @@ -0,0 +1,1514 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/share/examples/i18n.svg b/share/examples/i18n.svg new file mode 100644 index 000000000..ada40b21b --- /dev/null +++ b/share/examples/i18n.svg @@ -0,0 +1,415 @@ + + + + + + + image/svg+xml + + + + + + + すべての人間は、生まれながらにして自由であり、かつ、尊厳と権利と について平等である。 + Все люди рождаются свободными и равными в своём достоинстве и правах. + + يولد جميع الناس أحرارًا متساوين في الكرامة والحقوق. + כל בני אדם נולדו בני חורין ושווים בערכם ובזכויותיהם. + সমস্ত মানুস স্বাধীনভাবে সমান মর্যাদা এবং অধিকার নিয়ে জন্মগ্রহন করে । + પ્રતિષ્ઠા અને અધિકારોની દષ્ટિએ સર્વ માનવો જન્મથી સ્વતંત્ર અને સમાન હોય છે. + सभी मनुष्यों को गौरव और अधिकारों के मामले में जन्मजात स्वतन्त्रता और समानता प्राप्त हे । + ಎಲ್ಲಾ ಮಾನವರೂ ಸ್ವತಂತ್ರರಾಗಿಯೇ ಜನಿಸಿದ್ದಾರೆ । + Arabic + Bengali + Gujarati + Hebrew + Hindi + Japanese + Kannada + Russian + সমস্ত মানুস স্বাধীনভাবে সমান মর্যাদা এবং অধিকার নিয়ে জন্মগ্রহন করে । + પ્રતિષ્ઠા અને અધિકારોની દષ્ટિએ સર્વ માનવો જન્મથી સ્વતંત્ર અને સમાન હોય છે. + כל בני אדם נולדו בני חורין ושווים בערכם ובזכויותיהם. + يولد جميع الناس أحرارًا متساوين في الكرامة والحقوق. + सभी मनुष्यों को गौरव और अधिकारों के मामले में जन्मजात स्वतन्त्रता और समानता प्राप्त हे । + すべての人間は、生まれながらにして自由であり、かつ、尊厳と権利と について平等である。 + ಎಲ್ಲಾ ಮಾನವರೂ ಸ್ವತಂತ್ರರಾಗಿಯೇ ಜನಿಸಿದ್ದಾರೆ । + มนุษย์ทั้งหลายเกิดมามีอิสระและเสมอภาคกันในเกียรติศักดิ์และสิทธิ + This is a demo of Inkscape's i18n capabilities. If you see squares instead of some of the scripts, this means your system does not have the corresponding fonts; visit http://eyegene.ophthy.med.umich.edu/unicode/fontguide/ for links to many free Unicode fonts. + Tous les êtres humains naissent libres et égaux en dignité et en droits. + Français + Tous les êtres humains naissent libres et égaux en dignité et en droits. + มนุษย์ทั้งหลายเกิดมามีอิสระและเสมอภาคกันในเกียรติศักดิ์และสิทธิ + Thai + Все люди рождаются свободными и равными в своём достоинстве и правах. + i18n text on path: + diff --git a/share/examples/istest.pov b/share/examples/istest.pov new file mode 100644 index 000000000..d4f2eae36 --- /dev/null +++ b/share/examples/istest.pov @@ -0,0 +1,163 @@ +/*######################################################################### +## +## File: itest.pov +## +## Authors: +## Bob Jamison +## +## Copyright (C) 2004 The Inkscape Organization +## +## Released under GNU GPL, read the file 'COPYING' for more information +## +########################################################################### +## +## This simple file is provided to demonstrate POV output from Inkscape. +## PovRay output is intended for people who have had moderate experience +## with authoring POV files. This is NOT for beginners. +## +## To use: +## 1) Install PovRay, version 3.5 or above, and put the povray executable +## in your PATH. PovRay is found at http://www.povray.org . For +## PovRay-specific questions, please look there. They are the experts. +## +## 2) Copy this file to a working area. +## +## 3) Make or load a document in Inkscape with some shapes in it. +## +## 4) Save as a .pov file using the SaveAs dialog. For this example, save +## it in the same directory as this file, with the name 'isshapes.pov' +## +## 5) Execute povray with this file. An example command would be: +## +## povray +X +V +A +W320 +H320 +Iistest.pov +FN +## +## 6) Adjust the values to suit your needs and desires. Have fun. +## +#########################################################################*/ + +/*######################################################################### +# Some standard PovRay scene additives +#########################################################################*/ + +#include "colors.inc" +#include "textures.inc" +#include "shapes.inc" +#include "metals.inc" +#include "skies.inc" + +/*######################################################################### +# Note the Z-order differentation of the prisms in the object is +# normally just sufficient to display all of the objects, and +# avoid 'black spots' where surfaces are coincident. This can +# be adjusted by changing the value below. +#########################################################################*/ + +/* +#declare AllShapes_Z_Increment = 0.008; +*/ + + +/*######################################################################### +# Note that the finish of the "all shapes" object exported +# at the end of the shapes file can be modified, by defining +# if before the #include. Uncomment the following declaration +# to adjust it. Have fun. +#########################################################################*/ + +/* +#declare AllShapes_Finish = finish { + phong 0.7 + reflection 0.5 + specular 0.8 + } +*/ + +/*######################################################################### +# Our Inkscape-exported shapes file +#########################################################################*/ + +#include "isshapes.pov" + +/*######################################################################### +# Move the camera back in the -Z direction, about 1.5 times the width +# or height of the image. This will provide about a 60-degree view. +# 'AllShapes' is an item in isshapes.pov, and refers to the union of +# all of the shapes exported. +#########################################################################*/ + +camera { + location <0, 0, -(AllShapes_WIDTH * 1.5)> + look_at <0, 0, 0> + right x*image_width/image_height +} + +/*######################################################################### +# Put one or two lights in front of the objects, and at an angle to +# the viewer. +#########################################################################*/ + +light_source { <-200, 1, -8000> color White} +light_source { < 200, 100, -600> color White} + + +/*######################################################################### +# Make a pretty background, for contrast +#########################################################################*/ + +sky_sphere { + pigment { + gradient y + color_map { + [ 0.5 color CornflowerBlue ] + [ 1.0 color MidnightBlue ] + } + scale 1000 + translate -1 + } + } + + +/*######################################################################### +# Now let us use our shapes. We can include them individually, or include +# them as a group. Notice that we have two AllShapes. One plain, and +# an AllShapesZ. The 'Z' version is different in that the shapes are +# shifted slightly higher in their order of creation, so that coincident +# shapes can be discerned. +#########################################################################*/ + + +object { + /* + //## Individually + union{ + object { droplet01 } + object { droplet02 } + object { droplet03 } + object { mountainDroplet } + } + */ + + //## As a group + object { AllShapes_Z } + + + translate<-AllShapes_CENTER_X, 0, -AllShapes_CENTER_Y> + scale < 1, 60, 1> + rotate <-90, 0, 0> //x first + rotate < 0, 0, 0> //z second + rotate < 20, 0, 0> //whatever else + rotate < 0, -27, 0> //whatever else + +}//object + + + +/*######################################################################### +# End of File +#########################################################################*/ + + + + + + diff --git a/share/examples/markers.svg b/share/examples/markers.svg new file mode 100644 index 000000000..c681a62f7 --- /dev/null +++ b/share/examples/markers.svg @@ -0,0 +1,854 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/share/examples/stars.svgz b/share/examples/stars.svgz new file mode 100644 index 000000000..ee2e120ca Binary files /dev/null and b/share/examples/stars.svgz differ diff --git a/share/examples/tesselation-P3.svg b/share/examples/tesselation-P3.svg new file mode 100644 index 000000000..a9eb2f818 --- /dev/null +++ b/share/examples/tesselation-P3.svg @@ -0,0 +1,994 @@ + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/share/examples/text-on-path.svg b/share/examples/text-on-path.svg new file mode 100644 index 000000000..851f7a005 --- /dev/null +++ b/share/examples/text-on-path.svg @@ -0,0 +1,374 @@ + + + + + + + + + image/svg+xml + + + + + + Several texts + can be attached to the same path. + An attached text can be freely moved and transformed + without losing the link to its path. + + Text on path is fully editable, including kerning and letterspacing. + Horizontal kerning is often necessary to fix intervals in sharp bends: + Without kerning: + too dense + too sparse + + inkscape 0.40 + + inkscape 0.40 + + Text can be attached not only to a path but also to a shape (rectangle, ellipse, star, or spiral) without converting it to path. + + (The path or shape is editable, too.) + + With kerning: + mollusca monoplacophora + + + + mollusca monoplacophora + Vertical kerning works, too. + + + Меня так просто не раздавишь, царицу санками не сдвинешь, и в доказательство мы ляжем с царицей прямо под трамвай. + If your text is attached to an invisible path, select the text and press Shift+D to select the path. + + + + + Text put on an offset linked to a star. Editing the star updates both the offset and the text-on-path. + + If a path has several subpaths, text attached to it flows from one subpath to the next. + + glyph rotation (Alt+[, Alt+]) works in text-on-path too + diff --git a/share/examples/tiger.svgz b/share/examples/tiger.svgz new file mode 100644 index 000000000..27e7e23ac Binary files /dev/null and b/share/examples/tiger.svgz differ -- cgit v1.2.3