Home
last modified time | relevance | path

Searched refs:drawText (Results 1 – 25 of 350) sorted by relevance

12345678910>>...14

/external/skia/gm/
Dlcdtext.cpp36 drawText(canvas, SkString("TEXT: SubpixelTrue LCDRenderTrue"), in onDraw()
38 drawText(canvas, SkString("TEXT: SubpixelTrue LCDRenderFalse"), in onDraw()
40 drawText(canvas, SkString("TEXT: SubpixelFalse LCDRenderTrue"), in onDraw()
42 drawText(canvas, SkString("TEXT: SubpixelFalse LCDRenderFalse"), in onDraw()
46 void drawText(SkCanvas* canvas, const SkString& string, in drawText() function in skiagm::LcdTextGM
56 canvas->drawText(string.c_str(), string.size(), 0, y, paint); in drawText()
Dimage.cpp163 canvas->drawText(kLabel1, strlen(kLabel1), 10, 60, textPaint); in onDraw()
164 canvas->drawText(kLabel2, strlen(kLabel2), 10, 140, textPaint); in onDraw()
165 canvas->drawText(kLabel3, strlen(kLabel3), 10, 220, textPaint); in onDraw()
166 canvas->drawText(kLabel4, strlen(kLabel4), 10, 300, textPaint); in onDraw()
167 canvas->drawText(kLabel5, strlen(kLabel5), 10, 380, textPaint); in onDraw()
168 canvas->drawText(kLabel6, strlen(kLabel6), 10, 460, textPaint); in onDraw()
169 canvas->drawText(kLabel7, strlen(kLabel7), 10, 540, textPaint); in onDraw()
171 canvas->drawText(kLabel8, strlen(kLabel8), 80, 10, textPaint); in onDraw()
172 canvas->drawText(kLabel9, strlen(kLabel9), 160, 10, textPaint); in onDraw()
173 canvas->drawText(kLabel10, strlen(kLabel10), 250, 10, textPaint); in onDraw()
[all …]
Dverttext2.cpp58 drawText(canvas, SkString("Proportional / Top Aligned"), in onDraw()
60 drawText(canvas, SkString("< Proportional / Centered >"), in onDraw()
62 drawText(canvas, SkString("Monospaced / Top Aligned"), in onDraw()
64 drawText(canvas, SkString("< Monospaced / Centered >"), in onDraw()
74 void drawText(SkCanvas* canvas, const SkString& string, in drawText() function in skiagm::VertText2GM
84 canvas->drawText(string.c_str(), string.size(), y, in drawText()
Dgradtext.cpp61 canvas->drawText("I", 1, 0, 100, paint); in onDraw()
80 canvas->drawText("Normal Fill Text", 16, 0, 50, paint); in onDraw()
82 canvas->drawText("Normal Stroke Text", 18, 0, 100, paint); in onDraw()
88 canvas->drawText("Gradient Fill Text", 18, 0, 150, paint); in onDraw()
90 canvas->drawText("Gradient Stroke Text", 20, 0, 200, paint); in onDraw()
117 canvas->drawText(text, len, 0, 0, paint); in draw_text()
Dshadertext2.cpp120 canvas->drawText(kLabelLabel, strlen(kLabelLabel), 0, 0, labelPaint); in onDraw()
127 canvas->drawText(matrices[lm].fLabel, strlen(matrices[lm].fLabel), in onDraw()
145 canvas->drawText(matrices[m].fLabel, strlen(matrices[m].fLabel), in onDraw()
158 canvas->drawText(kText, kTextLen, 0, 0, paint); in onDraw()
159 canvas->drawText(kText, kTextLen, 0, 0, outlinePaint); in onDraw()
193 canvas->drawText(kFillLabel, strlen(kFillLabel), fillX, y, labelPaint); in onDraw()
194 canvas->drawText(kStrokeLabel, strlen(kStrokeLabel), strokeX, y, labelPaint); in onDraw()
Dlinepaths.cpp92 canvas->drawText(title, strlen(title), in onDraw()
134 canvas->drawText(gStyles[style].fName, in onDraw()
138 canvas->drawText(gFills[fill].fName, in onDraw()
142 canvas->drawText(gCaps[cap].fName, in onDraw()
234 canvas->drawText(title, strlen(title), in onDraw()
276 canvas->drawText(gStyles[style].fName, in onDraw()
280 canvas->drawText(gFills[fill].fName, in onDraw()
284 canvas->drawText(gCaps[cap].fName, in onDraw()
Dquadpaths.cpp93 canvas->drawText(title, strlen(title), in onDraw()
135 canvas->drawText(gStyles[style].fName, in onDraw()
139 canvas->drawText(gFills[fill].fName, in onDraw()
143 canvas->drawText(gCaps[cap].fName, in onDraw()
240 canvas->drawText(title, strlen(title), in onDraw()
282 canvas->drawText(gStyles[style].fName, in onDraw()
286 canvas->drawText(gFills[fill].fName, in onDraw()
290 canvas->drawText(gCaps[cap].fName, in onDraw()
Dcubicpaths.cpp137 canvas->drawText(title, strlen(title), in onDraw()
179 canvas->drawText(gStyles[style].fName, in onDraw()
183 canvas->drawText(gFills[fill].fName, in onDraw()
187 canvas->drawText(gCaps[cap].fName, in onDraw()
285 canvas->drawText(title, strlen(title), in onDraw()
327 canvas->drawText(gStyles[style].fName, in onDraw()
331 canvas->drawText(gFills[fill].fName, in onDraw()
335 canvas->drawText(gCaps[cap].fName, in onDraw()
Dblurs.cpp78 canvas->drawText("Hamburgefons Style", 18, x, y, paint); in onDraw()
79 canvas->drawText("Hamburgefons Style", 18, in onDraw()
85 canvas->drawText("Hamburgefons Style", 18, x, y, paint); in onDraw()
/external/chromium_org/third_party/skia/gm/
Dlcdtext.cpp36 drawText(canvas, SkString("TEXT: SubpixelTrue LCDRenderTrue"), in onDraw()
38 drawText(canvas, SkString("TEXT: SubpixelTrue LCDRenderFalse"), in onDraw()
40 drawText(canvas, SkString("TEXT: SubpixelFalse LCDRenderTrue"), in onDraw()
42 drawText(canvas, SkString("TEXT: SubpixelFalse LCDRenderFalse"), in onDraw()
46 void drawText(SkCanvas* canvas, const SkString& string, in drawText() function in skiagm::LcdTextGM
57 canvas->drawText(string.c_str(), string.size(), 0, y, paint); in drawText()
Dimage.cpp158 canvas->drawText(kLabel1, strlen(kLabel1), 10, 60, textPaint); in onDraw()
159 canvas->drawText(kLabel2, strlen(kLabel2), 10, 140, textPaint); in onDraw()
160 canvas->drawText(kLabel3, strlen(kLabel3), 10, 220, textPaint); in onDraw()
161 canvas->drawText(kLabel4, strlen(kLabel4), 10, 300, textPaint); in onDraw()
162 canvas->drawText(kLabel5, strlen(kLabel5), 10, 380, textPaint); in onDraw()
163 canvas->drawText(kLabel6, strlen(kLabel6), 10, 460, textPaint); in onDraw()
164 canvas->drawText(kLabel7, strlen(kLabel7), 10, 540, textPaint); in onDraw()
166 canvas->drawText(kLabel8, strlen(kLabel8), 80, 10, textPaint); in onDraw()
167 canvas->drawText(kLabel9, strlen(kLabel9), 160, 10, textPaint); in onDraw()
168 canvas->drawText(kLabel10, strlen(kLabel10), 250, 10, textPaint); in onDraw()
[all …]
Dverttext2.cpp58 drawText(canvas, SkString("Proportional / Top Aligned"), in onDraw()
60 drawText(canvas, SkString("< Proportional / Centered >"), in onDraw()
62 drawText(canvas, SkString("Monospaced / Top Aligned"), in onDraw()
64 drawText(canvas, SkString("< Monospaced / Centered >"), in onDraw()
74 void drawText(SkCanvas* canvas, const SkString& string, in drawText() function in skiagm::VertText2GM
84 canvas->drawText(string.c_str(), string.size(), y, in drawText()
Dgradtext.cpp62 canvas->drawText("I", 1, 0, 100, paint); in onDraw()
82 canvas->drawText("Normal Fill Text", 16, 0, 50, paint); in onDraw()
84 canvas->drawText("Normal Stroke Text", 18, 0, 100, paint); in onDraw()
90 canvas->drawText("Gradient Fill Text", 18, 0, 150, paint); in onDraw()
92 canvas->drawText("Gradient Stroke Text", 20, 0, 200, paint); in onDraw()
114 canvas->drawText(text, len, 0, 0, paint); in draw_text()
Dlinepaths.cpp93 canvas->drawText(title, strlen(title), in onDraw()
136 canvas->drawText(gStyles[style].fName, in onDraw()
140 canvas->drawText(gFills[fill].fName, in onDraw()
144 canvas->drawText(gCaps[cap].fName, in onDraw()
237 canvas->drawText(title, strlen(title), in onDraw()
280 canvas->drawText(gStyles[style].fName, in onDraw()
284 canvas->drawText(gFills[fill].fName, in onDraw()
288 canvas->drawText(gCaps[cap].fName, in onDraw()
Dshadertext2.cpp123 canvas->drawText(kLabelLabel, strlen(kLabelLabel), 0, 0, labelPaint); in onDraw()
130 canvas->drawText(matrices[lm].fLabel, strlen(matrices[lm].fLabel), in onDraw()
148 canvas->drawText(matrices[m].fLabel, strlen(matrices[m].fLabel), in onDraw()
161 canvas->drawText(kText, kTextLen, 0, 0, paint); in onDraw()
162 canvas->drawText(kText, kTextLen, 0, 0, outlinePaint); in onDraw()
196 canvas->drawText(kFillLabel, strlen(kFillLabel), fillX, y, labelPaint); in onDraw()
197 canvas->drawText(kStrokeLabel, strlen(kStrokeLabel), strokeX, y, labelPaint); in onDraw()
Dquadpaths.cpp94 canvas->drawText(title, strlen(title), in onDraw()
137 canvas->drawText(gStyles[style].fName, in onDraw()
141 canvas->drawText(gFills[fill].fName, in onDraw()
145 canvas->drawText(gCaps[cap].fName, in onDraw()
243 canvas->drawText(title, strlen(title), in onDraw()
286 canvas->drawText(gStyles[style].fName, in onDraw()
290 canvas->drawText(gFills[fill].fName, in onDraw()
294 canvas->drawText(gCaps[cap].fName, in onDraw()
Ddftext.cpp82 canvas->drawText(text, textLen, 0, 0, paint); in onDraw()
96 canvas->drawText(text, textLen, rotX, rotY, paint); in onDraw()
112 canvas->drawText(text, textLen, 0, 0, paint); in onDraw()
157 canvas->drawText(text, textLen, x, y, paint); in onDraw()
171 canvas->drawText(text, textLen, x, y, paint); in onDraw()
Dcubicpaths.cpp138 canvas->drawText(title, strlen(title), in onDraw()
181 canvas->drawText(gStyles[style].fName, in onDraw()
185 canvas->drawText(gFills[fill].fName, in onDraw()
189 canvas->drawText(gCaps[cap].fName, in onDraw()
288 canvas->drawText(title, strlen(title), in onDraw()
331 canvas->drawText(gStyles[style].fName, in onDraw()
335 canvas->drawText(gFills[fill].fName, in onDraw()
339 canvas->drawText(gCaps[cap].fName, in onDraw()
Dblurs.cpp79 canvas->drawText("Hamburgefons Style", 18, x, y, paint); in onDraw()
80 canvas->drawText("Hamburgefons Style", 18, in onDraw()
86 canvas->drawText("Hamburgefons Style", 18, x, y, paint); in onDraw()
/external/skia/experimental/PdfViewer/src/
DSkPdfDiffEncoder.cpp78 canvas.drawText("Rect Clip", strlen("Rect Clip"), in WriteToFile()
83 canvas.drawText("Path Clip", strlen("Path Clip"), in WriteToFile()
87 canvas.drawText("Empty Clip!!!", strlen("Empty Clip!!!"), in WriteToFile()
91 canvas.drawText("Unknown Clip!!!", strlen("Unknown Clip!!!"), in WriteToFile()
99 canvas.drawText(str.c_str(), str.size(), in WriteToFile()
/external/chromium_org/third_party/skia/experimental/PdfViewer/src/
DSkPdfDiffEncoder.cpp78 canvas.drawText("Rect Clip", strlen("Rect Clip"), in WriteToFile()
83 canvas.drawText("Path Clip", strlen("Path Clip"), in WriteToFile()
87 canvas.drawText("Empty Clip!!!", strlen("Empty Clip!!!"), in WriteToFile()
91 canvas.drawText("Unknown Clip!!!", strlen("Unknown Clip!!!"), in WriteToFile()
99 canvas.drawText(str.c_str(), str.size(), in WriteToFile()
/external/skia/samplecode/
DSampleUnpremul.cpp104 canvas->drawText(failure.c_str(), failure.size(), 0, height, paint); in onDrawContent()
112 canvas->drawText(header.c_str(), header.size(), 0, height, paint); in onDrawContent()
117 canvas->drawText(header.c_str(), header.size(), 0, height, paint); in onDrawContent()
121 canvas->drawText(header.c_str(), header.size(), 0, height, paint); in onDrawContent()
133 canvas->drawText(errMsg.c_str(), errMsg.size(), 0, height, paint); in onDrawContent()
DSampleSubpixelTranslate.cpp87 …canvas->drawText( "AA Scaled", strlen("AA Scaled"), fCurPos.fX + SK_ARRAY_COUNT(gLevels) * (fSize … in onDrawContent()
95 …canvas->drawText( "Scaled", strlen("Scaled"), fCurPos.fX + SK_ARRAY_COUNT(gLevels) * (fSize + 10),… in onDrawContent()
103 …canvas->drawText( "AA No Scale", strlen("AA No Scale"), fCurPos.fX + SK_ARRAY_COUNT(gLevels) * (fB… in onDrawContent()
111 …canvas->drawText( "No Scale", strlen("No Scale"), fCurPos.fX + SK_ARRAY_COUNT(gLevels) * (fBM.widt… in onDrawContent()
/external/chromium_org/third_party/WebKit/Source/core/paint/
DListMarkerPainter.cpp180 context->drawText(font, textRunPaintInfo, textOrigin); in paint()
205 context->drawText(font, textRunPaintInfo, textOrigin); in paint()
206 context->drawText(font, suffixRunInfo, textOrigin + IntSize(font.width(textRun), 0)); in paint()
208 context->drawText(font, suffixRunInfo, textOrigin); in paint()
209 … context->drawText(font, textRunPaintInfo, textOrigin + IntSize(font.width(suffixRun), 0)); in paint()
/external/chromium_org/third_party/skia/samplecode/
DSampleSubpixelTranslate.cpp82 …canvas->drawText( "AA Scaled", strlen("AA Scaled"), fCurPos.fX + SK_ARRAY_COUNT(gLevels) * (fSize … in onDrawContent()
90 …canvas->drawText( "Scaled", strlen("Scaled"), fCurPos.fX + SK_ARRAY_COUNT(gLevels) * (fSize + 10),… in onDrawContent()
98 …canvas->drawText( "AA No Scale", strlen("AA No Scale"), fCurPos.fX + SK_ARRAY_COUNT(gLevels) * (fB… in onDrawContent()
106 …canvas->drawText( "No Scale", strlen("No Scale"), fCurPos.fX + SK_ARRAY_COUNT(gLevels) * (fBM.widt… in onDrawContent()

12345678910>>...14