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

FrameBufferDashState

Syntax
int FrameBufferDashState(struct FrameBufferDash *ptr);
Header
base/rfbuffer.h
Library
rfbuf
Description

The FrameBufferDashState function determines whether a pixel should be plotted for the given dash pattern.

The argument ptr points to the structure containing the dash pattern.

Each time the function is called an internal counter is incremented indicating that one more pixel on the current path has been plotted.

Returns
Returns zero if the pixel should not be plotted or (1) if it should. On error, (-1) is returned.
Errors
On error, (-1) is returned.
Example
None