annotate nodejs/svgviewer.js @ 927:6d4b8c4051ff

Depend on cairo or pangocairo according enabling of sh_text
author Thinker K.F. Li <thinker@codemud.net>
date Wed, 27 Oct 2010 01:17:37 +0800
parents 58a4e9bb8bb7
children
rev   line source
890
58a4e9bb8bb7 A SVG viewer
Thinker K.F. Li <thinker@codemud.net>
parents:
diff changeset
1 // -*- indent-tabs-mode: t; tab-width: 8; c-basic-offset: 4; -*-
58a4e9bb8bb7 A SVG viewer
Thinker K.F. Li <thinker@codemud.net>
parents:
diff changeset
2 // vim: sw=4:ts=8:sts=4
58a4e9bb8bb7 A SVG viewer
Thinker K.F. Li <thinker@codemud.net>
parents:
diff changeset
3 var svg = require("./svg");
58a4e9bb8bb7 A SVG viewer
Thinker K.F. Li <thinker@codemud.net>
parents:
diff changeset
4 var mbapp = require("./mbapp");
58a4e9bb8bb7 A SVG viewer
Thinker K.F. Li <thinker@codemud.net>
parents:
diff changeset
5
58a4e9bb8bb7 A SVG viewer
Thinker K.F. Li <thinker@codemud.net>
parents:
diff changeset
6 app = new mbapp.app();
58a4e9bb8bb7 A SVG viewer
Thinker K.F. Li <thinker@codemud.net>
parents:
diff changeset
7 app.loadSVG("test.svg");
58a4e9bb8bb7 A SVG viewer
Thinker K.F. Li <thinker@codemud.net>
parents:
diff changeset
8 app.loop();