package Agar::Font; use strict; use Agar; 1; __END__ =head1 NAME Agar::Font - encapsulate Agar's conception of a font =head1 SYNOPSIS use Agar; use Agar::Font; Agar::Font->new("Courier", 12)->setDefault(); =head1 DESCRIPTION This class enables the loading and using of different fonts. =head1 METHODS =over 4 =item B<$font = Agar::Font-Enew($path, $pointsize)> Create a new font object from the given file (TrueType or pixmap) and point size. =item B<$font-EsetDefault()> Cause the font to be used as the default for all text rendering. =back =head1 AUTHOR Mat Sutcliffe EFE Julien Nadeau Carriere EFE =head1 SEE ALSO L, L, L, L, L =cut