Lines Matching refs:testCanvas
260 SkCanvas testCanvas(100, 100); in test_unbalanced_save_restores() local
261 set_canvas_to_save_count_4(&testCanvas); in test_unbalanced_save_restores()
263 REPORTER_ASSERT(reporter, 4 == testCanvas.getSaveCount()); in test_unbalanced_save_restores()
281 testCanvas.drawPicture(extraSavePicture); in test_unbalanced_save_restores()
282 REPORTER_ASSERT(reporter, 4 == testCanvas.getSaveCount()); in test_unbalanced_save_restores()
285 set_canvas_to_save_count_4(&testCanvas); in test_unbalanced_save_restores()
302 testCanvas.drawPicture(extraRestorePicture); in test_unbalanced_save_restores()
303 REPORTER_ASSERT(reporter, 4 == testCanvas.getSaveCount()); in test_unbalanced_save_restores()
306 set_canvas_to_save_count_4(&testCanvas); in test_unbalanced_save_restores()
314 testCanvas.drawPicture(noSavePicture); in test_unbalanced_save_restores()
315 REPORTER_ASSERT(reporter, 4 == testCanvas.getSaveCount()); in test_unbalanced_save_restores()
316 REPORTER_ASSERT(reporter, testCanvas.getTotalMatrix().isIdentity()); in test_unbalanced_save_restores()
532 ClipCountingCanvas testCanvas(10, 10); in test_clip_expansion() local
533 picture->playback(&testCanvas); in test_clip_expansion()
536 REPORTER_ASSERT(reporter, testCanvas.getClipCount() == 2); in test_clip_expansion()