[Previous] [Contents] [Index] [Next]

PhMakeGhostBitmap()

Create a ghost bitmap for an image

Synopsis:

int PhMakeGhostBitmap( PhImage_t *image );

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 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:

PhImage_t


[Previous] [Contents] [Index] [Next]