Scroll to navigation

PLGCOLBGA(3plplot) PLplot API PLGCOLBGA(3plplot)

NAME

plgcolbga - Returns the background color (cmap0[0]) by 8-bit RGB value and PLFLT alpha transparency value

SYNOPSIS

plgcolbga(r, g, b, alpha)

DESCRIPTION

Returns the background color (cmap0[0]) by 8-bit RGB value and PLFLT alpha transparency value.

This function is used in example 31.

ARGUMENTS

r (PLINT_NC_SCALAR(3plplot), output)
Returned value of the red intensity in the range from 0 to 255.
g (PLINT_NC_SCALAR(3plplot), output)
Returned value of the green intensity in the range from 0 to 255.
b (PLINT_NC_SCALAR(3plplot), output)
Returned value of the blue intensity in the range from 0 to 255.
alpha (PLFLT_NC_SCALAR(3plplot), output)
Returned value of the alpha transparency in the range (0.0-1.0).

AUTHORS

Many developers (who are credited at http://plplot.org/credits.php) have contributed to PLplot over its long history.

SEE ALSO

PLplot documentation at http://plplot.org/documentation.php.
July, 2021