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

FrameBufferClip

Syntax
int FrameBufferClip(struct FrameBufferClip *ptr,int x,int y);
Header
base/rfbuffer.h
Library
rfbuf
Description

The FrameBufferClip function tests whether a pixel is inside or outside the clipping polygon.

The argument ptr points to the structure containing the clipping polygon and the arguments x and y give the coordinates of the point to test.

Returns
Returns zero if the pixel lies within the clipping polygon or (1) if it does not. On error, (-1) is returned.
Errors
On error, (-1) is returned.
Example
None