Lines Matching full:clip
312 SkRect clip;
313 clip.set(0, 0, SkIntToScalar(160), SkIntToScalar(160));
316 canvas->clipRect(clip);
319 if (clip.fRight < SkIntToScalar(320))
320 clip.offset(SkIntToScalar(160), 0);
321 else if (clip.fBottom < SkIntToScalar(480))
322 clip.offset(-SkIntToScalar(320), SkIntToScalar(160));
394 // !!! draw through a clip
397 SkRect clip = {0, 0, SkIntToScalar(320), SkIntToScalar(120)};
398 canvas->clipRect(clip);