fg_imagesiz()

Win32 DirectX Fastgraph/Light

Prototype

long fg_imagesiz (int width, int height);

Function fg_imagesiz (ByVal width As Long, ByVal height As Long) As Long

function fg_imagesiz (width, height : integer) : longint;

Description

The fg_imagesiz() function determines the number of bytes required to store a bitmap of the specified dimensions for the active virtual buffer's color depth.

Parameters

width specifies the bitmap width in pixels.

height specifies the bitmap height in pixels.

Return value

The number of bytes required to store a bitmap of the specified size, based on the active virtual buffer's color depth.

Restrictions

none

See also

fg_clipdcb(), fg_clpimage(), fg_drawdcb(), fg_drwimage(), fg_flipdcb(), fg_flpimage(), fg_getdcb(), fg_getimage(), fg_putdcb(), fg_putimage(), fg_revdcb(), fg_revimage()

Examples

AVImake, PCXflip

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.