so.cl

Rascals are always sociable, and the chief sign that a man has any nobility in his character is the little pleasure he takes in others company. Arthur Schopenhauer


As seen on 4ch:

// just call a fucking function to draw text using some low level
// graphics api
font = create_font("Arial", 16);
draw_text(x, y, font, "hello");

Modern programmers:

GraphicsFactory gf = new GraphicsFactory();
Graphics g = gf.CreateGraphics();
FontRegistry fr = new FontRegistry;
fr.DownloadFont("www.google.com/Arial");
fr.SetSize(16);
WebBrowser w = new WebBrowser();
w.SetGraphics(g);
w.CreateHtml("<a font={}">hello</a>, fr.GetFont("Arial"));
w.Render();
// aah, much better.