Pango::LayoutIter(3)

🌸 NAME 🌸

okay bestie, you're on the Pango::LayoutIter(3) page from User Contributed Perl Documentation β€” that's the manual name, folded in near the top like a queen πŸ‘‘. And Pango::LayoutIter is literally a wrapper for PangoLayoutIter; that's the whole NAME section, periodt. πŸ’…

🧬 HIERARCHY 🧬

the family tree is giving iconic:

         Glib::Boxed
         +----Pango::LayoutIter

πŸ› οΈ METHODS πŸ› οΈ

bestie, here's every method with the exact signature. call them on $iter and keep the types exactly as written β€” no cap, we are not renaming anything πŸ’–

  • boolean = $iter->at_last_line β€” asks the last-line question and hands you a boolean.
  • integer = $iter->get_baseline β€” gives you an integer baseline.
  • array reference = $iter->get_char_extents β€” returns an array reference for char extents β€” yes, an array reference, not a plain list, bestie πŸ™ˆ.
  • list = $iter->get_cluster_extents β€” returns a list of cluster extents.
  • integer = $iter->get_index β€” gives you an integer index.
  • list = $iter->get_layout_extents β€” returns a list of layout extents.
  • layout = $iter->get_layout β€” gives you a layout; Since: pango 1.20 is part of the vibe ✨.
  • list = $iter->get_line_extents β€” returns a list of line extents.
  • layoutline = $iter->get_line β€” gives you a layoutline.
  • layoutline = $iter->get_line_readonly β€” gives you a layoutline; Since: pango 1.16 is right there in the signature 🫢.
  • (y0_, y1_) = $iter->get_line_yrange β€” hands back y0_ and y1_.
  • boolean = $iter->next_char β€” returns a boolean.
  • boolean = $iter->next_cluster β€” returns a boolean.
  • boolean = $iter->next_line β€” returns a boolean.
  • boolean = $iter->next_run β€” returns a boolean.
  • list = $iter->get_run_extents β€” returns a list of run extents.

πŸ‘€ SEE ALSO πŸ‘€

the SEE ALSO crew is Pango and Glib::Boxed β€” go say hi 🫢

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

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


πŸ’Œ cute sign-off: this page is from perl v5.42.0, dated 2019-09-16. mwah 🫢

πŸ“¦ where this page comes from