Home | History | Annotate | Download | only in views

Lines Matching defs:light

235 	SkEmbossMaskFilter::Light	light;
237 light.fDirection[0] = SK_Scalar1/2;
238 light.fDirection[1] = SK_Scalar1/2;
239 light.fDirection[2] = SK_Scalar1/3;
240 light.fAmbient = 0x48;
241 light.fSpecular = 0x80;
245 light.fDirection[0] = -light.fDirection[0];
246 light.fDirection[1] = -light.fDirection[1];
249 light.fDirection[2] += SK_Scalar1/4;
251 paint->setMaskFilter(new SkEmbossMaskFilter(light, radius))->unref();