Scroll to navigation

Graphics::Primitive::Driver::Cairo::TextLayout(3pm) User Contributed Perl Documentation Graphics::Primitive::Driver::Cairo::TextLayout(3pm)

NAME

Graphics::Primitive::Driver::Cairo::TextLayout - Text layout engine

VERSION

version 0.47

SYNOPSIS

    my $driver = Graphics::Primitive::Driver::Cairo->new(format => 'PDF');
    my $comp = Graphics::Primitive::TextBox->new;
    my $tl = $driver->get_textbox_layout($comp);

DESCRIPTION

Implements Graphics::Primitive::Driver::TextLayout. Please refer to it's documentation for usage.

IMPLEMENTATION

This text layout engine uses Text::Flow and Cairo's "toy text" API to layout text.

AUTHOR

Cory G Watson <gphat@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by Cold Hard Code, LLC.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2022-06-14 perl v5.34.0