Function
Gimprgba_set
Declaration [src]
void
gimp_rgba_set (
GimpRGB* rgba,
gdouble red,
gdouble green,
gdouble blue,
gdouble alpha
)
Description [src]
Sets the red, green, blue and alpha components of rgb. The values
should be between 0.0 and 1.0 but there is no check to enforce this
and the values are set exactly as they are passed in.
Parameters
rgba-
Type:
GimpRGBA
GimpRGBstruct.The data is owned by the caller of the function. red-
Type:
gdoubleThe red component.
green-
Type:
gdoubleThe green component.
blue-
Type:
gdoubleThe blue component.
alpha-
Type:
gdoubleThe alpha component.