---
name: "Graphics::Primitive::Driver::Cairo::TextLayout"
section: "3pm"
platform: "linux"
package: "libgraphics-primitive-driver-cairo-perl"
version: "0.47-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Graphics::Primitive::Driver::Cairo::TextLayout"
---

# Graphics::Primitive::Driver::Cairo::TextLayout(3pm)

Text layout engine

## 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.
