braillerender.fsp - Frink Server Pages highlighter

[Try braillerender.fsp]

<%@ contentType="image/svg+xml" pageEncoding="raw" %>
<%
use ../Braille.frink

g = new graphics
rev = (reverse ? -1 : 1)
spacing = (doubleSpace ? 2 : 1)
Braille.drawText[g, text, 0 in, 0 in, 6 in, rev, true, Braille.DOT_DIAMETER, Braille.DOT_SPACING, Braille.INTERCHAR_HORIZONTAL_SPACING, spacing * Braille.INTERLINE_SPACING]
g.writeFormat["-", "svg", 800, 800]
%>

[Try braillerender.fsp]


Alan Eliasen was born 17646 days, 9 hours, 40 minutes ago.

Back to Frink Server Pages documentation.