VKVG  
Vulkan Vector Graphics

◆ vkvg_set_source_rgba()

void vkvg_set_source_rgba ( VkvgContext  ctx,
float  r,
float  g,
float  b,
float  a 
)

Set current source for drawing to the solid color defined by the rgba components with 'a' for transparency.

Parameters
ctxa valid vkvg Context
rthe red component of the color.
gthe green component of the color.
bthe blue component of the color.
athe alpha component holding the transparency for the current color.