X11::XCB::Rect(3pm)
π X11::XCB::Rect β the manual page, bestie edition π
okay so, quick vibe check: this is the X11::XCB::Rect page, from the User Contributed Perl Documentation collection. it's giving "tiny module, big main character energy" β¨
β¨ NAME β¨
X11::XCB::Rect β bestie, it literally just represents a rectangle π that's it, that's the whole job, and it does it flawlessly, no cap.
πΈ SYNOPSIS πΈ
you wanna make a rect with your own two hands? bet, here's how:
my $rect = X11::XCB::Rect->new(x => 0, y => 0, width => 300, height => 400);
so slay, you pass x, y, width and height as named args and it hands you back a fresh little rectangle π«Ά iconic behaviour, honestly.
but lowkey? most of the time you don't even need to do all that π because you should be able to coerce a rect from an arrayref, and honestly that's the move:
my $window = $x->root->create_child(
rect => [0, 0, 300, 300],
class => WINDOW_CLASS_INPUT_OUTPUT,
);
see that? you just hand over a plain arrayref β [0, 0, 300, 300] β and it gets coerced into a rect for you π€Έ like, the module is doing the most so you can do the least. obsessed.
π reminder, bestie: the arrayref gives you the four numbers, and coercion turns them into a proper X11::XCB::Rect. no extra steps, no drama, just vibes. β¨
and that's the whole page, fr fr β short, sweet, and exactly what it says on the tin π no extra lore, no hidden flags, no surprises π
this little baddie of a page came to you from perl v5.42.3, dated 2026-08-22, filed under X11::XCB::Rect(3pm). take care of her, she's an icon π π
π¦ where this page comes from
- ubuntu stonking: libx11-xcb-perl 0.25-1build1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms