NAME

X11::Xlib::Pixmap - XID wrapper for Pixmap

DESCRIPTION

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.

ATTRIBUTES

See X11::Xlib::XID for base-class attributes.

width

Width, in pixels

height

Height, in pixels

depth

Color depth, in bits.

METHODS

get_w_h

my ($w, $h)= $pixmap->get_w_h

Reutrn the width and height of the pixmap as a list

AUTHOR

Olivier Thauvin, <nanardon@nanardon.zarb.org>

Michael Conrad, <mike@nrdvana.net>

COPYRIGHT AND LICENSE

Copyright (C) 2009-2010 by Olivier Thauvin

Copyright (C) 2017-2023 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.