Method

GimpRGBset_alpha

Declaration [src]

void
gimp_rgb_set_alpha (
  GimpRGB* rgb,
  gdouble alpha
)

Description [src]

Sets the alpha component of rgb and leaves the RGB components unchanged.

Parameters

alpha

Type: gdouble

The alpha component.