/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 | 57 SkCanvas* recordingCanvas = recorder.getCanvas(); in createDDL() local 60 recordingCanvas->clipRect(SkRect::MakeWH(fClip.width(), fClip.height())); in createDDL() 61 recordingCanvas->translate(-fClip.fLeft, -fClip.fTop); in createDDL() 65 recordingCanvas->drawPicture(picture); in createDDL() 75 SkCanvas* recordingCanvas = recorder.getCanvas(); in createComposeDDL() local 84 recordingCanvas->recordingContext()->threadSafeProxy()); in createComposeDDL() 92 recordingCanvas->drawImageRect(promiseImage.get(), SkRect::Make(srcRect), dstRect, in createComposeDDL()
|
/external/skia/tests/ |
D | PictureBBHTest.cpp | 32 virtual void doTest(SkCanvas& playbackCanvas, SkCanvas& recordingCanvas) = 0; 80 void doTest(SkCanvas& playbackCanvas, SkCanvas& recordingCanvas) override { in doTest() argument 84 recordingCanvas.drawRect(SkRect::MakeWH(3, 3), paint); in doTest()
|
D | ImageFilterTest.cpp | 241 SkCanvas* recordingCanvas = recorder.beginRecording(64, 64); in FilterList() local 245 recordingCanvas->drawRect(SkRect::Make(SkIRect::MakeXYWH(10, 10, 30, 20)), greenPaint); in FilterList() 887 SkCanvas* recordingCanvas = recorder.beginRecording(SkIntToScalar(width), in draw_saveLayer_picture() local 890 recordingCanvas->translate(-55, 0); in draw_saveLayer_picture() 891 recordingCanvas->saveLayer(&bounds, &paint); in draw_saveLayer_picture() 892 recordingCanvas->restore(); in draw_saveLayer_picture() 1272 SkCanvas* recordingCanvas = recorder.beginRecording(100, 100, &factory); in DEF_TEST() local 1276 recordingCanvas->saveLayer(nullptr, &paint); in DEF_TEST() 1279 recordingCanvas->save(); in DEF_TEST() 1280 recordingCanvas->scale(SkIntToScalar(10), SkIntToScalar(10)); in DEF_TEST() [all …]
|
D | SerializationTest.cpp | 874 SkCanvas* recordingCanvas = recorder.beginRecording(SkRect::MakeWH(100, 100)); in DEF_TEST() local 879 SkAnnotateRectWithURL(recordingCanvas, r0, d0.get()); in DEF_TEST() 884 SkAnnotateNamedDestination(recordingCanvas, {r1.x(), r1.y()}, d1.get()); in DEF_TEST() 889 SkAnnotateLinkToDestination(recordingCanvas, r2, d2.get()); in DEF_TEST()
|
D | PictureTest.cpp | 363 SkCanvas* recordingCanvas = recorder.beginRecording(100, 100); in test_bad_bitmap() local 364 recordingCanvas->drawImage(nullptr, 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/skia/gm/ |
D | graphite_replay.cpp | 111 SkCanvas* recordingCanvas = recorder->makeDeferredCanvas(tileImageInfo, textureInfo); in drawGraphite() local 112 this->drawTile(recordingCanvas); in drawGraphite()
|
/external/skia/site/docs/user/api/ |
D | skcanvas_creation.md | 149 SkCanvas* recordingCanvas = recorder.beginRecording(SkIntToScalar(width), 151 draw(recordingCanvas);
|
/external/skia/src/ports/ |
D | SkFontHost_FreeType.cpp | 1334 SkCanvas* recordingCanvas = recorder.beginRecording(infiniteRect, bboxh); in generateMetrics() local 1335 if (!this->drawSVGGlyph(fFace, *glyph, fLoadGlyphFlags, palette, recordingCanvas)) { in generateMetrics() 1466 SkCanvas* recordingCanvas = recorder.beginRecording(SkRect::Make(glyph.mask().fBounds)); in generateDrawable() local 1469 if (!this->drawCOLRv0Glyph(fFace, glyph, fLoadGlyphFlags, palette, recordingCanvas)) { in generateDrawable() 1477 if (!this->drawCOLRv1Glyph(fFace, glyph, fLoadGlyphFlags, palette, recordingCanvas)) { in generateDrawable() 1488 if (!this->drawSVGGlyph(fFace, glyph, fLoadGlyphFlags, palette, recordingCanvas)) { in generateDrawable()
|
D | SkScalerContext_win_dw.cpp | 681 SkCanvas* recordingCanvas = recorder.beginRecording(infiniteRect, bboxh); in generateSVGMetrics() local 682 if (!this->drawSVGGlyphImage(*glyph, *recordingCanvas)) { in generateSVGMetrics()
|