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

FrameBufferMatrixString

Syntax
struct FrameBufferMatrix *FrameBufferMatrixString(char *str);
Header
base/rfbuffer.h
Library
rfbuf
Description

The FrameBufferMatrixString function creates a transformation matrix from a text string.

The argument str is the zero terminated string of space separated numbers that defines the matrix. The first number gives the top-left value, the second, the top-right value, the third, the bottom-left value, and the fourth gives the bottom right value.

Returns
Returns a pointer to the matrix structure on success. On error, a NULL pointer is returned.
Errors
On error, a NULL pointer is returned.
Example
None