#FFFFFF
#000000
#868686
X = 3.5 Y = 7.5 A = 1.045 M = 5.3
LISP Postscript PDF (no geral, LaTeX) Flash (Actionscript)
SVG
<CANVAS>
<SVG>
<img src="" /> <svg></svg>
<svg viewBox="0 0 500 500" style='width: 500px; height: 500px; border: 1px solid black;'>
<rect x=0 y=0 width=500 height=500 fill="#FF0000" />
<line x1=10 y1=10 x2=250 y2=300 stroke="#FFFFFF" stroke-width=10 />
</svg>
100 100 translate
/grid {0.5 0.3 0 0 setcmykcolor
gsave
2 setlinewidth 400 0 moveto 0 0 lineto 0 500 lineto stroke
grestore
gsave
0.3 setlinewidth
5 { 30 100 moveto 400 100 lineto stroke 0 100 translate } repeat
grestore
gsave
0.3 setlinewidth
4 { 100 20 moveto 100 500 lineto stroke 100 0 translate } repeat
grestore
gsave
/tekst 3 string def /Helvetica findfont 10 scalefont setfont
100 100 500 { /y exch def 5 y 2 sub moveto y tekst cvs show } for
90 100 400 { /x exch def x 5 moveto x 10 add tekst cvs show } for
grestore
0 setgray } bind def
grid
%Example 17
/triangle {100 0 rlineto -50 50 rlineto -50 -50 rlineto} def
%First triangle
gsave
100 100 translate
0 20 200 {
/x exch def
0 x 180 div 0 setrgbcolor
0 x moveto
triangle
fill
}for
grestore
%Second triangle
gsave
200 100 translate
0 30 300 {
/x exch def
0 0 x 270 div setrgbcolor
0 x moveto
triangle
fill
}for
grestore
showpage
import processing.svg.*;
void setup() {
size(400, 400, SVG, "filename.svg");
}
void draw() {
// Draw something good here
line(0, 0, width/2, height);
// Exit the program
println("Finished.");
exit();
}
<svg viewBox="0 0 500 500" style='width: 500px; height: 500px; border: 1px solid black;'>
<rect x=0 y=0 width=500 height=500>
<line x1=10 y1=10 x2=250 y2=300>
<rect x=0 y=0 width=500 height=500>
<line x1=11 y1=10 x2=251 y2=300>
<rect x=0 y=0 width=500 height=500>
<line x1=12 y1=10 x2=252 y2=300>
<rect x=0 y=0 width=500 height=500>
<line x1=13 y1=10 x2=253 y2=300>
</svg>
for (x=10; x<14; x++) {
background(0);
line(x,0,x+250,300);
}
background(0);
background(0);
background(0);
background(0);
<svg viewBox="0 0 500 500" style='width: 500px; height: 500px; border: 1px solid black;'>
<rect x=0 y=0 width=500 height=500>
<line x1=13 y1=10 x2=253 y2=300>
</svg>
Redundante e desnecessário
Isso é o que realmente acaba visto