Home
last modified time | relevance | path

Searched refs:surfCanvas (Results 1 – 9 of 9) sorted by relevance

/external/skqp/gm/
Dlcdblendmodes.cpp67 SkCanvas* surfCanvas = surface->getCanvas(); in onDraw() local
68 this->drawColumn(surfCanvas, SK_ColorBLACK, SK_ColorWHITE, false); in onDraw()
69 surfCanvas->translate(SkIntToScalar(kColWidth), 0); in onDraw()
70 this->drawColumn(surfCanvas, SK_ColorWHITE, SK_ColorBLACK, false); in onDraw()
71 surfCanvas->translate(SkIntToScalar(kColWidth), 0); in onDraw()
72 this->drawColumn(surfCanvas, SK_ColorGREEN, SK_ColorMAGENTA, false); in onDraw()
73 surfCanvas->translate(SkIntToScalar(kColWidth), 0); in onDraw()
74 this->drawColumn(surfCanvas, SK_ColorCYAN, SK_ColorMAGENTA, true); in onDraw()
/external/skia/gm/
Dlcdblendmodes.cpp78 SkCanvas* surfCanvas = surface->getCanvas(); in onDraw() local
79 this->drawColumn(surfCanvas, SK_ColorBLACK, SK_ColorWHITE, false); in onDraw()
80 surfCanvas->translate(SkIntToScalar(kColWidth), 0); in onDraw()
81 this->drawColumn(surfCanvas, SK_ColorWHITE, SK_ColorBLACK, false); in onDraw()
82 surfCanvas->translate(SkIntToScalar(kColWidth), 0); in onDraw()
83 this->drawColumn(surfCanvas, SK_ColorGREEN, SK_ColorMAGENTA, false); in onDraw()
84 surfCanvas->translate(SkIntToScalar(kColWidth), 0); in onDraw()
85 this->drawColumn(surfCanvas, SK_ColorCYAN, SK_ColorMAGENTA, true); in onDraw()
/external/skia/docs/examples/
DSurface_peekPixels.cpp9 auto surfCanvas = surf->getCanvas();
10 surfCanvas->clear(SK_ColorRED);
13 surfCanvas->drawString("&", 16, 48, paint);
DSurface_writePixels.cpp9 auto surfCanvas = surf->getCanvas();
10 surfCanvas->clear(SK_ColorRED);
13 surfCanvas->drawString("&", 16, 40, paint);
DSurface_readPixels_3.cpp8 auto surfCanvas = surf->getCanvas(); in draw() local
9 surfCanvas->clear(SK_ColorGREEN); in draw()
11 surfCanvas->drawOval({2, 10, 58, 54}, paint); in draw()
DSurface_readPixels.cpp9 auto surfCanvas = surf->getCanvas();
10 surfCanvas->clear(SK_ColorRED);
13 surfCanvas->drawString("&", 0, 32, paint);
DSurface_readPixels_2.cpp8 auto surfCanvas = surf->getCanvas(); in draw() local
9 surfCanvas->clear(SK_ColorRED); in draw()
11 surfCanvas->drawOval({4, 8, 58, 54}, paint); in draw()
DSurface_writePixels_2.cpp8 auto surfCanvas = surf->getCanvas(); in draw() local
9 surfCanvas->clear(SK_ColorGREEN); in draw()
/external/skqp/docs/
DSkSurface_Reference.bmh860 auto surfCanvas = surf->getCanvas();
861 surfCanvas->clear(SK_ColorRED);
864 surfCanvas->drawString("&", 16, 48, paint);
916 auto surfCanvas = surf->getCanvas();
917 surfCanvas->clear(SK_ColorRED);
920 surfCanvas->drawString("&", 0, 32, paint);
982 auto surfCanvas = surf->getCanvas();
983 surfCanvas->clear(SK_ColorRED);
985 surfCanvas->drawOval({4, 8, 58, 54}, paint);
1040 auto surfCanvas = surf->getCanvas();
[all …]