---
name: "Pango::LayoutLine"
section: "3pm"
platform: "linux"
package: "pango-perl"
version: "1.227-20"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/Pango::LayoutLine"
---

# Pango::LayoutLine(3pm)

wrapper for PangoLayoutLine

## NAME

Pango::LayoutLine - wrapper for PangoLayoutLine

## HIERARCHY

```
  Glib::Boxed
  +----Pango::LayoutLine
```

## METHODS

### (ink\_rect, logical\_rect) = $line-\>get\_extents

### (ink\_rect, logical\_rect) = $line-\>get\_pixel\_extents

### x\_pos = $line-\>index\_to\_x ($index\_, $trailing)

- •

  `$index_` (integer)

- •

  `$trailing` (boolean)

### list = $line-\>get\_pixel\_extents

### list = $line-\>get\_x\_ranges ($start\_index, $end\_index)

- •

  `$start_index` (integer)

- •

  `$end_index` (integer)

### list = $line-\>x\_to\_index ($x\_pos)

- •

  `$x_pos` (integer)

## SEE ALSO

Pango, Glib::Boxed

## COPYRIGHT

Copyright (C) 2003-2011 by the gtk2-perl team.

This software is licensed under the LGPL.  See Pango for a full notice.
