The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Win32::GUI::Bitmap - Create bitmap resources

DESCRIPTION

[TBD]

METHODS

Common methods apply to most windows, controls and resources.

new

new(FILENAME, [TYPE, X, Y, FLAGS])

Creates a new Bitmap object reading from FILENAME; all other arguments are optional. TYPE can be:

  0  bitmap (this is the default)
  1  icon
  2  cursor

You can eventually specify your desired size for the image with X and Y and pass some FLAGS to the underlying LoadImage API (at your own risk)

If FILENAME is a string, then it is first tried as a resource name, then a filename. If FILENAME is a number it is tried as a resource identifier.

Resources are searched for in the current exe (perl.exe unless you have packed your application using perl2exe, PAR or similar), then in the Win32::GUI GUI.dll, and finally as an OEM resource identifier

See also the common options.

Create

Create(WIDTH, HEIGHT, PLANES, BPP, DATA)

[TBD]

GetDIBits

GetDIBits()

The GetDIBits function retrieves the bits of the specified bitmap and copies them into a buffer using the specified format.

Info

Info()

returns a four elements array containing the following information about the bitmap: width, height, color planes, bits per pixel or undef on errors

EVENTS

Common events apply to most windows and controls.

VERSION

Documentation for Win32::GUI v1.14 created 01 Jun 2017

This document is autogenerated by the build process. Edits made here will be lost. Edit docs/per_package.tpl instead.

SUPPORT

Homepage: http://perl-win32-gui.sourceforge.net/.

For further support join the users mailing list from the website at http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users. There is a searchable list archive at http://sourceforge.net/p/perl-win32-gui/mailman/perl-win32-gui-users/.

COPYRIGHT and LICENCE

Copyright (c) 1997..2017 Aldo Calpini. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.