Searched refs:surfaceCanvas (Results 1 – 11 of 11) sorted by relevance
/external/skia/docs/examples/ |
D | Surface_getCanvas.cpp | 9 SkCanvas* surfaceCanvas = surface->getCanvas(); 10 surfaceCanvas->clear(SK_ColorBLUE); 13 surfaceCanvas->drawString("\xF0\x9F\x98\x81", 12, 45, paint);
|
D | Surface_MakeRenderTarget_3.cpp | 16 auto surfaceCanvas = gpuSurface->getCanvas(); in draw() local 17 surfaceCanvas->clear(SK_ColorWHITE); in draw() 18 surfaceCanvas->drawString("GPU rocks!", 20, 40, font, paint); in draw()
|
D | Surface_MakeRenderTarget.cpp | 19 auto surfaceCanvas = gpuSurface->getCanvas(); in draw() local 20 surfaceCanvas->clear(SK_ColorWHITE); in draw() 21 surfaceCanvas->drawString("GPU rocks!", 20, 40, font, paint); in draw()
|
D | Surface_MakeRenderTarget_2.cpp | 7 auto test_draw = [](SkCanvas* surfaceCanvas) -> void { in draw() argument 16 surfaceCanvas->drawRect(SkRect::MakeWH(128, 64), paint); in draw() 18 surfaceCanvas->drawString("Text", 0, 25, font, paint); in draw()
|
D | Surface_MakeFromBackendTexture.cpp | 29 auto surfaceCanvas = gpuSurface->getCanvas(); in draw() local 30 surfaceCanvas->drawString("GPU rocks!", 20, 40, font, paint); in draw()
|
/external/skia/gm/ |
D | resizeimagefilter.cpp | 98 SkCanvas* surfaceCanvas = surface->getCanvas(); in onDraw() local 99 surfaceCanvas->clear(0x000000); in onDraw() 105 surfaceCanvas->drawOval(ovalRect, paint); in onDraw()
|
D | textblobrandomfont.cpp | 131 SkCanvas* surfaceCanvas = surface->getCanvas(); in onDraw() local 147 surfaceCanvas->rotate(-0.05f); in onDraw() 148 surfaceCanvas->drawTextBlob(fBlob, 10, yOffset, paint); in onDraw()
|
/external/skqp/gm/ |
D | resizeimagefilter.cpp | 80 SkCanvas* surfaceCanvas = surface->getCanvas(); in onDraw() local 81 surfaceCanvas->clear(0x000000); in onDraw() 87 surfaceCanvas->drawOval(ovalRect, paint); in onDraw()
|
D | textblobrandomfont.cpp | 120 SkCanvas* surfaceCanvas = surface->getCanvas(); in onDraw() local 139 surfaceCanvas->rotate(-0.05f); in onDraw() 140 surfaceCanvas->drawTextBlob(fBlob, 10, yOffset, paint); in onDraw()
|
/external/skqp/docs/ |
D | SkSurface_Reference.bmh | 252 auto surfaceCanvas = gpuSurface->getCanvas(); 253 surfaceCanvas->drawString("GPU rocks!", 20, 40, paint); 287 auto surfaceCanvas = gpuSurface->getCanvas(); 288 surfaceCanvas->drawString("GPU rocks!", 20, 40, paint); 324 auto surfaceCanvas = gpuSurface->getCanvas(); 325 surfaceCanvas->drawString("GPU rocks!", 20, 40, paint); 359 auto surfaceCanvas = gpuSurface->getCanvas(); 360 surfaceCanvas->clear(SK_ColorWHITE); 361 surfaceCanvas->drawString("GPU rocks!", 20, 40, paint); 388 auto test_draw = [](SkCanvas* surfaceCanvas) -> void { [all …]
|
/external/skqp/site/user/api/ |
D | SkSurface_Reference.md | 580 auto surfaceCanvas = gpuSurface->getCanvas(); 581 surfaceCanvas->drawString("GPU rocks!", 20, 40, paint);
|