Lines Matching refs:rgba
134 * Format an rgba() string
136 static JavaFXOutput::String rgba(guint32 rgba)
138 unsigned int r = SP_RGBA32_R_U(rgba);
139 unsigned int g = SP_RGBA32_G_U(rgba);
140 unsigned int b = SP_RGBA32_B_U(rgba);
141 unsigned int a = SP_RGBA32_A_U(rgba);
151 * Format an rgba() string for a color and a 0.0-1.0 alpha
153 static JavaFXOutput::String rgba(SPColor color, gdouble alpha)
155 return rgba(color.toRGBA32(alpha));
323 out(" color: %s\n", rgba(stop.color, stop.opacity).c_str());
353 out(" color: %s\n", rgba(stop.color, stop.opacity).c_str());
394 rgba(fill.value.color, SP_SCALE24_TO_FLOAT(style->fill_opacity.value)).c_str());
428 rgba(stroke.value.color, SP_SCALE24_TO_FLOAT(style->stroke_opacity.value)).c_str());