Lines Matching defs:alpha
158 typedef struct { int x, y, offset, alpha; Fix16VectorRec f; } SphereCoordRec, *SphereCoord;
328 coord->alpha = 256;
333 coord->alpha = 256*(radius - r0);
351 coord->alpha = coord->alpha * scale;
358 coord->alpha = 0;
360 coord->alpha = -256*(r0 - (radius2-1.));
400 color_blend( unsigned from, unsigned to, int alpha )
406 unsigned result_ag = (from_ag + (alpha*(to_ag - from_ag) >> 8)) & 0xff00ff;
407 unsigned result_rb = (from_rb + (alpha*(to_rb - from_rb) >> 8)) & 0xff00ff;
491 if (coord->alpha > 0) {
525 if (coord->alpha < 256) {
526 int a = coord->alpha;
529 else if (coord->alpha > 256) {
530 int a = (coord->alpha - 256);
534 else /* coord->alpha <= 0 */
538 if (coord->alpha < 0) {
539 int a = -coord->alpha;