12 references to Div255
ReachFramework (12)
AlphaFlattener\Utility.cs (12)
1273
pixels[p] =
Div255
(xB * c + pixels[p ] * op);
1274
pixels[p + 1] =
Div255
(xG * c + pixels[p + 1] * op);
1275
pixels[p + 2] =
Div255
(xR * c + pixels[p + 2] * op);
1276
pixels[p + 3] =
Div255
((xA + b) * 255 - xA * b);
1324
pixels[p ] =
Div255
(pixels[p] * op1_b + yBb);
1325
pixels[p + 1] =
Div255
(pixels[p + 1] * op1_b + yGb);
1326
pixels[p + 2] =
Div255
(pixels[p + 2] * op1_b + yRb);
1327
pixels[p + 3] =
Div255
((a + b) * 255 - a * b);
1371
pixelsC[p] =
Div255
(pixelsA[p] * (255 - b) + pixelsB[p] * 255); p++;
1372
pixelsC[p] =
Div255
(pixelsA[p] * (255 - b) + pixelsB[p] * 255); p++;
1373
pixelsC[p] =
Div255
(pixelsA[p] * (255 - b) + pixelsB[p] * 255); p++;
1375
pixelsC[p] =
Div255
((a + b) * 255 - a * b);