Searched refs:surfaceCanvas (Results 1 – 7 of 7) sorted by relevance
/third_party/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()
|
/third_party/skia/gm/ |
D | resizeimagefilter.cpp | 97 SkCanvas* surfaceCanvas = surface->getCanvas(); in onDraw() local 98 surfaceCanvas->clear(0x000000); in onDraw() 104 surfaceCanvas->drawOval(ovalRect, paint); in onDraw()
|
D | textblobrandomfont.cpp | 134 SkCanvas* surfaceCanvas = surface->getCanvas(); in onDraw() local 150 surfaceCanvas->rotate(-0.05f); in onDraw() 151 surfaceCanvas->drawTextBlob(fBlob, 10, yOffset, paint); in onDraw()
|