Searched refs:textCanvas (Results 1 – 1 of 1) sorted by relevance
/external/skia/samplecode/ |
D | SampleTiling.cpp | 100 SkCanvas* textCanvas = NULL; in onDrawContent() local 102 textCanvas = recorder.beginRecording(1000, 1000, NULL, 0); in onDrawContent() 105 if (textCanvas) { in onDrawContent() 116 textCanvas->drawText(str.c_str(), str.size(), x + r.width()/2, y, p); in onDrawContent() 142 if (textCanvas) { in onDrawContent() 148 textCanvas->drawText(str.c_str(), str.size(), x, y + r.height() * 2 / 3, p); in onDrawContent() 155 if (textCanvas) { in onDrawContent()
|