转自:[url]http://nanjiang.beihe.blog.163.com/blog/static/94344410201041114257985/[/url]
<?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-flat-20030114.dtd">
<!-- Created by SVGDeveloper 1.0 -->
<svg width="600" height="600" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!--奇数填充颜色 -->
<path d="M200 200,A100 100,0 1 1 200 201z M350 200,A50 50,0 1 0 350 201z" <!--倒数第四个数1表示大角度画,倒数第三个数0表示逆时针-->
style="fill-rule: evenodd; fill:red; stroke:white"/>
<!--不等于零填充颜色 -->
<path d="M100 100,A50 50,0 1 1 100 101z M175 100,A25 25,0 1 0 175 101z"
style="fill-rule:nonzero; fill:black; stroke:none"/>
</svg>
<?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-flat-20030114.dtd">
<!-- Created by SVGDeveloper 1.0 -->
<svg width="600" height="600" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!--奇数填充颜色 -->
<path d="M200 200,A100 100,0 1 1 200 201z M350 200,A50 50,0 1 0 350 201z" <!--倒数第四个数1表示大角度画,倒数第三个数0表示逆时针-->
style="fill-rule: evenodd; fill:red; stroke:white"/>
<!--不等于零填充颜色 -->
<path d="M100 100,A50 50,0 1 1 100 101z M175 100,A25 25,0 1 0 175 101z"
style="fill-rule:nonzero; fill:black; stroke:none"/>
</svg>