/usr/share/perl5/Gtk2/Gdk/Image.pod is in libgtk2-perl-doc 2:1.2499-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 | =head1 NAME
Gtk2::Gdk::Image - wrapper for GdkImage
=cut
=for position DESCRIPTION
=head1 DESCRIPTION
A C<Gtk2::Gdk::Image> is a 2-D array of pixel values in client-side
memory. It can optionally use shared memory with the X server for
fast copying to or from a window or pixmap.
If you're thinking of using this then look at C<Gtk2::Gdk::Pixbuf>
first. GdkPixbuf has many more features, in particular file read and
write (PNG, JPEG, etc). But a GdkImage lets you work directly in
pixel values instead of expanding to RGB components.
See L<Gtk2::Gdk::Drawable> for C<draw_image>, C<get_image> and
C<copy_to_image> methods to draw or fetch images to or from a window
or pixmap.
The various C<get> methods are Gtk 2.22 style. For previous versions
they're direct field access.
=cut
=head1 HIERARCHY
Glib::Object
+----Gtk2::Gdk::Image
=cut
=head1 METHODS
=head2 image or undef = Gtk2::Gdk::Image-E<gt>B<new> ($type, $visual, $width, $height)
=over
=item * $type (Gtk2::Gdk::ImageType)
=item * $visual (Gtk2::Gdk::Visual)
=item * $width (integer)
=item * $height (integer)
=back
=head2 integer = $image-E<gt>B<get_bits_per_pixel>
=head2 byteorder = $image-E<gt>B<get_byte_order>
=head2 integer = $image-E<gt>B<get_bytes_per_line>
=head2 integer = $image-E<gt>B<get_bytes_per_pixel>
=head2 colormap = $image-E<gt>B<get_colormap>
=head2 $image-E<gt>B<set_colormap> ($colormap)
=over
=item * $colormap (Gtk2::Gdk::Colormap)
=back
=head2 integer = $image-E<gt>B<get_depth>
=head2 integer = $image-E<gt>B<get_height>
=head2 imagetype = $image-E<gt>B<get_image_type>
=head2 unsigned = $image-E<gt>B<get_pixel> ($x, $y)
=over
=item * $x (integer)
=item * $y (integer)
=back
=head2 string = $image->B<get_pixels>()
Return a copy of the raw pixel data memory from C<$image>. This is
C<bytes_per_line * height> many bytes.
=head2 $image-E<gt>B<put_pixel> ($x, $y, $pixel)
=over
=item * $x (integer)
=item * $y (integer)
=item * $pixel (unsigned)
=back
=head2 visual = $image-E<gt>B<get_visual>
=head2 integer = $image-E<gt>B<get_width>
=cut
=head1 ENUMS AND FLAGS
=head2 enum Gtk2::Gdk::ByteOrder
=over
=item * 'lsb-first' / 'GDK_LSB_FIRST'
=item * 'msb-first' / 'GDK_MSB_FIRST'
=back
=head2 enum Gtk2::Gdk::ImageType
=over
=item * 'normal' / 'GDK_IMAGE_NORMAL'
=item * 'shared' / 'GDK_IMAGE_SHARED'
=item * 'fastest' / 'GDK_IMAGE_FASTEST'
=back
=cut
=head1 SEE ALSO
L<Gtk2>, L<Glib::Object>
=cut
=head1 COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See L<Gtk2> for a full notice.
=cut
|