/external/skia/docs/examples/ |
D | Canvas_drawPicture_2.cpp | 8 SkCanvas* recordingCanvas = recorder.beginRecording(50, 50); in draw() local 12 recordingCanvas->drawRect({10, 10, 30, 40}, paint); in draw() 13 recordingCanvas->translate(10, 10); in draw() 14 recordingCanvas->scale(1.2f, 1.4f); in draw()
|
D | Canvas_drawPicture_4.cpp | 9 SkCanvas* recordingCanvas = recorder.beginRecording(50, 50); in draw() local 12 recordingCanvas->drawRect({10, 10, 30, 40}, paint); in draw() 13 recordingCanvas->translate(10, 10); in draw() 14 recordingCanvas->scale(1.2f, 1.4f); in draw()
|
D | Canvas_drawPicture_3.cpp | 9 SkCanvas* recordingCanvas = recorder.beginRecording(50, 50); in draw() local 12 recordingCanvas->drawRect({10, 10, 30, 40}, paint); in draw() 13 recordingCanvas->translate(10, 10); in draw() 14 recordingCanvas->scale(1.2f, 1.4f); in draw()
|
D | Image_MakeFromPicture.cpp | 9 SkCanvas* recordingCanvas = recorder.beginRecording(50, 50); in draw() local 12 recordingCanvas->drawRect({10, 10, 30, 40}, paint); in draw() 13 recordingCanvas->translate(10, 10); in draw() 14 recordingCanvas->scale(1.2f, 1.4f); in draw()
|
/external/skia/tools/ |
D | DDLTileHelper.cpp | 56 SkCanvas* recordingCanvas = recorder.getCanvas(); in createDDL() local 59 recordingCanvas->clipRect(SkRect::MakeWH(fClip.width(), fClip.height())); in createDDL() 60 recordingCanvas->translate(-fClip.fLeft, -fClip.fTop); in createDDL() 64 recordingCanvas->drawPicture(picture); in createDDL() 74 SkCanvas* recordingCanvas = recorder.getCanvas(); in createComposeDDL() local 83 recordingCanvas->recordingContext()->threadSafeProxy()); in createComposeDDL() 91 recordingCanvas->drawImageRect(promiseImage.get(), SkRect::Make(srcRect), dstRect, in createComposeDDL()
|
/external/skia/tests/ |
D | PictureBBHTest.cpp | 29 virtual void doTest(SkCanvas& playbackCanvas, SkCanvas& recordingCanvas) = 0; 77 void doTest(SkCanvas& playbackCanvas, SkCanvas& recordingCanvas) override { in doTest() argument 81 recordingCanvas.drawRect(SkRect::MakeWH(3, 3), paint); in doTest()
|
D | ImageFilterTest.cpp | 202 SkCanvas* recordingCanvas = recorder.beginRecording(64, 64); in FilterList() local 206 recordingCanvas->drawRect(SkRect::Make(SkIRect::MakeXYWH(10, 10, 30, 20)), greenPaint); in FilterList() 834 SkCanvas* recordingCanvas = recorder.beginRecording(SkIntToScalar(width), in draw_saveLayer_picture() local 837 recordingCanvas->translate(-55, 0); in draw_saveLayer_picture() 838 recordingCanvas->saveLayer(&bounds, &paint); in draw_saveLayer_picture() 839 recordingCanvas->restore(); in draw_saveLayer_picture() 1211 SkCanvas* recordingCanvas = recorder.beginRecording(100, 100, &factory); in DEF_TEST() local 1215 recordingCanvas->saveLayer(nullptr, &paint); in DEF_TEST() 1218 recordingCanvas->save(); in DEF_TEST() 1219 recordingCanvas->scale(SkIntToScalar(10), SkIntToScalar(10)); in DEF_TEST() [all …]
|
D | SerializationTest.cpp | 779 SkCanvas* recordingCanvas = recorder.beginRecording(SkRect::MakeWH(100, 100)); in DEF_TEST() local 784 SkAnnotateRectWithURL(recordingCanvas, r0, d0.get()); in DEF_TEST() 789 SkAnnotateNamedDestination(recordingCanvas, {r1.x(), r1.y()}, d1.get()); in DEF_TEST() 794 SkAnnotateLinkToDestination(recordingCanvas, r2, d2.get()); in DEF_TEST()
|
D | PictureTest.cpp | 361 SkCanvas* recordingCanvas = recorder.beginRecording(100, 100); in test_bad_bitmap() local 362 recordingCanvas->drawImage(nullptr, 0, 0); in test_bad_bitmap()
|
/external/skqp/tests/ |
D | PictureBBHTest.cpp | 30 virtual void doTest(SkCanvas& playbackCanvas, SkCanvas& recordingCanvas) = 0; 78 void doTest(SkCanvas& playbackCanvas, SkCanvas& recordingCanvas) override { in doTest() argument 82 recordingCanvas.drawRect(SkRect::MakeWH(3, 3), paint); in doTest()
|
D | ImageFilterTest.cpp | 238 SkCanvas* recordingCanvas = recorder.beginRecording(64, 64); in FilterList() local 242 recordingCanvas->drawRect(SkRect::Make(SkIRect::MakeXYWH(10, 10, 30, 20)), greenPaint); in FilterList() 792 SkCanvas* recordingCanvas = recorder.beginRecording(SkIntToScalar(width), in draw_saveLayer_picture() local 795 recordingCanvas->translate(-55, 0); in draw_saveLayer_picture() 796 recordingCanvas->saveLayer(&bounds, &paint); in draw_saveLayer_picture() 797 recordingCanvas->restore(); in draw_saveLayer_picture() 1185 SkCanvas* recordingCanvas = recorder.beginRecording(100, 100, &factory, 0); in DEF_TEST() local 1189 recordingCanvas->saveLayer(nullptr, &paint); in DEF_TEST() 1192 recordingCanvas->save(); in DEF_TEST() 1193 recordingCanvas->scale(SkIntToScalar(10), SkIntToScalar(10)); in DEF_TEST() [all …]
|
D | SerializationTest.cpp | 689 SkCanvas* recordingCanvas = recorder.beginRecording(SkRect::MakeWH(100, 100)); in DEF_TEST() local 694 SkAnnotateRectWithURL(recordingCanvas, r0, d0.get()); in DEF_TEST() 699 SkAnnotateNamedDestination(recordingCanvas, {r1.x(), r1.y()}, d1.get()); in DEF_TEST() 704 SkAnnotateLinkToDestination(recordingCanvas, r2, d2.get()); in DEF_TEST()
|
D | PictureTest.cpp | 362 SkCanvas* recordingCanvas = recorder.beginRecording(100, 100); in test_bad_bitmap() local 363 recordingCanvas->drawBitmap(bm, 0, 0); in test_bad_bitmap()
|
/external/skia/bench/ |
D | DDLRecorderBench.cpp | 62 SkCanvas* recordingCanvas = fRecorder->getCanvas(); in onDraw() local 64 recordingCanvas->drawRect(SkRect::MakeWH(32, 32), SkPaint()); in onDraw()
|
/external/skqp/site/user/api/ |
D | skcanvas_creation.md | 156 SkCanvas* recordingCanvas = recorder.beginRecording(SkIntToScalar(width), 158 draw(recordingCanvas);
|
/external/skia/site/docs/user/api/ |
D | skcanvas_creation.md | 159 SkCanvas* recordingCanvas = recorder.beginRecording(SkIntToScalar(width), 161 draw(recordingCanvas);
|
/external/skqp/docs/ |
D | SkCanvas_Reference.bmh | 4032 SkCanvas* recordingCanvas = recorder.beginRecording(50, 50); 4036 recordingCanvas->drawRect({10, 10, 30, 40}, paint); 4037 recordingCanvas->translate(10, 10); 4038 recordingCanvas->scale(1.2f, 1.4f); 4060 SkCanvas* recordingCanvas = recorder.beginRecording(50, 50); 4064 recordingCanvas->drawRect({10, 10, 30, 40}, paint); 4065 recordingCanvas->translate(10, 10); 4066 recordingCanvas->scale(1.2f, 1.4f); 4089 SkCanvas* recordingCanvas = recorder.beginRecording(50, 50); 4092 recordingCanvas->drawRect({10, 10, 30, 40}, paint); [all …]
|
D | SkImage_Reference.bmh | 654 SkCanvas* recordingCanvas = recorder.beginRecording(50, 50); 657 recordingCanvas->drawRect({10, 10, 30, 40}, paint); 658 recordingCanvas->translate(10, 10); 659 recordingCanvas->scale(1.2f, 1.4f);
|