Home| base |src.lib|graphic|fbuffer| FrameBufferMake Index

FrameBufferMake

Syntax
struct FrameBuffer *FrameBufferMake(char *name, int wdt,int hgt,int depth);
Header
base/rfbuffer.h
Library
rfbuf
Description

The FrameBufferMake function creates a new frame buffer.

The argument name is a zero terminated string that gives the name to associate with the frame buffer containing the image.

The size of the frame buffer is given by the arguments wdt and hgt. The bit-depth of the image is given by the argument depth.

Returns
Returns a pointer to a frame buffer structure. On error, a NULL pointer is returned.
Errors
n error, a NULL pointer is returned.
Example
None