better filesystem structure for modules and themes; 'minified' ui if debug option not set; dynamially generated map markers

This commit is contained in:
rolux 2011-04-27 21:24:33 +02:00
parent 358ee1bc96
commit 4489e88f44
596 changed files with 115093 additions and 17682 deletions

View file

@ -3,7 +3,7 @@
<head>
<title>ox.js calendar demo</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<script type="text/javascript" src="../../build/js/Ox.js"></script>
<script type="text/javascript" src="../../build/Ox.js"></script>
<script type="text/javascript" src="js/calendar.js"></script>
</head>
<body></body>

View file

@ -2,7 +2,7 @@ console.log('calling Ox.UI()')
//console.log('Ox =', Ox)
//console.log('Ox.UI =', Ox.UI)
Ox.load('UI', {showScreen: true, theme: 'modern'}, function() {
Ox.load('UI', {debug: true, hideScreen: true, showScreen: true, theme: 'modern'}, function() {
console.log('running Ox.UI()')
//console.log('Ox =', Ox)

12
demos/listmap2/index.html Normal file
View file

@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<title>ox.js listmap demo</title
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<script type="text/javascript" src="../../build/Ox.js"></script>
<script type="text/javascript" src="../../source/_/ox.map.js"></script>
<script type="text/javascript" src="js/listmap.js"></script>
</head>
<body>
</body>
</html>

View file

@ -0,0 +1,56 @@
Ox.load('UI', {
debug: true,
hideScreen: true,
showScreen: true,
theme: 'modern'
}, function() {
Ox.loadJSON('json/cities100000.json', function(data) {
var listmap = new Ox.ListMap({
height: window.innerHeight,
places: data.map(function(city) {
var marker = city.population > 20000000 ? {size: 24, color: [255, 0, 0]} :
city.population > 10000000 ? {size: 22, color: [255, 32, 0]} :
city.population > 5000000 ? {size: 20, color: [255, 64, 0]} :
city.population > 2000000 ? {size: 18, color: [255, 96, 0]} :
city.population > 1000000 ? {size: 16, color: [255, 128, 0]} :
city.population > 500000 ? {size: 14, color: [255, 160, 0]} :
city.population > 200000 ? {size: 12, color: [255, 192, 0]} :
city.population > 100000 ? {size: 10, color: [255, 224, 0]} :
{size: 8, color: [255, 255, 0]},
size = Math.sqrt(city.population * 100),
latSize = size / Ox.EARTH_CIRCUMFERENCE * 360,
lngSize = size * Ox.getDegreesPerMeter(city.latitude);
return Ox.extend({
countryCode: city.country_code == 'XK' ? 'RS-KO' : city.country_code,
editable: true,
flag: city.country_code,
geoname: city.name,
markerColor: marker.color,
markerSize: marker.size,
name: city.name,
size: city.population * 100,
type: 'city',
lat: city.latitude,
lng: city.longitude,
south: city.latitude - latSize / 2,
west: city.longitude - lngSize / 2,
north: city.latitude + latSize / 2,
east: city.longitude + lngSize / 2
});
}),
width: window.innerWidth
})
.appendTo(Ox.UI.$body);
$(window).resize(function() {
Ox.print('RESIZE', window.innerHeight)
listmap.options({
height: window.innerHeight,
width: window.innerWidth
});
});
window.listmap = listmap;
});
});

File diff suppressed because it is too large Load diff

33
source/Ox.Geo/Ox.Geo.js Normal file
View file

@ -0,0 +1,33 @@
Ox.load.Geo = function(options, callback) {
Ox.loadJSON(Ox.PATH + 'Ox.Geo/Ox.Geo.json', function(data) {
Ox.COUNTRIES = data;
Ox.getCountryByCode = function(code) {
var country;
Ox.forEach(Ox.COUNTRIES, function(c) {
if (c.code == code) {
country = c;
return false;
}
});
return country;
};
Ox.getCountryByName = function(name) {
var country;
Ox.forEach(Ox.COUNTRIES, function(c) {
if (c.name == name) {
country = c;
return false;
}
});
return country;
};
callback(true);
});
}

File diff suppressed because it is too large Load diff

View file

Before

Width:  |  Height:  |  Size: 522 B

After

Width:  |  Height:  |  Size: 522 B

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 133 KiB

View file

Before

Width:  |  Height:  |  Size: 537 B

After

Width:  |  Height:  |  Size: 537 B

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 202 KiB

View file

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

Before

Width:  |  Height:  |  Size: 4 KiB

After

Width:  |  Height:  |  Size: 4 KiB

View file

Before

Width:  |  Height:  |  Size: 377 B

After

Width:  |  Height:  |  Size: 377 B

View file

@ -37,9 +37,9 @@
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:zoom="0.67799262"
inkscape:cx="344.65075"
inkscape:cy="343.48454"
inkscape:zoom="0.33899631"
inkscape:cx="1022.873"
inkscape:cy="485.80914"
inkscape:window-x="-4"
inkscape:window-y="-4"
inkscape:window-maximized="1"
@ -57,7 +57,7 @@
id="_148171424"
class="fil0"
points="-0.00206693,0.00505118 -0.00206693,2.00449 2.79654,2.00449 2.79654,0.00505118 "
style="fill:#ed1a2d;fill-opacity:1;fill-rule:nonzero"
style="fill:#ce1126;fill-opacity:1;fill-rule:nonzero"
transform="matrix(2.7791605,0,0,2.7785574,0.00574433,-0.01403499)" /><g
id="g12"
transform="matrix(2.6398763,0,0,2.6358507,0.2337429,0.10212981)">
@ -72,12 +72,12 @@
class="fil0"
d="M 1.2022,0.412902 C 1.190881,0.407245 1.178106,0.405335 1.168468,0.409465 1.158838,0.413587 1.156771,0.4232367 1.1677751,0.4266815 c 0.011016,0.003437 0.025472,0.003437 0.033043,0.00137 0.00757,-0.002075 0.011004,-0.010315 0.00138,-0.0151496 z"
inkscape:connector-curvature="0"
style="fill:#ed1a2d;fill-opacity:1;fill-rule:nonzero" />
style="fill:#ce1126;fill-opacity:1;fill-rule:nonzero" />
<path
id="_148172312"
class="fil0"
d="M 1.56699,0.412902 C 1.578317,0.407245 1.591077,0.405335 1.600722,0.409465 1.610352,0.413587 1.612423,0.4232367 1.601407,0.4266815 1.590391,0.4301185 1.575954,0.4301185 1.568379,0.4280515 1.560809,0.4259765 1.557363,0.4177365 1.566989,0.4129019 z"
inkscape:connector-curvature="0"
style="fill:#ed1a2d;fill-opacity:1;fill-rule:nonzero" />
style="fill:#ce1126;fill-opacity:1;fill-rule:nonzero" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="600">
<rect fill="#ff0000" width="1200" height="200"/>
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="600">
<rect fill="#f00" width="1200" height="600"/>
<rect fill="#0000d6" y="200" width="1200" height="200"/>
<rect fill="#ffb100" y="400" width="1200" height="200"/>
<rect fill="#ffb100" y="400" width="1200" height="200"/>
</svg>

Before

Width:  |  Height:  |  Size: 277 B

After

Width:  |  Height:  |  Size: 277 B

View file

@ -0,0 +1,127 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.0"
x="0.00000000"
y="0.00000000"
width="750.00000"
height="500.00000"
id="svg722"
inkscape:version="0.47 r22583"
sodipodi:docname="Roundel.svg">
<metadata
id="metadata15">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1280"
inkscape:window-height="1004"
id="namedview13"
showgrid="false"
inkscape:zoom="0.472"
inkscape:cx="44.491525"
inkscape:cy="250"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="svg722" />
<defs
id="defs724">
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 250 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="750 : 250 : 1"
inkscape:persp3d-origin="375 : 166.66667 : 1"
id="perspective17" />
</defs>
<rect
width="749.99963"
height="499.99979"
x="0.00000000"
y="0.00020000001"
style="font-size:12.000000px;fill:#ffffff;fill-opacity:1.0000000;fill-rule:evenodd;stroke-width:1.0000000pt"
id="rect740" />
<rect
width="166.66660"
height="499.99979"
x="291.66669"
y="4.3721990e-005"
style="fill:#dc171d;fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-opacity:1.0000000"
id="rect2334" />
<rect
width="749.99963"
height="166.66658"
x="0.00000000"
y="166.66672"
style="font-size:12px;fill:#012a87;fill-opacity:1;fill-rule:evenodd;stroke-width:1pt"
id="rect727" />
<path
d="M 346.15805,326.38883 L 333.21109,315.97216 L 320.33231,325.97215 L 325.44342,310.55550 L 312.50000,300.13883 L 328.05214,300.13883 L 333.50250,284.72217 L 338.45242,300.13883 L 354.16665,300.13883 L 341.70686,310.55550 L 346.15805,326.38883 z "
style="font-size:12.000000px;fill:#ffffff;fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000pt"
id="path2864" />
<use
transform="translate(83.33000,0.000000)"
id="use1316"
x="0.00000000"
y="0.00000000"
width="750.00000"
height="500.00000"
xlink:href="#path2864" />
<use
transform="translate(0.000000,-111.1188)"
id="use1318"
x="0.00000000"
y="0.00000000"
width="750.00000"
height="500.00000"
xlink:href="#path2864" />
<use
transform="translate(80.00000,-111.1188)"
id="use1320"
x="0.00000000"
y="0.00000000"
width="750.00000"
height="500.00000"
xlink:href="#path2864" />
<use
transform="translate(-69.50000,-55.55583)"
id="use1322"
x="0.00000000"
y="0.00000000"
width="750.00000"
height="500.00000"
xlink:href="#path2864" />
<use
transform="translate(152.7800,-55.55383)"
id="use1324"
x="0.00000000"
y="0.00000000"
width="750.00000"
height="500.00000"
xlink:href="#path2864" />
</svg>

After

Width:  |  Height:  |  Size: 3.8 KiB

View file

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

View file

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View file

@ -0,0 +1,53 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
version="1.0"
width="320"
height="217"
id="svg9175">
<defs
id="defs9178" />
<g
id="g10152">
<rect
width="320"
height="217"
x="0"
y="0"
style="fill:white;fill-opacity:1;stroke:none"
id="rect10132" />
<path
d="M 0,-7.6e-005 L 0,217 L 319.9999,217 L 281.98662,174.59382 L 174.44833,125.65168 L 94.579573,125.74879 L 132.2725,101.18281 L 62.471236,30.261482 L 0,-7.6e-005 z "
style="fill:#fd9730;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
id="path8226" />
<path
d="M 142.62553,96.269178 L 187.11604,89.710609 L 179.66636,118.78866 L 296.34045,152.36929 L 319.9999,217 L 319.9999,-7.6e-005 L 63.922505,-7.6e-005 L 142.62553,96.269178 z "
style="fill:#1983dd;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
id="path9114" />
<g
id="g10134">
<path
d="M 215.72365,24.746156 L 223.11283,20.450664 L 221.37839,11.974158 L 227.67788,17.796894 L 235.06706,13.501401 L 231.5722,21.394119 L 237.87167,27.216849 L 229.4123,26.273395 L 225.91747,34.166101 L 224.18302,25.689617 L 215.72365,24.746156 z "
style="fill:white;fill-opacity:1"
id="path7842" />
<path
d="M 202.38378,73.82633 L 209.77296,69.530838 L 208.03852,61.054331 L 214.33802,66.877067 L 221.7272,62.581574 L 218.23233,70.474293 L 224.5318,76.297022 L 216.07243,75.353568 L 212.57761,83.246275 L 210.84316,74.76979 L 202.38378,73.82633 z "
style="fill:white;fill-opacity:1"
id="path7325" />
<path
d="M 270.00056,134.1013 L 277.38974,129.80581 L 275.6553,121.3293 L 281.95479,127.15204 L 289.34397,122.85655 L 285.84911,130.74926 L 292.14858,136.57199 L 283.68921,135.62854 L 280.19438,143.52125 L 278.45993,135.04476 L 270.00056,134.1013 z "
style="fill:white;fill-opacity:1"
id="path7327" />
<path
d="M 268.03257,31.422021 L 275.42175,27.126529 L 273.68731,18.650023 L 279.9868,24.472759 L 287.37598,20.177267 L 283.88112,28.069984 L 290.18059,33.892714 L 281.72122,32.94926 L 278.22639,40.841966 L 276.49194,32.365482 L 268.03257,31.422021 z "
style="fill:white;fill-opacity:1"
id="path7329" />
<path
d="M 269.32746,65.378053 L 273.20911,63.121566 L 272.29798,58.66873 L 275.6072,61.727502 L 279.48885,59.471014 L 277.65294,63.617177 L 280.96215,66.675947 L 276.51832,66.180335 L 274.68243,70.326494 L 273.7713,65.873669 L 269.32746,65.378053 z "
style="fill:white;fill-opacity:1"
id="path7331" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.9 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 18 KiB

View file

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

View file

Before

Width:  |  Height:  |  Size: 216 B

After

Width:  |  Height:  |  Size: 216 B

View file

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View file

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View file

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View file

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View file

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View file

Before

Width:  |  Height:  |  Size: 547 B

After

Width:  |  Height:  |  Size: 547 B

View file

Before

Width:  |  Height:  |  Size: 665 B

After

Width:  |  Height:  |  Size: 665 B

View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" width="1200" height="600">
<rect width="1200" height="600" style="fill:#0098c3" />
<rect width="1200" height="200" y="200" style="fill:#e00034" />
<rect width="1200" height="200" y="400" style="fill:#00ae65" />
<path style="fill:#fff" d="m 599.73704,371.49897 c -39.50019,0 -71.52534,-32.03054 -71.52534,-71.51928 0,-39.53376 32.02765,-71.54679 71.52534,-71.54679 22.2051,0 42.0527,10.14846 55.17276,26.01246 -15.42257,-25.50992 -43.41771,-42.56404 -75.40286,-42.56404 -48.63273,0 -88.06541,39.43375 -88.06541,88.09837 0,48.62711 39.43018,88.04585 88.06541,88.04585 31.98515,0 59.98029,-17.05162 75.40286,-42.55654 -13.11756,15.88901 -32.96766,26.02997 -55.17276,26.02997 z" id="crescent"/>
<polygon style="fill:#ffffff" points="330.043,334.138 333.439,341.79 341.254,338.783 338.245,346.596 345.896,349.995 338.243,353.391 341.25,361.205 333.438,358.195 330.039,365.847 326.643,358.194 318.828,361.201 321.838,353.388 314.187,349.989 321.839,346.594 318.832,338.78 326.645,341.789" transform="matrix(2.5000118,0,0,2.5002373,-150.0065,-575.11087)" id="star"/></svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

Before

Width:  |  Height:  |  Size: 216 B

After

Width:  |  Height:  |  Size: 216 B

View file

Before

Width:  |  Height:  |  Size: 215 B

After

Width:  |  Height:  |  Size: 215 B

View file

Before

Width:  |  Height:  |  Size: 802 B

After

Width:  |  Height:  |  Size: 802 B

View file

Before

Width:  |  Height:  |  Size: 288 B

After

Width:  |  Height:  |  Size: 288 B

View file

Before

Width:  |  Height:  |  Size: 325 B

After

Width:  |  Height:  |  Size: 325 B

View file

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View file

Before

Width:  |  Height:  |  Size: 328 B

After

Width:  |  Height:  |  Size: 328 B

View file

Before

Width:  |  Height:  |  Size: 274 KiB

After

Width:  |  Height:  |  Size: 274 KiB

View file

Before

Width:  |  Height:  |  Size: 140 KiB

After

Width:  |  Height:  |  Size: 140 KiB

View file

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 42 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 328 KiB

View file

@ -0,0 +1,187 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
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"
height="400"
id="svg2"
sodipodi:version="0.32"
inkscape:version="0.47 r22583"
version="1.0"
sodipodi:docname="Flag_of_Bonaire.svg">
<defs
id="defs4">
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 200 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="600 : 200 : 1"
inkscape:persp3d-origin="300 : 133.33333 : 1"
id="perspective17" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="1.1083333"
inkscape:cx="159.24812"
inkscape:cy="200"
inkscape:document-units="px"
inkscape:current-layer="g3586"
showgrid="true"
gridtolerance="5px"
inkscape:grid-points="false"
inkscape:window-width="1280"
inkscape:window-height="1004"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1">
<inkscape:grid
id="GridFromPre046Settings"
type="xygrid"
originx="0px"
originy="0px"
spacingx="5px"
spacingy="5px"
color="#0000ff"
empcolor="#0000ff"
opacity="0.2"
empopacity="0.4"
empspacing="5" />
</sodipodi:namedview>
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<g
id="g3586"
transform="scale(2,2)">
<rect
y="0"
x="0"
height="200"
width="300"
id="rect3579"
style="opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:5.5;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<path
d="m 82.500001,61 7.370899,12.733224 14.71275,0.01678 -7.341848,12.749998 7.341848,12.750002 -14.712748,0.01677 L 82.499999,112 75.1291,99.266776 60.416352,99.249999 67.758198,86.500001 60.416353,73.749999 75.129098,73.733225 82.500001,61 z"
inkscape:randomized="0"
inkscape:rounded="0"
inkscape:flatsided="false"
sodipodi:arg2="-1.0471976"
sodipodi:arg1="-1.5707963"
sodipodi:r2="14.741802"
sodipodi:r1="25.5"
sodipodi:cy="86.5"
sodipodi:cx="82.5"
sodipodi:sides="6"
id="path3553"
style="opacity:1;fill:#dc171d;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
sodipodi:type="star" />
<path
d="m 122.5,86.5 c 0,22.09139 -17.90861,40 -40,40 -22.09139,0 -40,-17.90861 -40,-40 0,-22.09139 17.90861,-40 40,-40 22.09139,0 40,17.90861 40,40 z"
sodipodi:ry="40"
sodipodi:rx="40"
sodipodi:cy="86.5"
sodipodi:cx="82.5"
id="path3559"
style="opacity:1;fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:5.5;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
sodipodi:type="arc" />
<path
transform="translate(-0.5,0)"
d="m 83,34.917237 5.267827,9.124145 -10.535654,-10e-7 L 83,34.917237 z"
inkscape:randomized="0"
inkscape:rounded="0"
inkscape:flatsided="true"
sodipodi:arg2="-0.52359878"
sodipodi:arg1="-1.5707963"
sodipodi:r2="3.0413814"
sodipodi:r1="6.0827627"
sodipodi:cy="41"
sodipodi:cx="83"
sodipodi:sides="3"
id="path3565"
style="opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:5.5;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
sodipodi:type="star" />
<path
sodipodi:type="star"
style="opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:5.5;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="path3567"
sodipodi:sides="3"
sodipodi:cx="83"
sodipodi:cy="41"
sodipodi:r1="6.0827627"
sodipodi:r2="3.0413814"
sodipodi:arg1="-1.5707963"
sodipodi:arg2="-0.52359878"
inkscape:flatsided="true"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 83,34.917237 5.267827,9.124145 -10.535654,-10e-7 L 83,34.917237 z"
transform="matrix(0,-1,1,0,-4,169.5)" />
<path
sodipodi:type="star"
style="opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:5.5;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="path3569"
sodipodi:sides="3"
sodipodi:cx="83"
sodipodi:cy="41"
sodipodi:r1="6.0827627"
sodipodi:r2="3.0413814"
sodipodi:arg1="-1.5707963"
sodipodi:arg2="-0.52359878"
inkscape:flatsided="true"
inkscape:rounded="0"
inkscape:randomized="0"
d="m 83,34.917237 5.267827,9.124145 -10.535654,-10e-7 L 83,34.917237 z"
transform="matrix(-1,-1.12757e-17,1.12757e-17,-1,165.5,173)" />
<path
transform="matrix(-1.12757e-17,1,-1,-1.12757e-17,169,3.5)"
d="m 83,34.917237 5.267827,9.124145 -10.535654,-10e-7 L 83,34.917237 z"
inkscape:randomized="0"
inkscape:rounded="0"
inkscape:flatsided="true"
sodipodi:arg2="-0.52359878"
sodipodi:arg1="-1.5707963"
sodipodi:r2="3.0413814"
sodipodi:r1="6.0827627"
sodipodi:cy="41"
sodipodi:cx="83"
sodipodi:sides="3"
id="path3571"
style="opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:5.5;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
sodipodi:type="star" />
<path
sodipodi:nodetypes="cccc"
id="rect3581"
d="M 300,0 L 300,200 L 0,200 L 300,0 z "
style="fill:#012a87;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:5.50000000000000000;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1" />
<path
sodipodi:nodetypes="cccc"
id="path3584"
d="M 125,0 L 0,83.333333 L 0,0 L 125,0 z "
style="fill:#f9d90f;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 7.4 KiB

View file

Before

Width:  |  Height:  |  Size: 217 KiB

After

Width:  |  Height:  |  Size: 217 KiB

View file

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

View file

Before

Width:  |  Height:  |  Size: 472 B

After

Width:  |  Height:  |  Size: 472 B

View file

Before

Width:  |  Height:  |  Size: 107 KiB

After

Width:  |  Height:  |  Size: 107 KiB

View file

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View file

Before

Width:  |  Height:  |  Size: 517 B

After

Width:  |  Height:  |  Size: 517 B

View file

Before

Width:  |  Height:  |  Size: 303 B

After

Width:  |  Height:  |  Size: 303 B

View file

Before

Width:  |  Height:  |  Size: 9.6 KiB

After

Width:  |  Height:  |  Size: 9.6 KiB

View file

Before

Width:  |  Height:  |  Size: 9.9 KiB

After

Width:  |  Height:  |  Size: 9.9 KiB

View file

Before

Width:  |  Height:  |  Size: 268 KiB

After

Width:  |  Height:  |  Size: 268 KiB

View file

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View file

Before

Width:  |  Height:  |  Size: 798 B

After

Width:  |  Height:  |  Size: 798 B

View file

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

Before

Width:  |  Height:  |  Size: 424 B

After

Width:  |  Height:  |  Size: 424 B

View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="320" height="320">
<rect fill="#D52B1E" height="320" width="320"/>
<rect fill="#fff" height="60" width="200" x="60" y="130"/>
<rect fill="#fff" height="200" width="60" x="130" y="60"/>
</svg>

After

Width:  |  Height:  |  Size: 280 B

View file

Before

Width:  |  Height:  |  Size: 427 B

After

Width:  |  Height:  |  Size: 427 B

View file

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View file

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="900" height="600" viewBox="0 0 900 600" id="magallanes_cl_flag">
<desc id="en">Flag of Magellan Region and Chilean Antarctica</desc>
<desc id="es">Bandera de la región de Magallanes y Antártica Chilena</desc>
<defs>
<g id="star" transform="rotate(46.847610265994595695334434896598)">
<g id="cone">
<path id="triangle" fill="white" d="M0,0 v1 h0.5 z" transform="translate(0,-1) rotate(18)"/>
<use xlink:href="#triangle" transform="scale(-1,1)"/>
</g>
<use xlink:href="#cone" transform="rotate(072)"/>
<use xlink:href="#cone" transform="rotate(144)"/>
<use xlink:href="#cone" transform="rotate(216)"/>
<use xlink:href="#cone" transform="rotate(288)"/>
</g>
</defs>
<rect fill="white" height="600" width="900"/>
<polygon fill="#0000cc" points="0,0 0,460 75,380 150,460 225,380 300,460 375,380 450,460 525,380 600,460 675,380 750,460 825,380 900,460 900,0"/>
<polygon fill="#fdcb00" points="0,600 0,490 75,410 150,490 225,410 300,490 375,410 450,490 525,410 600,490 675,410 750,490 825,410 900,490 900,600"/>
<use xlink:href="#star" transform="translate(112,259) scale(44)"/>
<use xlink:href="#star" transform="translate(204,088) scale(44)"/>
<use xlink:href="#star" transform="translate(305,305) scale(44)"/>
<use xlink:href="#star" transform="translate(350,130) scale(22)"/>
<use xlink:href="#star" transform="translate(513,074) scale(44)"/>
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

View file

Before

Width:  |  Height:  |  Size: 884 B

After

Width:  |  Height:  |  Size: 884 B

View file

Before

Width:  |  Height:  |  Size: 946 B

After

Width:  |  Height:  |  Size: 946 B

View file

@ -0,0 +1 @@
<?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="3000" height="2000" viewBox="0 0 30 20"><rect fill="#de2910" width="30" height="20"/><g id="bstar" transform="translate(5,5) scale(3)" fill="#ffde00"><g id="cone"><polygon id="triangle" points="0,0 0,1 .5,1" transform="translate(0,-1) rotate(18)"/><use xlink:href="#triangle" transform="scale(-1,1)" id="use5"/></g><use xlink:href="#cone" transform="rotate(72)" id="use1"/><use xlink:href="#cone" transform="rotate(-72)" id="use2"/><use xlink:href="#cone" transform="rotate(144)" id="use3"/><use xlink:href="#cone" transform="rotate(-144)" id="use4"/></g><use xlink:href="#bstar" transform="matrix(0,0.33,-0.33,0,11.641927,7.359454)"/><use xlink:href="#bstar" transform="matrix(0,0.33,-0.33,0,11.641927,0.359454)"/><use xlink:href="#bstar" transform="matrix(0.33328261,-0.00581747,0.00581747,0.33328261,10.3045,5.3626743)"/><use xlink:href="#bstar" transform="matrix(-0.00581747,-0.33328261,0.33328261,-0.00581747,10.362674,5.6955004)"/></svg>

After

Width:  |  Height:  |  Size: 1 KiB

View file

Before

Width:  |  Height:  |  Size: 379 B

After

Width:  |  Height:  |  Size: 379 B

View file

Before

Width:  |  Height:  |  Size: 377 B

After

Width:  |  Height:  |  Size: 377 B

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 130 KiB

View file

Before

Width:  |  Height:  |  Size: 462 B

After

Width:  |  Height:  |  Size: 462 B

View file

Before

Width:  |  Height:  |  Size: 470 B

After

Width:  |  Height:  |  Size: 470 B

View file

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View file

Before

Width:  |  Height:  |  Size: 703 B

After

Width:  |  Height:  |  Size: 703 B

View file

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View file

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View file

Before

Width:  |  Height:  |  Size: 8 KiB

After

Width:  |  Height:  |  Size: 8 KiB

View file

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

Before

Width:  |  Height:  |  Size: 6.4 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

View file

Before

Width:  |  Height:  |  Size: 581 B

After

Width:  |  Height:  |  Size: 581 B

View file

Before

Width:  |  Height:  |  Size: 67 KiB

After

Width:  |  Height:  |  Size: 67 KiB

View file

Before

Width:  |  Height:  |  Size: 502 B

After

Width:  |  Height:  |  Size: 502 B

View file

Before

Width:  |  Height:  |  Size: 502 B

After

Width:  |  Height:  |  Size: 502 B

View file

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 80 KiB

View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="600" height="400" viewBox="0 0 15 10">
<rect width="15" height="10" id="blue" style="fill:#6ab2e7"/>
<rect width="15" height="5" y="5" id="green" style="fill:#12ad2b"/>
<path d="M 0,0 0,5 0,10 4.330127,7.5 8.660254,5 4.330127,2.5 0,0 z" id="path6904" style="fill:#fff"/>
<path d="m 3.3143278,3.75 0.3102707,0.954915 1.0040571,0 L 3.8163564,5.295085 4.126627,6.25 3.3143278,5.65983 2.5020286,6.25 2.8122992,5.295085 2,4.704915 l 1.004057,0 L 3.3143278,3.75 z" id="path6929" style="fill:#d7141a"/></svg>

After

Width:  |  Height:  |  Size: 596 B

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="370" height="280" viewBox="0 0 37 28">
<desc>Flag of Denmark</desc>
<rect x="0" y="0" width="37" height="28" fill="#d00c33"/>
<rect x="12" y="0" width="4" height="28" fill="#ffffff"/>
<rect x="0" y="12" width="37" height="4" fill="#ffffff"/>
</svg>

After

Width:  |  Height:  |  Size: 336 B

View file

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 45 KiB

View file

Before

Width:  |  Height:  |  Size: 115 KiB

After

Width:  |  Height:  |  Size: 115 KiB

View file

Before

Width:  |  Height:  |  Size: 328 B

After

Width:  |  Height:  |  Size: 328 B

View file

Before

Width:  |  Height:  |  Size: 915 B

After

Width:  |  Height:  |  Size: 915 B

View file

Before

Width:  |  Height:  |  Size: 167 KiB

After

Width:  |  Height:  |  Size: 167 KiB

View file

Before

Width:  |  Height:  |  Size: 764 KiB

After

Width:  |  Height:  |  Size: 764 KiB

View file

Before

Width:  |  Height:  |  Size: 302 B

After

Width:  |  Height:  |  Size: 302 B

View file

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 50 KiB

View file

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 7.3 KiB

View file

Before

Width:  |  Height:  |  Size: 230 KiB

After

Width:  |  Height:  |  Size: 230 KiB

View file

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

Before

Width:  |  Height:  |  Size: 275 B

After

Width:  |  Height:  |  Size: 275 B

Some files were not shown because too many files have changed in this diff Show more