Goo::Ca...::Points(3)
π NAME π
Goo::Canvas::Points β bestie, this is the wrapper for GooCanvasPoints, and honestly? she's a little legend. β¨
So like, the whole vibe of this page: it lives in the User Contributed Perl Documentation section of the manual, and it's here to introduce you to Goo::Canvas::Points (that's the page title, that's the manual name, that's the whole thing π
).
π¦ HIERARCHY π¦
Look at her family tree, she's got main character energy:
Glib::Boxed
+----Goo::Canvas::Points
Yep. Goo::Canvas::Points is a child of Glib::Boxed. It's giving "I inherited good genes." π
π METHODS π
β¨ points = Goo::Canvas::Points->new ($points)
$points(arrayref) π
Okay so here's the tea: you call new, you hand her an arrayref, and she creates a GooCanvasPoints from a Perl array. That's it. That's the method.
And what does that array look like, you ask? The $points is an array reference containing data like this:
[x1, y1, x2, y2, ...]
Coordinates, alternating, x then y then x then y, forever and ever until you decide you're done. Lowkey elegant, highkey useful. πΈ
Not me emphasizing this but like β arrayref, okay? Not a list. Not a hash. An arrayref. She said what she said. π
π SEE ALSO π
Glib::Boxedβ her parent, her origin story, the blueprint. Go say hi. π«Ά
π COPYRIGHT π
Copyright (C) 2025 Gtk2-Perl Team
That's it, that's the whole copyright. Respect the team, they built the thing. β¨
okay bestie that's the whole page, mwah π
This was User Contributed Perl Documentation, brought to you by perl v5.42.0, dated 2025-07-25 β yes the date is literally 2025-07-25, iconic, that's the sign-off, go forth and make points, slay, periodt ππ¦
π¦ where this page comes from
- fedora 43: perl-Goo-Canvas 0.06-60.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms