fg_pagesize() (legacy function)

Win32 DirectX Fastgraph/Light

Prototype

long fg_pagesize (int width, int height);

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

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

Description

The fg_pagesize() legacy function returns the number of bytes needed for a virtual buffer of the specified dimensions, using the current color depth. It is equivalent to the fg_vbsize() function.

Parameters

width specifies the virtual buffer width in pixels.

height specifies the virtual buffer height in pixels.

Return value

The virtual buffer size in bytes.

Restrictions

none

Replaced by

fg_vbsize()

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.