Home
last modified time | relevance | path

Searched refs:runLen (Results 1 – 6 of 6) sorted by relevance

/external/skia/docs/examples/
DCanvas_drawTextBlob.cpp19 for (auto runLen : runs) {
20 font.setSize(1 == runLen ? 20 : 50);
22 textBlobBuilder.allocRun(font, runLen, textPos.fX, textPos.fY);
23 memcpy(run.glyphs, &glyphs[glyphIndex], sizeof(glyphs[0]) * runLen);
24 paint.setTextSize(1 == runLen ? 20 : 50);
25 textPos.fX += paint.measureText(&glyphs[glyphIndex], sizeof(glyphs[0]) * runLen, nullptr);
26 glyphIndex += runLen;
DTextBlob_bounds.cpp19 for (auto runLen : runs) {
20 font.setSize(1 == runLen ? 20 : 50);
21 paint.setTextSize(1 == runLen ? 20 : 50);
23 textBlobBuilder.allocRun(font, runLen, textPos.fX, textPos.fY);
24 memcpy(run.glyphs, &glyphs[glyphIndex], sizeof(glyphs[0]) * runLen);
25 textPos.fX += paint.measureText(&glyphs[glyphIndex], sizeof(glyphs[0]) * runLen, nullptr);
26 glyphIndex += runLen;
DTextBlob_uniqueID.cpp22 for (auto runLen : runs) {
23 font.setSize(1 == runLen ? 20 : 50);
24 paint.setTextSize(1 == runLen ? 20 : 50);
26 textBlobBuilder.allocRun(font, runLen, textPos.fX, textPos.fY);
27 memcpy(run.glyphs, &glyphs[glyphIndex], sizeof(glyphs[0]) * runLen);
28 … textPos.fX += paint.measureText(&glyphs[glyphIndex], sizeof(glyphs[0]) * runLen, nullptr);
29 glyphIndex += runLen;
/external/skqp/docs/
DSkTextBlob_Reference.bmh32 for (auto runLen : runs) {
33 font.setSize(1 == runLen ? 20 : 50);
35 textBlobBuilder.allocRun(font, runLen, textPos.fX, textPos.fY);
36 memcpy(run.glyphs, &glyphs[glyphIndex], sizeof(glyphs[0]) * runLen);
37 textPos.fX += font.measureText(&glyphs[glyphIndex], sizeof(glyphs[0]) * runLen,
39 glyphIndex += runLen;
71 for (auto runLen : runs) {
72 font.setSize(1 == runLen ? 20 : 50);
74 textBlobBuilder.allocRun(font, runLen, textPos.fX, textPos.fY);
75 memcpy(run.glyphs, &glyphs[glyphIndex], sizeof(glyphs[0]) * runLen);
[all …]
DSkCanvas_Reference.bmh3960 for (auto runLen : runs) {
3961 font.setSize(1 == runLen ? 20 : 50);
3963 textBlobBuilder.allocRun(font, runLen, textPos.fX, textPos.fY);
3964 memcpy(run.glyphs, &glyphs[glyphIndex], sizeof(glyphs[0]) * runLen);
3965 font.setSize(1 == runLen ? 20 : 50);
3966 textPos.fX += font.measureText(&glyphs[glyphIndex], sizeof(glyphs[0]) * runLen,
3968 glyphIndex += runLen;
/external/mesa3d/src/mesa/swrast/
Ds_span.c1091 GLuint i, runLen, runStart; in _swrast_put_row() local
1095 runLen = runStart = 0; in _swrast_put_row()
1098 if (runLen == 0) in _swrast_put_row()
1100 runLen++; in _swrast_put_row()
1105 if (runLen > 0) { in _swrast_put_row()
1107 _mesa_pack_ubyte_rgba_row(rb->Format, runLen, in _swrast_put_row()
1113 _mesa_pack_float_rgba_row(rb->Format, runLen, in _swrast_put_row()
1117 runLen = 0; in _swrast_put_row()