Lines Matching full:light
243 SkEmbossMaskFilter::Light light;
245 light.fDirection[0] = SK_Scalar1/2;
246 light.fDirection[1] = SK_Scalar1/2;
247 light.fDirection[2] = SK_Scalar1/3;
248 light.fAmbient = 0x48;
249 light.fSpecular = 0x80;
253 light.fDirection[0] = -light.fDirection[0];
254 light.fDirection[1] = -light.fDirection[1];
257 light.fDirection[2] += SK_Scalar1/4;
260 paint->setMaskFilter(new SkEmbossMaskFilter(sigma, light))->unref();