Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/ph/phmakeghostbitmap.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/ph/phmakeghostbitmap.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/ph/phmakeghostbitmap.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/ph/phmakeghostbitmap.html on line 8

PhMakeGhostBitmap()

Create a ghost bitmap for an image

Synopsis:

int PhMakeGhostBitmap( PhImage_t *image );

Library:

ph

Description:

This function takes a PhImage_t pointer and creates a ghost bitmap for the image. The ghost bitmap is stored in the image's data structure.

The image argument must point to a valid PhImage_t structure. It can point to a regular or transparent image.

The ghost image is used when either Pt_GHOST or Pg_GHOST is passed as a flag to PgDrawPhImage() or PgDrawPhImagemx().

Returns:

0
The image was successfully created.
-1
The image wasn't created. The image parameter may have been NULL, or the allocation of the bitmap may have failed.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PgDrawPhImage*(), PgDrawPhImageRect*(), PgDrawRepPhImage*(), PhCreateImage(), PhImage_t

Images in the Raw Drawing and Animation chapter of the Photon Programmer's Guide


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/ph/phmakeghostbitmap.html on line 119

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/ph/phmakeghostbitmap.html on line 119