12 references to Div255
ReachFramework (12)
AlphaFlattener\Utility.cs (12)
1262
pixels[p] =
Div255
(xB * c + pixels[p ] * op);
1263
pixels[p + 1] =
Div255
(xG * c + pixels[p + 1] * op);
1264
pixels[p + 2] =
Div255
(xR * c + pixels[p + 2] * op);
1265
pixels[p + 3] =
Div255
((xA + b) * 255 - xA * b);
1313
pixels[p ] =
Div255
(pixels[p] * op1_b + yBb);
1314
pixels[p + 1] =
Div255
(pixels[p + 1] * op1_b + yGb);
1315
pixels[p + 2] =
Div255
(pixels[p + 2] * op1_b + yRb);
1316
pixels[p + 3] =
Div255
((a + b) * 255 - a * b);
1360
pixelsC[p] =
Div255
(pixelsA[p] * (255 - b) + pixelsB[p] * 255); p++;
1361
pixelsC[p] =
Div255
(pixelsA[p] * (255 - b) + pixelsB[p] * 255); p++;
1362
pixelsC[p] =
Div255
(pixelsA[p] * (255 - b) + pixelsB[p] * 255); p++;
1364
pixelsC[p] =
Div255
((a + b) * 255 - a * b);