CAD-Drawing-IO-Tk
view release on metacpan or search on metacpan
lib/CAD/Drawing/IO/Tk.pm view on Meta::CPAN
# $dopan && print "panning by @diff\n";
# $dopan && $cnv->panWorld(@diff);
$cnv->panWorld(@diff);
$drag_current = 0;
});
# OKAY, so we've got 4 zoom actions and we don't get text or images
# for free.
# this takes away all of our fun of having sizable texts (hmm. I
# guess we could create this font from anywhere?)
# XXX this is going to have some odd behaviour for now, but it isn't
# worth trying to make a word-processor widget behave like scalable
# text.
$textsize = $text_base;
$cnv->fontCreate(
'cad-drawing-font',
-family => 'lucidasans',
-size => $textsize,
);
( run in 1.074 second using v1.01-cache-2.11-cpan-748bfb374f4 )