Lines Matching refs:ao
172 // guint ao = 255*255 - (255-ap)*(255-bp); ao = (ao + 127) / 255;
173 // guint ao = (255-ap)*ab + 255*ap; ao = (ao + 127) / 255;
174 guint ao = 255; // Cairo version doesn't allow background to have alpha != 1.
179 guint pxout = AssembleARGB32(ao, ro, go, bo);
215 guint32 ao = 0, ro = 0, go = 0, bo = 0;
216 ExtractARGB32(orig, ao, ro, go, bo);
228 double dao = ao;
235 return abs(static_cast<int>(ac) - ao) <= threshold;
237 return abs(static_cast<int>(ac ? unpremul_alpha(rc, ac) : 0) - (ao ? unpremul_alpha(ro, ao) : 0)) <= threshold;
239 return abs(static_cast<int>(ac ? unpremul_alpha(gc, ac) : 0) - (ao ? unpremul_alpha(go, ao) : 0)) <= threshold;
241 return abs(static_cast<int>(ac ? unpremul_alpha(bc, ac) : 0) - (ao ? unpremul_alpha(bo, ao) : 0)) <= threshold;