SL_CreateDisplayBitmap


NAME
SL_CreateDisplayBitmap -- allocates a displayable bitmap with the given dimensions.

SYNOPSIS
dbmh = SL_CreateDisplayBitmap(ah, width, height);
D0 A0 D0 D1

DBMHANDLE SL_CreateDisplayBitmap(APPHANDLE, UWORD, UWORD);

FUNCTION
A displayable bitmap is one that can accept the return value from
SL_AllocPenRGB and show it to the user via SL_DrawDisplayBitmap.

INPUTS
ah - as returned by SL_AppInitA.
width - the desired width of the bitmap to create.
height - the desired height of the bitmap to create.

RESULTS
dbmh - a handle to a displayable bitmap if successful, NULL if it failed.

SEE ALSO
SL_FreeDisplayBitmap, SL_ReadDisplayBitmapPixel, SL_WriteDisplayBitmapPixel, SL_ReadDisplayBitmapRow, SL_WriteDisplayBitmapRow, SL_DrawDisplayBitmap, SL_DrawDisplayBitmapRect.

 

SL_CreateDisplayBitmap  Command Section By Type  url:SL_CreateDisplayBitmap
  created:2008-03-01 23:36:34   last updated:2008-03-01 23:36:34
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For SL_CreateDisplayBitmap
There are no user contributed comments for this page.