Create a ghost bitmap for an image
int PhMakeGhostBitmap( PhImage_t *image );
ph
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().
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PgDrawPhImage*(), PgDrawPhImageRect*(), PgDrawRepPhImage*(), PhCreateImage(), PhImage_t
“Images” in the Raw Drawing and Animation chapter of the Photon Programmer's Guide