Pango::AttrSize(3)

πŸ’– Pango::AttrSize πŸ’–

okay so bestie, welcome to Pango::AttrSize β€” it's a Perl module, it's a little boxed type, and honestly? it's giving font size realness. ✨


🌸 NAME 🌸

Pango::AttrSize β€” the whole entire point of this page, no cap πŸ’…


πŸ¦‹ HIERARCHY πŸ¦‹

here's the family tree, and yes it's a cute one πŸŽ€

Glib::Boxed
+----Pango::AttrSize

so like, Pango::AttrSize is a child of Glib::Boxed. it inherited the boxed-ness and we love that for it 🫢


✨ METHODS ✨

two methods, both absolute icons, let's get into it πŸ‘‘

πŸŽ€ attribute = Pango::AttrSize->new ($size, ...)

the classic constructor. takes:

  • $size β€” an integer πŸ’œ
  • ... β€” a list (yes, the mysterious little dots, we love a flexible queen) 🌈

πŸŽ€ attribute = Pango::AttrSize->new_absolute ($size, ...)

the absolute variant β€” same shape, same energy:

  • $size β€” an integer πŸ’œ
  • ... β€” a list 🌸
Since: pango 1.8 β€” so this one's been around a minute, fr fr.

🌟 SEE ALSO 🌟

go check these out too, they're in the group chat:

  • 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. (like, the full full notice, don't skip it πŸ™ˆ)


and that's the page!! πŸ¦‹βœ¨ this little writeup comes to you courtesy of perl v5.42.0, dated 2019-09-16 β€” vintage but still slaying πŸ’…πŸ’–

πŸ“¦ where this page comes from