X11::Xlib::Pixmap - XID wrapper for Pixmap
Object representing a Pixmap remote X11 resource.
There doesn't seem to be any way to query the attributes of a pixmap, so this object's attributes must be passed to the constructor.
See X11::Xlib::XID for base-class attributes.
Width, in pixels
Height, in pixels
Color depth, in bits.
my ($w, $h)= $pixmap->get_w_h
Reutrn the width and height of the pixmap as a list
Olivier Thauvin, <nanardon@nanardon.zarb.org>
Michael Conrad, <mike@nrdvana.net>
Copyright (C) 2009-2010 by Olivier Thauvin
Copyright (C) 2017 by Michael Conrad
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.
To install X11::Xlib, copy and paste the appropriate command in to your terminal.
cpanm
cpanm X11::Xlib
CPAN shell
perl -MCPAN -e shell install X11::Xlib
For more information on module installation, please visit the detailed CPAN module installation guide.