raster pushed a commit to branch master.

http://git.enlightenment.org/website/www-content.git/commit/?id=abbcdf10df3deacc6b3f3fce88740d71d3a1f57e

commit abbcdf10df3deacc6b3f3fce88740d71d3a1f57e
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Thu Apr 16 12:11:43 2015 +0900

    www content - switch to svg for mainloop diagram
    
    testing raw svg support (good for diagrams)
---
 media/docs/lib/efl/mainloop.png | Bin 26211 -> 26578 bytes
 media/docs/lib/efl/mainloop.svg | 132 ++++++++++++++++++++--------------------
 pages/docs/lib/efl/start.txt    |   2 +-
 3 files changed, 67 insertions(+), 67 deletions(-)

diff --git a/media/docs/lib/efl/mainloop.png b/media/docs/lib/efl/mainloop.png
index 68fa7dc..bf9381f 100644
Binary files a/media/docs/lib/efl/mainloop.png and 
b/media/docs/lib/efl/mainloop.png differ
diff --git a/media/docs/lib/efl/mainloop.svg b/media/docs/lib/efl/mainloop.svg
index 1be4034..b0ae559 100644
--- a/media/docs/lib/efl/mainloop.svg
+++ b/media/docs/lib/efl/mainloop.svg
@@ -9,9 +9,9 @@
    xmlns="http://www.w3.org/2000/svg";
    xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
    xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
-   width="600"
+   width="660"
    height="350"
-   viewBox="0 0 600.00001 350.00001"
+   viewBox="0 0 660.00001 350.00001"
    id="svg2"
    version="1.1"
    inkscape:version="0.91 r13725"
@@ -25,9 +25,9 @@
      borderopacity="1.0"
      inkscape:pageopacity="0"
      inkscape:pageshadow="2"
-     inkscape:zoom="2.1933333"
-     inkscape:cx="300"
-     inkscape:cy="300"
+     inkscape:zoom="1.88"
+     inkscape:cx="350"
+     inkscape:cy="175"
      inkscape:document-units="px"
      inkscape:current-layer="layer1"
      showgrid="true"
@@ -73,7 +73,7 @@
     <rect
        
style="opacity:1;fill:#606060;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
        id="rect4431"
-       width="360"
+       width="420"
        height="300.00003"
        x="120"
        y="727.36218"
@@ -97,39 +97,39 @@
     <rect
        
style="opacity:1;fill:#808080;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
        id="rect4138-4"
-       width="70"
+       width="90"
        height="70.000046"
        x="145"
        y="932.36212"
-       rx="1.40664e-06"
+       rx="1.4066401e-06"
        ry="1.40664e-06" />
     <rect
        
style="opacity:1;fill:#c0c0c0;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
        id="rect4138-4-0"
-       width="70"
+       width="89.132812"
        height="70.000046"
-       x="265"
-       y="932.36212"
+       x="285.86719"
+       y="932.36218"
        rx="1.40664e-06"
        ry="1.40664e-06" />
     <path
        
style="fill:#c0c0c0;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
-       d="m 225,957.3621 0,19.99996 10,0 0,10 20,-19.99996 -20,-20 0,10 z"
+       d="m 245,957.36216 0,19.99996 10,0 0,10 20,-19.99996 -20,-20 0,10 z"
        id="path4140-1"
        inkscape:connector-curvature="0"
        sodipodi:nodetypes="cccccccc" />
     <rect
        
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
        id="rect4138-4-0-3"
-       width="70"
+       width="90"
        height="70.000046"
-       x="385"
-       y="932.36212"
+       x="425"
+       y="932.36218"
        rx="1.40664e-06"
        ry="1.40664e-06" />
     <path
        
style="fill:#c0c0c0;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
-       d="m 345,957.36212 0,20.00004 10,0 0,10 20,-20.00004 -20,-20 0,10 z"
+       d="m 385,957.36214 0,20.00004 10,0 0,10 20,-20.00004 -20,-20 0,10 z"
        id="path4140-1-9"
        inkscape:connector-curvature="0"
        sodipodi:nodetypes="cccccccc" />
@@ -138,19 +138,19 @@
        id="rect4138-4-0-3-8"
        width="70"
        height="70.000046"
-       x="505"
-       y="932.36212"
+       x="565"
+       y="932.36218"
        rx="1.40664e-06"
        ry="1.40664e-06" />
     <path
        
style="fill:#808080;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
-       d="m 465,957.36214 0,20.00002 10,0 0,10 20,-20.00002 -20,-20 0,10 z"
+       d="m 525,957.36216 0,20.00002 10,0 0,10 20,-20.00002 -20,-20 0,10 z"
        id="path4140-1-9-7"
        inkscape:connector-curvature="0"
        sodipodi:nodetypes="cccccccc" />
     <path
        
style="fill:#c0c0c0;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
-       d="m 430,902.3621 c 0,-75 -65,-125 -130,-125 -65,0 -130,50 -130,125 l 
-10,0 20,20 20,-20 -10,0 c 0,-70 65,-105 110,-105 45,0 110,35 110,105 z"
+       d="m 460,902.36216 c 0,-75 -65,-125 -130,-125 -65,0 -130,50 -130,125 l 
-10,0 20,20 20,-20 -10,0 c 0,-70 65,-105 110,-105 45,0 110,35 110,105 z"
        id="path4244"
        inkscape:connector-curvature="0"
        sodipodi:nodetypes="cccccccccc" />
@@ -180,127 +180,127 @@
     <text
        xml:space="preserve"
        
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:8px;line-height:125%;font-family:Elegante;-inkscape-font-specification:Elegante;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
-       x="180.30078"
+       x="190.30078"
        y="950.34454"
        id="text4246-7"
        sodipodi:linespacing="125%"><tspan
          sodipodi:role="line"
-         x="180.30078"
+         x="190.30078"
          y="950.34454"
          id="tspan4254-8">Sleep waiting</tspan><tspan
          sodipodi:role="line"
-         x="180.30078"
+         x="190.30078"
          y="960.34454"
          id="tspan4292">for new input,</tspan><tspan
          sodipodi:role="line"
-         x="180.30078"
+         x="190.30078"
          y="970.34454"
          id="tspan4294">output</tspan><tspan
          sodipodi:role="line"
-         x="180.30078"
+         x="190.30078"
          y="980.34454"
          id="tspan4298">availability</tspan><tspan
          sodipodi:role="line"
-         x="180.30078"
+         x="190.30078"
          y="990.34454"
          id="tspan4296">or timeouts</tspan></text>
     <text
        xml:space="preserve"
        
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:8px;line-height:125%;font-family:Elegante;-inkscape-font-specification:Elegante;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
-       x="300"
-       y="945.2215"
+       x="330.43359"
+       y="945.22156"
        id="text4246-6"
        sodipodi:linespacing="125%"><tspan
          sodipodi:role="line"
-         x="300"
-         y="945.2215"
+         x="330.43359"
+         y="945.22156"
          id="tspan4254-0">Process events,</tspan><tspan
          sodipodi:role="line"
-         x="300"
-         y="955.2215"
+         x="330.43359"
+         y="955.22156"
          id="tspan4323">state changes,</tspan><tspan
          sodipodi:role="line"
-         x="300"
-         y="965.2215"
+         x="330.43359"
+         y="965.22156"
          id="tspan4325">timing</tspan><tspan
          sodipodi:role="line"
-         x="300"
-         y="975.2215"
+         x="330.43359"
+         y="975.22156"
          id="tspan4327">callbacks, I/O</tspan><tspan
          sodipodi:role="line"
-         x="300"
-         y="985.2215"
+         x="330.43359"
+         y="985.22156"
          id="tspan4393">&amp; change</tspan><tspan
          sodipodi:role="line"
-         x="301.27344"
-         y="995.2215"
+         x="331.70703"
+         y="995.22156"
          id="tspan4329">state </tspan></text>
     <text
        xml:space="preserve"
        
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:8px;line-height:125%;font-family:Elegante;-inkscape-font-specification:Elegante;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
-       x="420"
-       y="955.34454"
+       x="470"
+       y="955.3446"
        id="text4246-1"
        sodipodi:linespacing="125%"><tspan
          sodipodi:role="line"
-         x="420"
-         y="955.34454"
+         x="470"
+         y="955.3446"
          id="tspan4254-1">Finalize state</tspan><tspan
          sodipodi:role="line"
-         x="420"
-         y="965.34454"
+         x="470"
+         y="965.3446"
          id="tspan4354">changes &amp;</tspan><tspan
          sodipodi:role="line"
-         x="420"
-         y="975.34454"
+         x="470"
+         y="975.3446"
          id="tspan4356">render updated</tspan><tspan
          sodipodi:role="line"
-         x="420"
-         y="985.34454"
+         x="470"
+         y="985.3446"
          id="tspan4358">UI state</tspan></text>
     <text
        xml:space="preserve"
        
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:8px;line-height:125%;font-family:Elegante;-inkscape-font-specification:Elegante;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
-       x="540.10352"
-       y="954.56915"
+       x="600.10352"
+       y="954.56921"
        id="text4246-60"
        sodipodi:linespacing="125%"><tspan
          sodipodi:role="line"
-         x="540.10352"
-         y="954.56915"
+         x="600.10352"
+         y="954.56921"
          id="tspan4254-81">Shutdown</tspan><tspan
          sodipodi:role="line"
-         x="540.10352"
-         y="964.56915"
+         x="600.10352"
+         y="964.56921"
          id="tspan4383">application</tspan><tspan
          sodipodi:role="line"
-         x="540.10352"
-         y="974.56915"
+         x="600.10352"
+         y="974.56921"
          id="tspan4385">state &amp;</tspan><tspan
          sodipodi:role="line"
-         x="540.10352"
-         y="984.56915"
+         x="600.10352"
+         y="984.56921"
          id="tspan4387">objects</tspan></text>
     <text
        xml:space="preserve"
        
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:8px;line-height:125%;font-family:Elegante;-inkscape-font-specification:Elegante;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
-       x="299.59766"
-       y="790.2782"
+       x="329.59766"
+       y="790.27826"
        id="text4246-2"
        sodipodi:linespacing="125%"><tspan
          sodipodi:role="line"
-         x="299.59766"
-         y="790.2782"
+         x="329.59766"
+         y="790.27826"
          id="tspan4254-6">REPEAT</tspan></text>
     <text
        xml:space="preserve"
        
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:8px;line-height:125%;font-family:Elegante;-inkscape-font-specification:Elegante;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#f9f9f9;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
-       x="299.55139"
+       x="329.55139"
        y="750.2782"
        id="text4246-2-8"
        sodipodi:linespacing="125%"><tspan
          sodipodi:role="line"
-         x="299.55139"
+         x="329.55139"
          y="750.2782"
          id="tspan4254-6-1"
          
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:17.5px;font-family:Elegante;-inkscape-font-specification:'Elegante
 Bold'">MAINLOOP</tspan></text>
diff --git a/pages/docs/lib/efl/start.txt b/pages/docs/lib/efl/start.txt
index 9211e6e..be78d36 100644
--- a/pages/docs/lib/efl/start.txt
+++ b/pages/docs/lib/efl/start.txt
@@ -55,7 +55,7 @@ struggling against EFL and what it is pushing you to use. 
This does
 not mean we do not support threads, we just push you into a specific
 design pattern.
 
-{{ :docs:lib:efl:mainloop.png?nolink |Application Mainloop}}
+{{ :docs:lib:efl:mainloop.svg }}
 
 An application would spend almost it's entire life inside the
 __Mainloop__ sleeping, processing events and then updating it's UI,

-- 


Reply via email to