Lines Matching refs:perspective
288 // Based on the original gradient slide, but with perspective applied to the
319 // apply an increasing y perspective as we move to the right
320 SkMatrix perspective;
321 perspective.setIdentity();
322 perspective.setPerspY(SkIntToScalar(i+1) / 500);
323 perspective.setSkewX(SkIntToScalar(i+1) / 10);
325 paint.setShader(gGradMakers[j](pts, gGradData[i], tm, perspective));
339 // Based on the original gradient slide, but with perspective applied to
354 SkMatrix perspective;
355 perspective.setIdentity();
356 perspective.setPerspY(0.001f);
357 perspective.setSkewX(SkIntToScalar(8) / 25);
358 canvas->concat(perspective);