4 Managing Bitmaps

4 Q3Bitmap_GetImageSize

You can use the Q3Bitmap_GetImageSize function to determine how much memory is occupied by a bitmap of a particular size.

unsigned long Q3Bitmap_GetImageSize (
unsigned long width, 
unsigned long height);
width The width, in bits, of a bitmap.
height The height of a bitmap.

DESCRIPTION


The Q3Bitmap_GetImageSize function returns, as its function result, the size, in bytes, of the smallest block of memory required to hold a bitmap having a width and height specified by the width and height parameters, respectively.

DESCRIPTION

3D Graphics Programming with QuickDraw 3D - 21 OCT 1995

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker