{"id":157087,"date":"2012-11-02T02:21:03","date_gmt":"2012-11-01T22:21:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=157087"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=157087","title":{"rendered":"<span class=\"post_title\">\u0417\u043d\u0430\u043a\u043e\u043c\u0441\u0442\u0432\u043e \u0441 SVG-\u0433\u0440\u0430\u0444\u0438\u043a\u043e\u0439<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t\u042d\u0442\u043e\u0442 \u043f\u043e\u0441\u0442\u00a0\u2014 \u043f\u0435\u0440\u0432\u044b\u0439 \u0438\u0437 \u0441\u0435\u0440\u0438\u0438 \u0441\u0442\u0430\u0442\u0435\u0439 \u043e SVG-\u0433\u0440\u0430\u0444\u0438\u043a\u0435 (Scalable Vector Graphic), \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0449\u0438\u0439 \u043e\u0431 \u043e\u0441\u043d\u043e\u0432\u0430\u0445 \u0432\u0435\u043a\u0442\u043e\u0440\u043d\u043e\u0439 \u0433\u0440\u0430\u0444\u0438\u043a\u0438 \u043d\u0430 \u0441\u0430\u0439\u0442\u0435.<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f17\/067\/d06\/f17067d0606019042fd33aa5c8158043.png\"\/><\/p>\n<p>  \u0412\u0435\u043a\u0442\u043e\u0440\u043d\u0430\u044f \u0433\u0440\u0430\u0444\u0438\u043a\u0430 \u0448\u0438\u0440\u043e\u043a\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0432 \u043f\u043e\u043b\u0438\u0433\u0440\u0430\u0444\u0438\u0438. \u0414\u043b\u044f \u0432\u0435\u0431-\u0441\u0430\u0439\u0442\u043e\u0432 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 SVG, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e <a href=\"http:\/\/www.w3.org\/TR\/SVG\/\">\u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u043d\u0430 w3.org<\/a> \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f <em>\u044f\u0437\u044b\u043a\u043e\u043c \u0434\u043b\u044f \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0434\u0432\u0443\u043c\u0435\u0440\u043d\u043e\u0439 \u0433\u0440\u0430\u0444\u0438\u043a\u0438 \u0432 XML. SVG \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0432 \u0441\u0435\u0431\u044f \u0442\u0440\u0438 \u0442\u0438\u043f\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432: \u0444\u0438\u0433\u0443\u0440\u044b, \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0438 \u0442\u0435\u043a\u0441\u0442.\u00a0<\/em>SVG <a href=\"http:\/\/en.wikipedia.org\/wiki\/Scalable_Vector_Graphics\">\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0441 1999 \u0433\u043e\u0434\u0430<\/a>, \u0430 \u0441 16 \u0430\u0432\u0433\u0443\u0441\u0442\u0430 2011 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0430 \u0432 <a href=\"http:\/\/www.w3.org\/TR\/SVG11\/\">\u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0438 W3C<\/a>. SVG \u0441\u0438\u043b\u044c\u043d\u043e \u043d\u0435\u0434\u043e\u043e\u0446\u0435\u043d\u0435\u043d\u0430 \u0432\u0435\u0431-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c\u0438, \u0445\u043e\u0442\u044f \u0438\u043c\u0435\u0435\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0430\u0436\u043d\u044b\u0445 \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432.<a name=\"habracut\"><\/a><\/p>\n<p>  <a href=\"http:\/\/koulikov.com\/wp-content\/uploads\/2012\/11\/svg\/index.htm\">\u0414\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u044f \u0432\u0441\u0435\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432<\/a>\u00a0\/\u00a0<a href=\"http:\/\/koulikov.com\/wp-content\/uploads\/2012\/11\/svg\/svg.zip\">\u0421\u043a\u0430\u0447\u0430\u0442\u044c \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438<\/a>\u00a0\/\u00a0<a href=\"http:\/\/www.w3.org\/TR\/SVG\/\">\u041e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f<\/a><\/p>\n<h2>\u041f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0430 SVG<\/h2>\n<p>  <\/p>\n<ul>\n<li>\u041c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435: \u0432 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u043e\u0442 \u0440\u0430\u0441\u0442\u0440\u043e\u0432\u043e\u0439 \u0433\u0440\u0430\u0444\u0438\u043a\u0438, SVG \u043d\u0435 \u0442\u0435\u0440\u044f\u0435\u0442 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u0438 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0435\u0435 \u0443\u0434\u043e\u0431\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043f\u043e\u0434 retina.<\/li>\n<li>\u0423\u043c\u0435\u043d\u044c\u0448\u0435\u043d\u0438\u0435 HTTP-\u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432: \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 SVG \u0441\u043e\u043a\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0439 \u043a \u0441\u0435\u0440\u0432\u0435\u0440\u0443, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0441\u0430\u0439\u0442\u0430.<\/li>\n<li>\u0421\u0442\u0430\u0439\u043b\u0438\u043d\u0433 \u0438 \u0441\u043a\u0440\u0438\u043f\u0442\u0438\u043d\u0433: \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 CSS \u043c\u043e\u0436\u043d\u043e \u043c\u0435\u043d\u044f\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0433\u0440\u0430\u0444\u0438\u043a\u0438 \u043d\u0430 \u0441\u0430\u0439\u0442\u0435, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0444\u043e\u043d, \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0441\u0442\u044c \u0438\u043b\u0438 \u0433\u0440\u0430\u043d\u0438\u0446\u044b.<\/li>\n<li>\u0410\u043d\u0438\u043c\u0430\u0446\u0438\u044f \u0438 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435: \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438\u00a0jQuery \u043c\u043e\u0436\u043d\u043e \u0430\u043d\u0438\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c SVG, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u043c \u0438\u043b\u0438 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0435 (<a href=\"http:\/\/inkscape.org\/\">InkScape<\/a> \u0438\u043b\u0438 <a href=\"http:\/\/www.adobe.com\/products\/illustrator.html\">Adobe Illustrator<\/a>).<\/li>\n<li>\u041c\u0430\u043b\u044b\u0439 \u0440\u0430\u0437\u043c\u0435\u0440: \u043e\u0431\u044a\u0435\u043a\u0442\u044b SVG \u0432\u0435\u0441\u044f\u0442 \u043d\u0430\u043c\u043d\u043e\u0433\u043e \u043c\u0435\u043d\u044c\u0448\u0435 \u0440\u0430\u0441\u0442\u0440\u043e\u0432\u044b\u0445 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439.<\/li>\n<\/ul>\n<h2>\u041e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 SVG-\u0444\u0438\u0433\u0443\u0440\u044b<\/h2>\n<p>  \u0421\u043e\u0433\u043b\u0430\u0441\u043d\u043e <a href=\"http:\/\/www.w3.org\/TR\/SVG11\/shapes.html\">\u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438<\/a> \u043c\u043e\u0436\u043d\u043e \u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e SVG: \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a, \u043e\u043a\u0440\u0443\u0436\u043d\u043e\u0441\u0442\u044c, \u043b\u0438\u043d\u0438\u044e, \u044d\u043b\u043b\u0438\u043f\u0441, \u043b\u043e\u043c\u0430\u043d\u0443\u044e \u043b\u0438\u043d\u0438\u044e \u0438\u043b\u0438 \u043c\u043d\u043e\u0433\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u0442\u0435\u0433\u0430 <strong>svg<\/strong>.<\/p>\n<p>  \u041f\u0440\u043e\u0441\u0442\u0430\u044f \u043b\u0438\u043d\u0438\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0442\u0435\u0433\u0430 <strong>line<\/strong> \u0441 \u0432\u0441\u0435\u0433\u043e \u0434\u0432\u0443\u043c\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438\u00a0\u2014 \u0442\u043e\u0447\u043a\u0430\u043c\u0438 \u043d\u0430\u0447\u0430\u043b\u0430 (x1 \u0438 x2) \u0438 \u043a\u043e\u043d\u0446\u0430 (y1 \u0438 y2):<\/p>\n<pre><code class=\"html\">&lt;svg&gt;   &lt;line x1=&quot;0&quot; y1=&quot;0&quot; x2=&quot;200&quot; y2=&quot;200&quot; stroke-width=&quot;1&quot; stroke=&quot;rgb(0,0,0)&quot;\/&gt;   &lt;\/svg&gt;   <\/code><\/pre>\n<p>  \u0422\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c\u00a0\u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b \u0438\u043b\u0438\u00a0\u0441\u0442\u0438\u043b\u0438\u00a0stroke and stroke-width, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u0434\u0430\u0442\u044c \u0446\u0432\u0435\u0442 \u0438 \u0448\u0438\u0440\u0438\u043d\u0443:<\/p>\n<pre><code class=\"css\">style=&quot;stroke-width:1; stroke:rgb(0,0,0);&quot;  <\/code><\/pre>\n<p>  <img decoding=\"async\" title=\"svg-line\" src=\"http:\/\/koulikov.com\/wp-content\/uploads\/2012\/11\/svg-line.jpg\"\/><\/p>\n<p>  <a href=\"http:\/\/koulikov.com\/wp-content\/uploads\/2012\/11\/svg\/index.htm#line\">\u0414\u0415\u041c\u041e\u041d\u0421\u0422\u0420\u0410\u0426\u0418\u042f<\/a><\/p>\n<h3>\u041b\u043e\u043c\u0430\u043d\u0430\u044f \u043b\u0438\u043d\u0438\u044f<\/h3>\n<p>  \u0421\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u0435\u043d \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u043c\u0443, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0442\u0435\u0433\u00a0<strong>polyline<\/strong>, \u0430\u0442\u0440\u0438\u0431\u0443\u0442 <strong>points<\/strong> \u0437\u0430\u0434\u0430\u0435\u0442 \u0442\u043e\u0447\u043a\u0438:<\/p>\n<pre><code class=\"html\">&lt;svg&gt; &lt;polyline points=&quot;0,0 50,0 150,100 250,100 300,150&quot; fill=&quot;rgb(249,249,249)&quot; stroke-width=&quot;1&quot; stroke=&quot;rgb(0,0,0)&quot;\/&gt; &lt;\/svg&gt; <\/code><\/pre>\n<p>  <img decoding=\"async\" title=\"svg-polyline\" src=\"http:\/\/koulikov.com\/wp-content\/uploads\/2012\/11\/svg-polyline.jpg\"\/><\/p>\n<p>  <a href=\"http:\/\/koulikov.com\/wp-content\/uploads\/2012\/11\/svg\/index.htm#polyline\">\u0414\u0415\u041c\u041e\u041d\u0421\u0422\u0420\u0410\u0426\u0418\u042f<\/a><\/p>\n<h3>\u041f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a<\/h3>\n<p>  \u0412\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0442\u0435\u0433\u043e\u043c\u00a0rect, \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b:<\/p>\n<pre><code class=\"html\">&lt;svg&gt; &lt;rect width=&quot;200&quot; height=&quot;200&quot; fill=&quot;rgb(234,234,234)&quot; stroke-width=&quot;1&quot; stroke=&quot;rgb(0,0,0)&quot;\/&gt; &lt;\/svg&gt; <\/code><\/pre>\n<p>  <img decoding=\"async\" title=\"svg-rect\" src=\"http:\/\/koulikov.com\/wp-content\/uploads\/2012\/11\/svg-rect.jpg\"\/><\/p>\n<p>  <a href=\"http:\/\/koulikov.com\/wp-content\/uploads\/2012\/11\/svg\/index.htm#rect\">\u0414\u0415\u041c\u041e\u041d\u0421\u0422\u0420\u0410\u0426\u0418\u042f<\/a><\/p>\n<h3>\u041e\u043a\u0440\u0443\u0436\u043d\u043e\u0441\u0442\u044c<\/h3>\n<p>  \u0412\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0442\u0435\u0433\u043e\u043c <strong>circle<\/strong>, \u0432 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430 <strong>r<\/strong> \u0437\u0430\u0434\u0430\u0435\u043c \u0440\u0430\u0434\u0438\u0443\u0441, <strong>cx<\/strong> \u0438 <strong>cy<\/strong> \u0437\u0430\u0434\u0430\u044e\u0442 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u0446\u0435\u043d\u0442\u0440\u0430:<\/p>\n<pre><code class=\"html\">&lt;svg&gt; &lt;circle cx=&quot;102&quot; cy=&quot;102&quot; r=&quot;100&quot; fill=&quot;rgb(234,234,234)&quot; stroke-width=&quot;1&quot; stroke=&quot;rgb(0,0,0)&quot;\/&gt; &lt;\/svg&gt; <\/code><\/pre>\n<p>  <img decoding=\"async\" title=\"svg-circle\" src=\"http:\/\/koulikov.com\/wp-content\/uploads\/2012\/11\/svg-circle.jpg\"\/><\/p>\n<p>  <a href=\"http:\/\/koulikov.com\/wp-content\/uploads\/2012\/11\/svg\/index.htm#circle\">\u0414\u0415\u041c\u041e\u041d\u0421\u0422\u0420\u0410\u0426\u0418\u042f<\/a><\/p>\n<h3>\u042d\u043b\u043b\u0438\u043f\u0441<\/h3>\n<p>  \u0412\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0442\u0435\u0433\u043e\u043c<strong> ellipse<\/strong>, \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e <strong>circle<\/strong>, \u043d\u043e \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0434\u0430\u0442\u044c \u0434\u0432\u0430 \u0440\u0430\u0434\u0438\u0443\u0441\u0430\u00a0\u2014 <strong>rx<\/strong> \u0438 <strong>ry<\/strong>:<\/p>\n<pre><code class=\"html\">&lt;svg&gt; &lt;ellipse cx=&quot;100&quot; cy=&quot;50&quot; rx=&quot;100&quot; ry=&quot;50&quot; fill=&quot;rgb(234,234,234)&quot; stroke-width=&quot;1&quot; stroke=&quot;rgb(0,0,0)&quot;\/&gt; &lt;\/svg&gt; <\/code><\/pre>\n<p>  <img decoding=\"async\" title=\"svg-ellipse\" src=\"http:\/\/koulikov.com\/wp-content\/uploads\/2012\/11\/svg-ellipse.jpg\"\/><\/p>\n<p>  <a href=\"http:\/\/koulikov.com\/wp-content\/uploads\/2012\/11\/svg\/index.htm#ellipse\">\u0414\u0415\u041c\u041e\u041d\u0421\u0422\u0420\u0410\u0426\u0418\u042f<\/a><\/p>\n<h3>\u041c\u043d\u043e\u0433\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a<\/h3>\n<p>  \u0412\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0442\u0435\u0433\u043e\u043c\u00a0<strong>polygon<\/strong>, \u043c\u043d\u043e\u0433\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a \u043c\u043e\u0436\u0435\u0442 \u0438\u043c\u0435\u0442\u044c \u0440\u0430\u0437\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0442\u043e\u0440\u043e\u043d:<\/p>\n<pre><code class=\"html\">&lt;svg&gt; &lt;polygon points=&quot;70.444,218.89 15.444,118.89 70.444,18.89 180.444,18.89 235.444,118.89 180.444,218.89&quot; fill=&quot;rgb(234,234,234)&quot; stroke-width=&quot;1&quot; stroke=&quot;rgb(0,0,0)&quot;\/&gt; &lt;\/svg&gt; <\/code><\/pre>\n<p>  <img decoding=\"async\" title=\"svg-polygon\" src=\"http:\/\/koulikov.com\/wp-content\/uploads\/2012\/11\/svg-polygon.jpg\"\/><\/p>\n<p>  <a href=\"http:\/\/koulikov.com\/wp-content\/uploads\/2012\/11\/svg\/index.htm#polygon\">\u0414\u0415\u041c\u041e\u041d\u0421\u0422\u0420\u0410\u0426\u0418\u042f<\/a><\/p>\n<h2>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u043e\u0432<\/h2>\n<p>  \u041a\u0430\u043a \u0432\u0438\u0434\u043d\u043e \u0438\u0437 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432, \u0440\u0438\u0441\u043e\u0432\u0430\u043d\u0438\u0435 \u0431\u0430\u0437\u043e\u0432\u044b\u0445 SVG-\u0444\u0438\u0433\u0443\u0440\u00a0\u2014 \u044d\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e, \u043d\u043e \u043e\u0431\u044a\u0435\u043a\u0442\u044b \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u043d\u0430\u043c\u043d\u043e\u0433\u043e \u0441\u043b\u043e\u0436\u043d\u0435\u0435. \u0414\u043b\u044f \u0442\u0430\u043a\u0438\u0445 \u043d\u0443\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u044b \u0432\u0435\u043a\u0442\u043e\u0440\u043d\u043e\u0439 \u0433\u0440\u0430\u0444\u0438\u043a\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440\u00a0Adobe Illustrator \u0438\u043b\u0438 Inkscape, \u0433\u0434\u0435 \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u0432 SVG-\u0444\u043e\u0440\u043c\u0430\u0442\u0435, \u0430 \u043f\u043e\u0442\u043e\u043c \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u043c \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0435. \u0412\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 SVG \u043c\u043e\u0436\u043d\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e embed, iframe \u0438 object:<\/p>\n<pre><code class=\"html\">&lt;object data=&quot;images\/ipod.svg&quot; type=&quot;image\/svg+xml&quot;&gt;&lt;\/object&gt;  <\/code><\/pre>\n<p>  \u041f\u0440\u0438\u043c\u0435\u0440\u00a0\u2014 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0430\u0439\u043f\u043e\u0434\u0430 \u0441 \u0441\u0430\u0439\u0442\u0430 <a href=\"http:\/\/openclipart.org\/detail\/147673\/apple-ipod-by-nikla88\">OpenClipArt.org<\/a>:<\/p>\n<p>  <img decoding=\"async\" title=\"svg-ipod\" src=\"http:\/\/koulikov.com\/wp-content\/uploads\/2012\/11\/svg-ipod.jpg\"\/><\/p>\n<h2>\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u043c\u0438<\/h2>\n<p>  SVG <a href=\"http:\/\/caniuse.com\/svg\">\u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f<\/a> \u043f\u043e\u0447\u0442\u0438 \u0432\u0441\u0435\u043c\u0438 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u043c\u0438 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u043c\u0438 \u0437\u0430 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c Internet Explorer 8 \u0438 \u043d\u0438\u0436\u0435. \u041d\u043e \u0438 \u044d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c javascript-\u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 <a href=\"http:\/\/raphaeljs.com\/\">Raphael.js<\/a>. \u041a\u043e\u043d\u0447\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u00a0SVG-\u0444\u0430\u0439\u043b \u0432 \u0444\u043e\u0440\u043c\u0430\u0442 \u044d\u0442\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u043c\u043e\u0436\u043d\u043e \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 <a href=\"http:\/\/readysetraphael.com\/\">ReadySetRaphael.com<\/a>.<\/p>\n<p>  <img decoding=\"async\" title=\"svg-raphael\" src=\"http:\/\/koulikov.com\/wp-content\/uploads\/2012\/11\/svg-raphael.jpg\"\/><\/p>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443\u00a0<a href=\"http:\/\/raphaeljs.com\/\">Raphael.js<\/a>\u00a0\u043d\u0430 \u043d\u0443\u0436\u043d\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443, \u0437\u0430\u0442\u0435\u043c \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c SVG-\u0444\u0430\u0439\u043b, \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439\u00a0\u043a\u043e\u0434 \u0432 function:<\/p>\n<pre><code class=\"javascript\">window.onload=function() {  \t\/\/\u0441\u044e\u0434\u0430 \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043a\u043e\u0434 Raphael } <\/code><\/pre>\n<p>  \u041d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c <b>div<\/b> \u0441 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u043c <b>rsr<\/b>:<\/p>\n<pre><code class=\"html\">&lt;div id=&quot;rsr&quot;&gt;&lt;\/div&gt; <\/code><\/pre>\n<p>  <a href=\"http:\/\/koulikov.com\/wp-content\/uploads\/2012\/11\/svg\/index.htm#ipod\">\u0414\u0415\u041c\u041e\u041d\u0421\u0422\u0420\u0410\u0426\u0418\u042f<\/a><\/p>\n<h2>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h2>\n<p>  \u0412\u043e\u0442 \u0438 \u0432\u0441\u0435 \u043e\u0441\u043d\u043e\u0432\u044b SVG, \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u0441\u0442\u0430\u0442\u044c\u044f\u0445 \u0431\u0443\u0434\u0443\u0442 \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u043d\u044b \u0431\u043e\u043b\u0435\u0435 \u0441\u043b\u043e\u0436\u043d\u044b\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0432\u0435\u043a\u0442\u043e\u0440\u043d\u043e\u0439 \u0433\u0440\u0430\u0444\u0438\u043a\u0438. <\/p>\n<p>  \u041d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0433\u043e \u0447\u0442\u0438\u0432\u0430:  <\/p>\n<ul>\n<li><a href=\"http:\/\/www.w3schools.com\/svg\/svg_inhtml.asp\" rel=\"external\">An Introduction to SVG<\/a>\u00a0\u2013 W3 Schools<\/li>\n<li><a href=\"http:\/\/coding.smashingmagazine.com\/2012\/01\/16\/resolution-independence-with-svg\/\" rel=\"external\">Resolution Independent with SVG<\/a>\u00a0\u2013 Smashing Magazine<\/li>\n<li><a href=\"http:\/\/net.tutsplus.com\/tutorials\/why-arent-you-using-svg\/\" rel=\"external\">Why Aren\u2019t You Using SVG?<\/a>\u00a0\u2013 NetTuts<\/li>\n<li><a href=\"http:\/\/www.hongkiat.com\/blog\/scalable-vector-graphic\/\" rel=\"external\">\u041e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432<\/a>\u00a0\u2013 hongkiat.com<\/li>\n<\/ul>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/157087\/\"> http:\/\/habrahabr.ru\/post\/157087\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t\u042d\u0442\u043e\u0442 \u043f\u043e\u0441\u0442\u00a0\u2014 \u043f\u0435\u0440\u0432\u044b\u0439 \u0438\u0437 \u0441\u0435\u0440\u0438\u0438 \u0441\u0442\u0430\u0442\u0435\u0439 \u043e SVG-\u0433\u0440\u0430\u0444\u0438\u043a\u0435 (Scalable Vector Graphic), \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0449\u0438\u0439 \u043e\u0431 \u043e\u0441\u043d\u043e\u0432\u0430\u0445 \u0432\u0435\u043a\u0442\u043e\u0440\u043d\u043e\u0439 \u0433\u0440\u0430\u0444\u0438\u043a\u0438 \u043d\u0430 \u0441\u0430\u0439\u0442\u0435.<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/f17\/067\/d06\/f17067d0606019042fd33aa5c8158043.png\"\/><\/p>\n<p>  \u0412\u0435\u043a\u0442\u043e\u0440\u043d\u0430\u044f \u0433\u0440\u0430\u0444\u0438\u043a\u0430 \u0448\u0438\u0440\u043e\u043a\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0432 \u043f\u043e\u043b\u0438\u0433\u0440\u0430\u0444\u0438\u0438. \u0414\u043b\u044f \u0432\u0435\u0431-\u0441\u0430\u0439\u0442\u043e\u0432 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 SVG, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e <a href=\"http:\/\/www.w3.org\/TR\/SVG\/\">\u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u043d\u0430 w3.org<\/a> \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f <em>\u044f\u0437\u044b\u043a\u043e\u043c \u0434\u043b\u044f \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0434\u0432\u0443\u043c\u0435\u0440\u043d\u043e\u0439 \u0433\u0440\u0430\u0444\u0438\u043a\u0438 \u0432 XML. SVG \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0432 \u0441\u0435\u0431\u044f \u0442\u0440\u0438 \u0442\u0438\u043f\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432: \u0444\u0438\u0433\u0443\u0440\u044b, \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0438 \u0442\u0435\u043a\u0441\u0442.\u00a0<\/em>SVG <a href=\"http:\/\/en.wikipedia.org\/wiki\/Scalable_Vector_Graphics\">\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0441 1999 \u0433\u043e\u0434\u0430<\/a>, \u0430 \u0441 16 \u0430\u0432\u0433\u0443\u0441\u0442\u0430 2011 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0430 \u0432 <a href=\"http:\/\/www.w3.org\/TR\/SVG11\/\">\u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0438 W3C<\/a>. SVG \u0441\u0438\u043b\u044c\u043d\u043e \u043d\u0435\u0434\u043e\u043e\u0446\u0435\u043d\u0435\u043d\u0430 \u0432\u0435\u0431-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c\u0438, \u0445\u043e\u0442\u044f \u0438\u043c\u0435\u0435\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0430\u0436\u043d\u044b\u0445 \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-157087","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/157087","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=157087"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/157087\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=157087"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=157087"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=157087"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}