Pango::LayoutLine(3)

πŸ’– NAME πŸ’–

okay so bestie, this is Pango::LayoutLine(3) β€” a User Contributed Perl Documentation page for the Pango::LayoutLine module, and it is literally a wrapper for PangoLayoutLine. That's the whole name vibe, periodt.

🌸 HIERARCHY 🌸

the family tree is giving main character energy, no cap:

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

✨ METHODS ✨

okay so these are the methods, and I kept every signature exactly because we do not play with code. πŸ’…

πŸ¦‹ get_extents

signature, right here:

(ink_rect, logical_rect) = $line->get_extents

πŸŽ€ get_pixel_extents

and this one too:

(ink_rect, logical_rect) = $line->get_pixel_extents

πŸ’« index_to_x

the signature is:

x_pos = $line->index_to_x ($index_, $trailing)

arguments it takes:

  • $index_ β€” integer (yes, that's the type, bestie).
  • $trailing β€” boolean.

🌈 get_pixel_extents again

not me seeing the same method name again, but with list this time:

list = $line->get_pixel_extents

πŸ“ get_x_ranges

signature:

list = $line->get_x_ranges ($start_index, $end_index)

arguments:

  • $start_index β€” integer.
  • $end_index β€” integer.

🧚 x_to_index

signature:

list = $line->x_to_index ($x_pos)

argument:

  • $x_pos β€” integer.

πŸ‘€ SEE ALSO πŸ‘€

you already know, iykyk:

  • Pango
  • Glib::Boxed

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

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


✿ cute little sign-off: this whole page is Pango::LayoutLine(3), it comes from perl v5.42.0, and the date on it is 2019-09-16. periodt. πŸ’œ

πŸ“¦ where this page comes from