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

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

version 0.47

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

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

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

Cory G Watson <gphat@cpan.org>

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