Home | History | Annotate | Download | only in views

Lines Matching defs:light

242     SkEmbossMaskFilter::Light    light;
244 light.fDirection[0] = SK_Scalar1/2;
245 light.fDirection[1] = SK_Scalar1/2;
246 light.fDirection[2] = SK_Scalar1/3;
247 light.fAmbient = 0x48;
248 light.fSpecular = 0x80;
252 light.fDirection[0] = -light.fDirection[0];
253 light.fDirection[1] = -light.fDirection[1];
256 light.fDirection[2] += SK_Scalar1/4;
258 paint->setMaskFilter(new SkEmbossMaskFilter(light, radius))->unref();