The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

SDL2::TTF::Font - A Rectangle with the Origin at the Upper Left in Integers

SYNOPSIS

    use SDL2::TTF qw[:all];
    TTF_Init( );
    # load font.ttf at size 16 into font
    my $font = TTF_OpenFont( 'path/to/your/font.ttf', 16 );

DESCRIPTION

SDL2::TTF::Font is an opaque holder of a loaded font.

This stores the font data in a struct that is exposed only by using the API functions to get information. You should not try to access the struct data directly, since the struct may change in different versions of the API, and thus your program would be unreliable.

LICENSE

Copyright (C) Sanko Robinson.

This library is free software; you can redistribute it and/or modify it under the terms found in the Artistic License 2. Other copyrights, terms, and conditions may apply to data transmitted through this module.

AUTHOR

Sanko Robinson <sanko@cpan.org>