You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
395 lines
21 KiB
395 lines
21 KiB
<?xml version="1.0"?> |
|
<!-- Generated by SVGo --> |
|
<svg width="4500" height="3375" |
|
xmlns="http://www.w3.org/2000/svg" |
|
xmlns:xlink="http://www.w3.org/1999/xlink"> |
|
<desc>Object Definitions</desc> |
|
<defs> |
|
<linearGradient id="linear" x1="0%" y1="0%" x2="100%" y2="0%"> |
|
<stop offset="0%" stop-color="white" stop-opacity="1.00"/> |
|
<stop offset="25%" stop-color="lightblue" stop-opacity="1.00"/> |
|
<stop offset="75%" stop-color="blue" stop-opacity="1.00"/> |
|
<stop offset="100%" stop-color="rgb(0,0,127)" stop-opacity="1.00"/> |
|
</linearGradient> |
|
<radialGradient id="radial" cx="0%" cy="0%" r="100%" fx="50%" fy="50%"> |
|
<stop offset="0%" stop-color="white" stop-opacity="1.00"/> |
|
<stop offset="25%" stop-color="lightblue" stop-opacity="1.00"/> |
|
<stop offset="75%" stop-color="blue" stop-opacity="1.00"/> |
|
<stop offset="100%" stop-color="rgb(0,0,127)" stop-opacity="1.00"/> |
|
</radialGradient> |
|
<path d="M 0,0 A62,62 0 0 1 250,0" id="tpath" /> |
|
<g id="square"> |
|
<circle cx="0" cy="0" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="0" y="-24" style="fill:gray; text-anchor:middle">x, y</text> |
|
<rect x="0" y="0" width="125" height="125" style="fill:none; stroke-width:2;stroke:rgb(0,0,127)"/> |
|
<text x="62" y="-24" style="fill:gray; text-anchor:middle">w</text> |
|
<text x="62" y="149" style="fill:black; text-anchor:middle;font-size:24px">Square(x, y, w int, style ...string)</text> |
|
</g> |
|
<g id="rect"> |
|
<circle cx="0" cy="0" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="0" y="-24" style="fill:gray; text-anchor:middle">x, y</text> |
|
<rect x="0" y="0" width="250" height="125" style="fill:none; stroke-width:2;stroke:rgb(0,0,127)"/> |
|
<text x="-24" y="62" style="fill:gray; text-anchor:middle">h</text> |
|
<text x="125" y="-24" style="fill:gray; text-anchor:middle">w</text> |
|
<text x="125" y="149" style="fill:black; text-anchor:middle;font-size:24px">Rect(x, y, w, h int, style ...string)</text> |
|
</g> |
|
<g id="crect"> |
|
<circle cx="125" cy="62" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="125" y="38" style="fill:gray; text-anchor:middle">x, y</text> |
|
<rect x="0" y="0" width="250" height="125" style="fill:none; stroke-width:2;stroke:rgb(0,0,127)"/> |
|
<text x="-24" y="62" style="fill:gray; text-anchor:middle">h</text> |
|
<text x="125" y="-24" style="fill:gray; text-anchor:middle">w</text> |
|
<text x="125" y="149" style="fill:black; text-anchor:middle;font-size:24px">CenterRect(x, y, w, h int, style ...string)</text> |
|
</g> |
|
<g id="roundrect"> |
|
<circle cx="0" cy="0" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="0" y="-24" style="fill:gray; text-anchor:middle">x, y</text> |
|
<rect x="0" y="0" width="250" height="125" rx="25" ry="25" style="fill:none; stroke-width:2;stroke:rgb(0,0,127)"/> |
|
<text x="-24" y="62" style="fill:gray; text-anchor:middle">h</text> |
|
<text x="125" y="-24" style="fill:gray; text-anchor:middle">w</text> |
|
<line x1="25" y1="0" x2="25" y2="25" style="stroke:black; stroke-width:1"/> |
|
<line x1="0" y1="25" x2="25" y2="25" style="stroke:black; stroke-width:1"/> |
|
<text x="49" y="13" style="fill:gray; text-anchor:middle">ry</text> |
|
<text x="12" y="49" style="fill:gray; text-anchor:middle">rx</text> |
|
<text x="125" y="149" style="fill:black; text-anchor:middle;font-size:24px">Roundrect(x, y, w, h, rx, ry int, style ...string)</text> |
|
</g> |
|
<g id="polygon"> |
|
<circle cx="0" cy="0" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="0" y="-24" style="fill:gray; text-anchor:middle">x, y</text> |
|
<circle cx="125" cy="-31" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="125" y="-55" style="fill:gray; text-anchor:middle">x, y</text> |
|
<circle cx="250" cy="0" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="250" y="-24" style="fill:gray; text-anchor:middle">x, y</text> |
|
<circle cx="250" cy="93" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="250" y="69" style="fill:gray; text-anchor:middle">x, y</text> |
|
<circle cx="125" cy="62" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="125" y="38" style="fill:gray; text-anchor:middle">x, y</text> |
|
<circle cx="0" cy="93" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="0" y="69" style="fill:gray; text-anchor:middle">x, y</text> |
|
<polygon points="0,0 125,-31 250,0 250,93 125,62 0,93" style="fill:none; stroke-width:2;stroke:rgb(0,0,127)"/> |
|
<text x="125" y="149" style="fill:black; text-anchor:middle;font-size:24px">Polygon(x, y []int, style ...string)</text> |
|
</g> |
|
<g id="circle"> |
|
<g transform="translate(125,62)"> |
|
<circle cx="0" cy="0" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="0" y="-24" style="fill:gray; text-anchor:middle">x, y</text> |
|
<circle cx="0" cy="0" r="62" style="fill:none; stroke-width:2;stroke:rgb(0,0,127)"/> |
|
<line x1="0" y1="0" x2="62" y2="0" style="stroke:black; stroke-width:1"/> |
|
<text x="31" y="24" style="fill:gray; text-anchor:middle">r</text> |
|
<text x="0" y="86" style="fill:black; text-anchor:middle;font-size:24px">Circle(x, y, r int, style ...string)</text> |
|
</g> |
|
</g> |
|
<g id="ellipse"> |
|
<g transform="translate(125,62)"> |
|
<circle cx="0" cy="0" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="0" y="-24" style="fill:gray; text-anchor:middle">x, y</text> |
|
<ellipse cx="0" cy="0" rx="125" ry="62" style="fill:none; stroke-width:2;stroke:rgb(0,0,127)"/> |
|
<line x1="0" y1="0" x2="125" y2="0" style="stroke:black; stroke-width:1"/> |
|
<line x1="0" y1="0" x2="0" y2="62" style="stroke:black; stroke-width:1"/> |
|
<text x="62" y="24" style="fill:gray; text-anchor:middle">rx</text> |
|
<text x="-24" y="31" style="fill:gray; text-anchor:middle">ry</text> |
|
<text x="0" y="86" style="fill:black; text-anchor:middle;font-size:24px">Ellipse(x, y, rx, ry int, style ...string)</text> |
|
</g> |
|
</g> |
|
<g id="line"> |
|
<circle cx="0" cy="0" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="0" y="-24" style="fill:gray; text-anchor:middle">x1, y1</text> |
|
<circle cx="250" cy="0" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="250" y="-24" style="fill:gray; text-anchor:middle">x2, y2</text> |
|
<line x1="0" y1="0" x2="250" y2="0" style="fill:none; stroke-width:2;stroke:rgb(0,0,127)"/> |
|
<text x="125" y="149" style="fill:black; text-anchor:middle;font-size:24px">Line(x1, y1, x2, y2 int, style ...string)</text> |
|
</g> |
|
<g id="polyline"> |
|
<circle cx="0" cy="0" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="0" y="-24" style="fill:gray; text-anchor:middle">x, y</text> |
|
<circle cx="83" cy="-62" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="83" y="-86" style="fill:gray; text-anchor:middle">x, y</text> |
|
<circle cx="187" cy="-41" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="187" y="-65" style="fill:gray; text-anchor:middle">x, y</text> |
|
<circle cx="250" cy="-125" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="250" y="-149" style="fill:gray; text-anchor:middle">x, y</text> |
|
<polyline points="0,0 83,-62 187,-41 250,-125" style="fill:none; stroke-width:2;stroke:rgb(0,0,127)"/> |
|
<text x="125" y="149" style="fill:black; text-anchor:middle;font-size:24px">Polyline(x, y []int, style ...string)</text> |
|
</g> |
|
<g id="arc"> |
|
<circle cx="0" cy="0" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="0" y="-24" style="fill:gray; text-anchor:middle">sx, sy</text> |
|
<circle cx="250" cy="0" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="250" y="-24" style="fill:gray; text-anchor:middle">ex, ey</text> |
|
<path d="M0,0 A62,62 0 0 1 250,0" style="fill:none; stroke-width:2;stroke:rgb(0,0,127)"/> |
|
<text x="125" y="148" style="fill:black; text-anchor:middle;font-size:24px">Arc(sx, sy, ax, ay, r int, lflag, sflag bool, ex, ey int, style ...string)</text> |
|
</g> |
|
<g id="path"> |
|
<path d="M36,5l12,41l12-41h33v4l-13,21c30,10,2,69-21,28l7-2c15,27,33,-22,3,-19v-4l12-20h-15l-17,59h-1l-13-42l-12,42h-1l-20-67h9l12,41l8-28l-4-13h9" fill="rgb(0,0,127)" /> |
|
<path d="M94,53c15,32,30,14,35,7l-1-7c-16,26-32,3-34,0M122,16c-10-21-34,0-21,30c-5-30 16,-38 23,-21l5-10l-2-9" style="fill-opacity:0.50; fill:rgb(0,0,0)"/> |
|
<circle cx="0" cy="0" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="0" y="-24" style="fill:gray; text-anchor:middle">x, y</text> |
|
<text x="62" y="160" style="fill:black; text-anchor:middle;font-size:24px">Path(s string, style ...string)</text> |
|
</g> |
|
<g id="qbez"> |
|
<circle cx="0" cy="0" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="0" y="-24" style="fill:gray; text-anchor:middle">sx, sy</text> |
|
<circle cx="41" cy="-93" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="41" y="-117" style="fill:gray; text-anchor:middle">cx, cy</text> |
|
<circle cx="250" cy="0" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="250" y="-24" style="fill:gray; text-anchor:middle">ex, ey</text> |
|
<path d="M0,0 Q41,-93 250,0" style="fill:none; stroke-width:2;stroke:rgb(0,0,127)"/> |
|
<text x="125" y="149" style="fill:black; text-anchor:middle;font-size:24px">Qbez(sx, sy, cx, cy, ex, ey int, style ...string)</text> |
|
</g> |
|
<g id="bezier"> |
|
<circle cx="0" cy="0" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="0" y="-24" style="fill:gray; text-anchor:middle">sx, sy</text> |
|
<circle cx="125" cy="-62" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="125" y="-86" style="fill:gray; text-anchor:middle">cx, cy</text> |
|
<circle cx="125" cy="62" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="125" y="38" style="fill:gray; text-anchor:middle">px, py</text> |
|
<circle cx="250" cy="0" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="250" y="-24" style="fill:gray; text-anchor:middle">ex, ey</text> |
|
<path d="M0,0 C125,-62 125,62 250,0" style="fill:none; stroke-width:2;stroke:rgb(0,0,127)"/> |
|
<text x="125" y="149" style="fill:black; text-anchor:middle;font-size:24px">Bezier(sx, sy, cx, cy, px, py, ex, ey int, style ...string)</text> |
|
</g> |
|
<g id="image"> |
|
<circle cx="0" cy="0" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="0" y="-24" style="fill:gray; text-anchor:middle">x, y</text> |
|
<rect x="0" y="0" width="128" height="128" style="fill:none; stroke-width:2;stroke:rgb(0,0,127)"/> |
|
<text x="-24" y="64" style="fill:gray; text-anchor:middle">h</text> |
|
<text x="64" y="-24" style="fill:gray; text-anchor:middle">w</text> |
|
<image x="0" y="0" width="128" height="128" xlink:href="gophercolor128x128.png" /> |
|
<text x="64" y="152" style="fill:black; text-anchor:middle;font-size:24px">Image(x, y, w, h, int path string, style ...string)</text> |
|
</g> |
|
<g id="lgrad"> |
|
<rect x="0" y="0" width="250" height="125" style="fill:url(#linear)"/> |
|
<circle cx="0" cy="0" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="0" y="-24" style="fill:gray; text-anchor:middle">x1%, y1%</text> |
|
<circle cx="250" cy="0" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="250" y="-24" style="fill:gray; text-anchor:middle">x2%, y2%</text> |
|
<text x="125" y="149" style="fill:black; text-anchor:middle;font-size:24px">LinearGradient(s string, x1, y1, x2, y2 uint8, oc []Offcolor)</text> |
|
</g> |
|
<g id="rgrad"> |
|
<rect x="0" y="0" width="250" height="125" style="fill:url(#radial)"/> |
|
<circle cx="0" cy="0" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="0" y="-24" style="fill:gray; text-anchor:middle">cx%, cy%</text> |
|
<circle cx="125" cy="62" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="125" y="38" style="fill:gray; text-anchor:middle">fx%, fy%</text> |
|
<text x="125" y="149" style="fill:black; text-anchor:middle;font-size:24px">RadialGradient(s string, cx, cy, r, fx, fy uint8, oc []Offcolor)</text> |
|
</g> |
|
<g id="trans"> |
|
<circle cx="0" cy="0" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="0" y="-24" style="fill:gray; text-anchor:middle">0, 0</text> |
|
<circle cx="167" cy="0" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="167" y="-24" style="fill:gray; text-anchor:middle">x, y</text> |
|
<text x="125" y="149" style="fill:black; text-anchor:middle;font-size:24px">Translate(x, y int)</text> |
|
<rect x="0" y="0" width="83" height="125" style="fill:none; stroke-width:2;stroke:rgb(0,0,127)"/> |
|
<g transform="translate(167,0)"> |
|
<rect x="0" y="0" width="83" height="125" style="fill-opacity:0.25;fill:rgb(0,0,127)"/> |
|
</g> |
|
</g> |
|
<g id="grid"> |
|
<circle cx="0" cy="0" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="0" y="-24" style="fill:gray; text-anchor:middle">x, y</text> |
|
<text x="-24" y="62" style="fill:gray; text-anchor:middle">h</text> |
|
<text x="125" y="-24" style="fill:gray; text-anchor:middle">w</text> |
|
<text x="55" y="15" style="fill:gray; text-anchor:middle">n</text> |
|
<g style="stroke:rgb(0,0,127)"> |
|
<line x1="0" y1="0" x2="0" y2="125" /> |
|
<line x1="31" y1="0" x2="31" y2="125" /> |
|
<line x1="62" y1="0" x2="62" y2="125" /> |
|
<line x1="93" y1="0" x2="93" y2="125" /> |
|
<line x1="124" y1="0" x2="124" y2="125" /> |
|
<line x1="155" y1="0" x2="155" y2="125" /> |
|
<line x1="186" y1="0" x2="186" y2="125" /> |
|
<line x1="217" y1="0" x2="217" y2="125" /> |
|
<line x1="248" y1="0" x2="248" y2="125" /> |
|
<line x1="0" y1="0" x2="250" y2="0" /> |
|
<line x1="0" y1="31" x2="250" y2="31" /> |
|
<line x1="0" y1="62" x2="250" y2="62" /> |
|
<line x1="0" y1="93" x2="250" y2="93" /> |
|
<line x1="0" y1="124" x2="250" y2="124" /> |
|
</g> |
|
<text x="125" y="149" style="fill:black; text-anchor:middle;font-size:24px">Grid(x, y, w, h, n int, style ...string)</text> |
|
</g> |
|
<g id="text"> |
|
<circle cx="0" cy="62" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="0" y="86" style="fill:gray; text-anchor:middle">x, y</text> |
|
<text x="0" y="62" style="text-anchor:start;font-size:32pt">hello, this is SVG</text> |
|
<text x="125" y="149" style="fill:black; text-anchor:middle;font-size:24px">Text(x, y int, s string, style ...string)</text> |
|
</g> |
|
<g id="scale"> |
|
<circle cx="0" cy="0" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="0" y="-24" style="fill:gray; text-anchor:middle">0, 0</text> |
|
<rect x="0" y="0" width="250" height="125" style="fill:none; stroke-width:2;stroke:rgb(0,0,127)"/> |
|
<g transform="scale(0.5)"> |
|
<rect x="0" y="0" width="250" height="125" style="fill-opacity:0.25;fill:rgb(0,0,127)"/> |
|
</g> |
|
<text x="125" y="149" style="fill:black; text-anchor:middle;font-size:24px">Scale(n float64)</text> |
|
</g> |
|
<g id="scalexy"> |
|
<circle cx="0" cy="0" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="0" y="-24" style="fill:gray; text-anchor:middle">0, 0</text> |
|
<rect x="0" y="0" width="250" height="125" style="fill:none; stroke-width:2;stroke:rgb(0,0,127)"/> |
|
<g transform="scale(0.5,0.75)"> |
|
<rect x="0" y="0" width="250" height="125" style="fill-opacity:0.25;fill:rgb(0,0,127)"/> |
|
</g> |
|
<text x="125" y="149" style="fill:black; text-anchor:middle;font-size:24px">ScaleXY(x, y float64)</text> |
|
</g> |
|
<g id="skewx"> |
|
<circle cx="0" cy="0" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="0" y="-24" style="fill:gray; text-anchor:middle">0, 0</text> |
|
<rect x="0" y="0" width="250" height="125" style="fill:none; stroke-width:2;stroke:rgb(0,0,127)"/> |
|
<g transform="skewX(30)"> |
|
<rect x="0" y="0" width="250" height="125" style="fill-opacity:0.25;fill:rgb(0,0,127)"/> |
|
</g> |
|
<text x="125" y="149" style="fill:black; text-anchor:middle;font-size:24px">SkewX(a float64)</text> |
|
</g> |
|
<g id="skewy"> |
|
<circle cx="0" cy="0" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="0" y="-24" style="fill:gray; text-anchor:middle">0, 0</text> |
|
<rect x="0" y="0" width="250" height="125" style="fill:none; stroke-width:2;stroke:rgb(0,0,127)"/> |
|
<g transform="skewY(10)"> |
|
<rect x="0" y="0" width="250" height="125" style="fill-opacity:0.25;fill:rgb(0,0,127)"/> |
|
</g> |
|
<text x="125" y="149" style="fill:black; text-anchor:middle;font-size:24px">SkewY(a float64)</text> |
|
</g> |
|
<g id="skewxy"> |
|
<circle cx="0" cy="0" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="0" y="-24" style="fill:gray; text-anchor:middle">0, 0</text> |
|
<rect x="0" y="0" width="250" height="125" style="fill:none; stroke-width:2;stroke:rgb(0,0,127)"/> |
|
<g transform="skewX(10) skewY(10)"> |
|
<rect x="0" y="0" width="250" height="125" style="fill-opacity:0.25;fill:rgb(0,0,127)"/> |
|
</g> |
|
<text x="125" y="149" style="fill:black; text-anchor:middle;font-size:24px">SkewXY(x, y float64)</text> |
|
</g> |
|
<g id="rotate"> |
|
<circle cx="0" cy="0" r="4" style="fill:rgb(220,220,220)"/> |
|
<text x="0" y="-24" style="fill:gray; text-anchor:middle">0, 0</text> |
|
<text x="125" y="149" style="fill:black; text-anchor:middle;font-size:24px">Rotate(r float64)</text> |
|
<rect x="0" y="0" width="250" height="125" style="fill:none; stroke-width:2;stroke:rgb(0,0,127)"/> |
|
<path d="M125,0 Q135,31 108,62" style="fill:none;stroke:gray"/> |
|
<text x="62" y="24" style="fill:gray; text-anchor:middle">r</text> |
|
<g transform="rotate(30)"> |
|
<rect x="0" y="0" width="250" height="125" style="fill-opacity:0.25;fill:rgb(0,0,127)"/> |
|
</g> |
|
</g> |
|
<g id="textpath"> |
|
<text fill="rgb(0,0,127)" text-anchor="start" font-size="16pt" ><textPath xlink:href="#tpath">It's "fine" & "dandy" to draw text along a path</textPath></text> |
|
<text x="125" y="149" style="fill:black; text-anchor:middle;font-size:24px">Textpath(s, pathid string, style ...string)</text> |
|
</g> |
|
<g id="meta"> |
|
<g style="font-size:24px;fill:black;text-anchor:start"> |
|
<text x="0" y="24" >New(w io Writer)</text> |
|
<text x="0" y="52" >Start(w, h int, options ...string)/End()</text> |
|
<text x="0" y="80" >Startview(w, h, minx, miny, vw, vh int)</text> |
|
<text x="0" y="108" >Group(s ...string)/Gend()</text> |
|
<text x="0" y="136" >Gstyle(s string)/Gend()</text> |
|
<text x="0" y="164" >Gtransform(s string)/Gend()</text> |
|
<text x="0" y="192" >Gid(id string)/Gend()</text> |
|
<text x="0" y="220" >ClipPath(s ...string)/ClipEnd()</text> |
|
<text x="0" y="248" >Def()/DefEnd()</text> |
|
<text x="0" y="276" >Marker()/MarkerEnd()</text> |
|
<text x="0" y="304" >Pattern()/PatternEnd()</text> |
|
<text x="0" y="332" >Desc(s string)</text> |
|
<text x="0" y="360" >Title(s string)</text> |
|
<text x="0" y="388" >Script(type, data ...string)</text> |
|
<text x="0" y="416" >Mask(id string, x,y,w,h int, style ...string)/MaskEnd()</text> |
|
<text x="0" y="444" >Link(href string, title string)/LinkEnd()</text> |
|
<text x="0" y="472" >Use(x int, y int, link string, style ...string)</text> |
|
</g> |
|
<g style="font-size:24px;fill:rgb(127,127,127);text-anchor:start"> |
|
<text x="650" y="24" >specify destination</text> |
|
<text x="650" y="52" >begin/end the document</text> |
|
<text x="650" y="80" >begin/end the document with viewport</text> |
|
<text x="650" y="108" >begin/end group with attributes</text> |
|
<text x="650" y="136" >begin/end group style</text> |
|
<text x="650" y="164" >begin/end group transform</text> |
|
<text x="650" y="192" >begin/end group id</text> |
|
<text x="650" y="220" >begin/end clip path</text> |
|
<text x="650" y="248" >begin/end a defintion block</text> |
|
<text x="650" y="276" >begin/end markers</text> |
|
<text x="650" y="304" >begin/end pattern</text> |
|
<text x="650" y="332" >set the description element</text> |
|
<text x="650" y="360" >set the title element</text> |
|
<text x="650" y="388" >define a script</text> |
|
<text x="650" y="416" >begin/end mask element</text> |
|
<text x="650" y="444" >begin/end link to href, with a title</text> |
|
<text x="650" y="472" >use defined objects</text> |
|
</g> |
|
<text x="500" y="534" style="fill:black; text-anchor:middle;font-size:24px">Textlines(x, y int, s []string, size, spacing int, fill, align string)</text> |
|
</g> |
|
<g id="rgb"> |
|
<g style="fill:gray; text-anchor:middle"> |
|
<circle cx="62" cy="0" r="15" style="fill:rgb(44,0,0)"/> |
|
<circle cx="125" cy="0" r="15" style="fill:rgb(0,77,0)"/> |
|
<circle cx="187" cy="0" r="15" style="fill:rgb(0,0,232)"/> |
|
<circle cx="250" cy="0" r="15" style="fill:rgb(44,77,232)"/> |
|
<text x="62" y="62" >r</text> |
|
<text x="125" y="62" >g</text> |
|
<text x="187" y="62" >b</text> |
|
<text x="219" y="8" >-></text> |
|
</g> |
|
<text x="125" y="149" style="fill:black; text-anchor:middle;font-size:24px">RGB(r, g, b int)</text> |
|
</g> |
|
<g id="rgba"> |
|
<g style="fill:gray; text-anchor:middle"> |
|
<circle cx="62" cy="0" r="15" style="fill:rgb(44,0,0)"/> |
|
<circle cx="125" cy="0" r="15" style="fill:rgb(0,77,0)"/> |
|
<circle cx="187" cy="0" r="15" style="fill:rgb(0,0,232)"/> |
|
<circle cx="250" cy="0" r="15" style="fill-opacity:0.33; fill:rgb(44,77,232)"/> |
|
<circle cx="260" cy="0" r="15" style="fill-opacity:0.33; fill:rgb(44,77,232)"/> |
|
<text x="250" y="62" >alpha</text> |
|
<text x="62" y="62" >r</text> |
|
<text x="125" y="62" >g</text> |
|
<text x="187" y="62" >b</text> |
|
<text x="219" y="8" >-></text> |
|
</g> |
|
<text x="125" y="149" style="fill:black; text-anchor:middle;font-size:24px">RGBA(r, g, b int, opacity float64)</text> |
|
</g> |
|
</defs> |
|
<title>SVG Go Library Description</title> |
|
<rect x="0" y="0" width="4500" height="3375" style="fill:white;stroke:black;stroke-width:2"/> |
|
<g style="font-family:Calibri,sans; text-anchor:middle; font-size:24px"> |
|
<a xlink:href="http://github.com/ajstarks/svgo" xlink:title="SVGo Library"> |
|
<text x="2250" y="150" style="font-size:125px">SVG Go Library</text> |
|
<text x="2250" y="200" style="font-size:50px;fill:gray">github.com/ajstarks/svgo</text> |
|
</a> |
|
<desc>Object Usage</desc> |
|
<g transform="translate(400,400)"> |
|
<use x="0" y="0" xlink:href="#rect" /> |
|
<use x="700" y="0" xlink:href="#crect" /> |
|
<use x="1400" y="0" xlink:href="#roundrect" /> |
|
<use x="2100" y="0" xlink:href="#square" /> |
|
<use x="2800" y="0" xlink:href="#line" /> |
|
<use x="3500" y="0" xlink:href="#polyline" /> |
|
</g> |
|
<g transform="translate(400,1000)"> |
|
<use x="0" y="0" xlink:href="#polygon" /> |
|
<use x="700" y="0" xlink:href="#circle" /> |
|
<use x="1400" y="0" xlink:href="#ellipse" /> |
|
<use x="2100" y="0" xlink:href="#arc" /> |
|
<use x="2800" y="0" xlink:href="#qbez" /> |
|
<use x="3500" y="0" xlink:href="#bezier" /> |
|
</g> |
|
<g transform="translate(400,1600)"> |
|
<use x="0" y="0" xlink:href="#trans" /> |
|
<use x="700" y="0" xlink:href="#scale" /> |
|
<use x="1400" y="0" xlink:href="#scalexy" /> |
|
<use x="2100" y="0" xlink:href="#skewx" /> |
|
<use x="2800" y="0" xlink:href="#skewy" /> |
|
<use x="3500" y="0" xlink:href="#skewxy" /> |
|
</g> |
|
<g transform="translate(400,2200)"> |
|
<use x="0" y="0" xlink:href="#rotate" /> |
|
<use x="700" y="0" xlink:href="#text" /> |
|
<use x="1400" y="0" xlink:href="#textpath" /> |
|
<use x="2100" y="0" xlink:href="#path" /> |
|
<use x="2800" y="0" xlink:href="#image" /> |
|
<use x="3500" y="0" xlink:href="#grid" /> |
|
</g> |
|
<g transform="translate(400,2800)"> |
|
<use x="0" y="0" xlink:href="#lgrad" /> |
|
<use x="700" y="0" xlink:href="#rgrad" /> |
|
<use x="1400" y="0" xlink:href="#rgb" /> |
|
<use x="2100" y="0" xlink:href="#rgba" /> |
|
<use x="2800" y="0" xlink:href="#meta" /> |
|
</g> |
|
</g> |
|
</svg>
|
|
|