[][src]Crate svg_fmt

Structs

BeginSvg

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 {w} {y}">

Circle

<circle cx="{x}" cy="{y}" r="{radius}" .../>

Color

rgb({r},{g},{b})

EndSvg

</svg>

Indentation

" "

LineSegment

<path d="M {x1} {y1} L {x2} {y2}" ... />

Polygon

<path d="..." style="..."/>

Rectangle

<rect x="{x}" y="{y}" width="{w}" height="{h}" ... />,

Text

<text x="{x}" y="{y}" ... > {text} </text>

VerticalLayout

Enums

Align

text-align:{self}

Fill

fill:{self}

Stroke

stroke:{self}

Functions

black
blue
green
indent
line_segment
polygon
rectangle
red
rgb
text
triangle
white