Home
last modified time | relevance | path

Searched refs:surfaceCanvas (Results 1 – 11 of 11) sorted by relevance

/external/skia/docs/examples/
DSurface_getCanvas.cpp9 SkCanvas* surfaceCanvas = surface->getCanvas();
10 surfaceCanvas->clear(SK_ColorBLUE);
13 surfaceCanvas->drawString("\xF0\x9F\x98\x81", 12, 45, paint);
DSurface_MakeRenderTarget_3.cpp16 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()
DSurface_MakeRenderTarget.cpp19 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()
DSurface_MakeRenderTarget_2.cpp7 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()
DSurface_MakeFromBackendTexture.cpp29 auto surfaceCanvas = gpuSurface->getCanvas(); in draw() local
30 surfaceCanvas->drawString("GPU rocks!", 20, 40, font, paint); in draw()
/external/skia/gm/
Dresizeimagefilter.cpp98 SkCanvas* surfaceCanvas = surface->getCanvas(); in onDraw() local
99 surfaceCanvas->clear(0x000000); in onDraw()
105 surfaceCanvas->drawOval(ovalRect, paint); in onDraw()
Dtextblobrandomfont.cpp131 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/
Dresizeimagefilter.cpp80 SkCanvas* surfaceCanvas = surface->getCanvas(); in onDraw() local
81 surfaceCanvas->clear(0x000000); in onDraw()
87 surfaceCanvas->drawOval(ovalRect, paint); in onDraw()
Dtextblobrandomfont.cpp120 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/
DSkSurface_Reference.bmh252 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/
DSkSurface_Reference.md580 auto surfaceCanvas = gpuSurface->getCanvas();
581 surfaceCanvas->drawString("GPU rocks!", 20, 40, paint);