RETRO (vipl) functions


LIBRARY ROUTINE

lvgcirc - creates an image of a filled circle

LIBRARY CALL

int lvgcirc (
	xvimage **image,
	int rows,
	int cols,
	int type,
	float bgnd,
	float fgnd,
	float x,
	float y,
	float d)

INPUT

OUTPUT

RETURN VALUE

TRUE (1) on success, FALSE (0) on failure

DESCRIPTION

This routine creates an image of a filled circle. The background intensity is set by the -b argument. The foreground or circle intensity is set by the -f argument. The circle can be placed anywhere, and is NOT required to lie completely within the image boundaries.

The position of the center of the circle and its diameter can all be specified as floating point numbers, allowing sub-pixel positioning of the circle.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

lvgcirc will generate only BYTE or FLOAT images.

MODIFICATION

none

FILES

$RETRO/objects/library/vipl/src/lvgcirc.c

SEE ALSO

vipl(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.