Lines Matching refs:recorder
35 SkRecorder recorder(&record, kWidth, kHeight);
36 recorder.drawRect(SkRect::MakeWH(SkIntToScalar(kWidth), SkIntToScalar(kHeight)), SkPaint());
37 recorder.clipRect(SkRect::MakeWH(SkIntToScalar(kWidth), SkIntToScalar(kHeight)));
55 SkRecorder recorder(&record, kWidth, kHeight);
56 recorder.save(); // We won't balance this, but GrRecordReplaceDraw will for us.
86 SkRecorder recorder(&record, kWidth, kHeight);
88 recorder.saveLayer(NULL, paint);
89 recorder.clear(SK_ColorRED);
90 recorder.restore();
91 recorder.drawRect(SkRect::MakeWH(SkIntToScalar(kWidth/2), SkIntToScalar(kHeight/2)),