Goo::Canvas::Image(3)
β¨ NAME β¨
Goo::Canvas::Image β bestie, it's just a lil wrapper for GooCanvasImage π (that's the manual page Goo::Canvas::Image(3) from the User Contributed Perl Documentation, if you're keeping track π)
πΈ HIERARCHY πΈ
okay so the family tree goes like this, no cap:
Glib::Object
+----Goo::Canvas::ItemSimple
+----Goo::Canvas::Image
so yeah, she's a grandbaby of Glib::Object, and Goo::Canvas::ItemSimple is her whole parent vibe π
π¦ INTERFACES π¦
Goo::Canvas::Item
she said "I contain multitudes" and honestly? iconic π«Ά
π METHODS π
item = Goo::Canvas::Image->new ($parent, $pixbuf, $x, $y, ...)
the constructor!! the main character entrance β¨ here's what you gotta hand her:
$parent(Goo::Canvas::Item) β who's your parent item, bestie$pixbuf((unknown)) β the pixbuf. it says unknown. that's literally what it says. i'm not gonna lie to you π$x(double) β the x. the coordinate. the horizontal situation.$y(double) β the y. vertical. you get it....(list) β and then whatever else, go off π
π PROPERTIES π
'alpha'(double : default 1 : readable / writable) β the opacity of the image,0.0is fully transparent, and1.0is opaque. translucent queen behavior π§'height'(double : default 0 : readable / writable) β the height of the image'pattern'(Goo::Cairo::Pattern : default undef : readable / writable) β the cairo pattern to paint'pixbuf'(Gtk2::Gdk::Pixbuf : default undef : writable) β theGdkPixbufto display. note that she's writable only, no reading, periodt π«'scale-to-fit'(boolean : default false : readable / writable) β if the image is scaled to fit the width and height settings'width'(double : default 0 : readable / writable) β the width of the image'x'(double : default 0 : readable / writable) β the x coordinate of the image'y'(double : default 0 : readable / writable) β the y coordinate of the image
like yes she's got width and height and x and y, she's a whole coordinate system, we stan a well-positioned girlie π
π SEE ALSO π
go read these too, fr fr, they're the friend group:
Glib::ObjectGoo::Canvas::ItemSimple
π COPYRIGHT π
Copyright (C) 2025 Gtk2-Perl Team
and that's the whole page, bestie π this was perl v5.42.0, dated 2025-07-25, and it's the Goo::Canvas::Image(3) manpage β slay, go forth and render your pixbufs β¨π
π¦ 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