Graphi...Layout(3pm)
π NAME π
Graphics::Primitive::Driver::Cairo::TextLayout β bestie, it's a text layout engine. That's the whole vibe. It lays out text. Gorgeously. β¨
π VERSION π
version 0.47 β yes, she's got a number, she's official, she's real. π
π¦ SYNOPSIS π¦
okay so here's how you actually use her, no cap:
my $driver = Graphics::Primitive::Driver::Cairo->new(format => 'PDF');
my $comp = Graphics::Primitive::TextBox->new;
my $tl = $driver->get_textbox_layout($comp);
make a driver (this one's spitting out PDF), make a TextBox, and then ask the driver to hand you the layout with get_textbox_layout. that's it. that's the whole ritual. π«Ά
πΈ DESCRIPTION πΈ
She implements Graphics::Primitive::Driver::TextLayout. If you wanna know how to use her, go read that one's docs β this page is just the behind-the-scenes lore. iykyk. π
β¨ IMPLEMENTATION β¨
Under the hood, this text layout engine is running on Text::Flow plus Cairo's "toy text" API to lay the text out. lowkey iconic combo honestly. π₯
π AUTHOR π
Cory G Watson <gphat@cpan.org> β the main character who made this happen. π
π 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. so like. go wild, respectfully. π
and that's the whole page, bestie!! this one shipped with perl v5.34.0 back on 2022-06-14 β she's been serving text layout realness ever since. mwah π π¦π
π¦ where this page comes from
- debian bookworm: libgraphics-primitive-driver-cairo-perl 0.47-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libgraphics-primitive-driver-cairo-perl 0.47-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libgraphics-primitive-driver-cairo-perl 0.47-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libgraphics-primitive-driver-cairo-perl 0.47-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libgraphics-primitive-driver-cairo-perl 0.47-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms