1package X11::Xlib::XVisualInfo; 2require X11::Xlib::Struct; 3__END__ 4 5=head1 NAME 6 7X11::Xlib::XVisualInfo - Struct to list details of a Visual* 8 9=head1 SYNOPSIS 10 11 my $conn= X11::Xlib->new(); 12 my @visuals= map { $_->unpack } $conn->XGetVisualInfo(0, my $foo); 13 use DDP; 14 p @visuals; 15 16=head1 DESCRIPTION 17 18The real "Visual" structure in Xlib is hidden from users, but various 19functions give you XVisualInfo to be able to inspect a Visual without 20making lots of method calls. 21 22=head1 ATTRIBUTES 23 24(copied from Xlib docs) 25 26 typedef struct { 27 Visual *visual; 28 VisualID visualid; 29 int screen; 30 unsigned int depth; 31 int class; 32 unsigned long red_mask; 33 unsigned long green_mask; 34 unsigned long blue_mask; 35 int colormap_size; 36 int bits_per_rgb; 37 } XVisualInfo; 38 39=head1 METHODS 40 41See parent class L<X11::Xlib::Struct> 42 43=head1 AUTHOR 44 45Olivier Thauvin, E<lt>nanardon@nanardon.zarb.orgE<gt> 46 47Michael Conrad, E<lt>mike@nrdvana.netE<gt> 48 49=head1 COPYRIGHT AND LICENSE 50 51Copyright (C) 2009-2010 by Olivier Thauvin 52 53Copyright (C) 2017 by Michael Conrad 54 55This library is free software; you can redistribute it and/or modify 56it under the same terms as Perl itself, either Perl version 5.10.0 or, 57at your option, any later version of Perl 5 you may have available. 58 59=cut 60