Lines Matching defs:weight
72 calc_type weight;
80 weight = (line_subpixel_scale - x) *
82 r += weight * ptr->r;
83 g += weight * ptr->g;
84 b += weight * ptr->b;
85 a += weight * ptr->a;
89 weight = x * (line_subpixel_scale - y);
90 r += weight * ptr->r;
91 g += weight * ptr->g;
92 b += weight * ptr->b;
93 a += weight * ptr->a;
97 weight = (line_subpixel_scale - x) * y;
98 r += weight * ptr->r;
99 g += weight * ptr->g;
100 b += weight * ptr->b;
101 a += weight * ptr->a;
105 weight = x * y;
106 r += weight * ptr->r;
107 g += weight * ptr->g;
108 b += weight * ptr->b;
109 a += weight * ptr->a;