Home
last modified time | relevance | path

Searched refs:glyphSize (Results 1 – 10 of 10) sorted by relevance

/external/skqp/bench/
DPathTextBench.cpp60 float glyphSize = SkTMax(bounds.width(), bounds.height()); in onDelayedSetup() local
65 float scale = size / glyphSize; in onDelayedSetup()
67 fXforms[i].setTranslate((1 - t1) * sqrt(2) * scale/2 * glyphSize + in onDelayedSetup()
68 t1 * (kScreenWidth - sqrt(2) * scale/2 * glyphSize), in onDelayedSetup()
69 (1 - t2) * sqrt(2) * scale/2 * glyphSize + in onDelayedSetup()
70 t2 * (kScreenHeight - sqrt(2) * scale/2 * glyphSize)); in onDelayedSetup()
/external/skia/bench/
DPathTextBench.cpp60 float glyphSize = SkTMax(bounds.width(), bounds.height()); in onDelayedSetup() local
65 float scale = size / glyphSize; in onDelayedSetup()
67 fXforms[i].setTranslate((1 - t1) * sqrt(2) * scale/2 * glyphSize + in onDelayedSetup()
68 t1 * (kScreenWidth - sqrt(2) * scale/2 * glyphSize), in onDelayedSetup()
69 (1 - t2) * sqrt(2) * scale/2 * glyphSize + in onDelayedSetup()
70 t2 * (kScreenHeight - sqrt(2) * scale/2 * glyphSize)); in onDelayedSetup()
/external/skia/src/core/
DSkTextBlob.cpp43 auto glyphSize = safe->mul(glyphCount, sizeof(uint16_t)), in StorageSize() local
48 size = safe->add(size, safe->alignUp(glyphSize, 4)); in StorageSize()
769 const size_t glyphSize = safe.mul(glyphCount, sizeof(uint16_t)), in MakeFromBuffer() local
775 safe.add(safe.add(glyphSize, posSize), safe.add(clusterSize, textSize)); in MakeFromBuffer()
805 if (!reader.readByteArray(buf->glyphs, glyphSize) || in MakeFromBuffer()
/external/skqp/src/core/
DSkTextBlob.cpp43 auto glyphSize = safe->mul(glyphCount, sizeof(uint16_t)), in StorageSize() local
48 size = safe->add(size, safe->alignUp(glyphSize, 4)); in StorageSize()
769 const size_t glyphSize = safe.mul(glyphCount, sizeof(uint16_t)), in MakeFromBuffer() local
775 safe.add(safe.add(glyphSize, posSize), safe.add(clusterSize, textSize)); in MakeFromBuffer()
805 if (!reader.readByteArray(buf->glyphs, glyphSize) || in MakeFromBuffer()
/external/freetype/src/truetype/
Dttinterp.h192 FT_UInt glyphSize; /* glyph instructions buffer size */ member
Dttgload.c421 tmp = load->exec->glyphSize; in TT_Load_Simple_Glyph()
428 load->exec->glyphSize = (FT_UShort)tmp; in TT_Load_Simple_Glyph()
1319 tmp = loader->exec->glyphSize; in TT_Process_Composite_Glyph()
1326 loader->exec->glyphSize = (FT_UShort)tmp; in TT_Process_Composite_Glyph()
Dttinterp.c262 exec->glyphSize = 0; in TT_Done_Context()
311 exec->glyphSize = 0; in Init_Context()
468 tmp = exec->glyphSize; in TT_Load_Context()
474 exec->glyphSize = (FT_UShort)tmp; in TT_Load_Context()
/external/skia/tools/viewer/
DViewer.cpp1092 size_t glyphSize = sizeof(decltype(*it.glyphs())); in filterTextBlob() local
1093 memcpy(runBuffer.glyphs, it.glyphs(), glyphCount * glyphSize); in filterTextBlob()
/external/skqp/tools/viewer/
DViewer.cpp1041 size_t glyphSize = sizeof(decltype(*it.glyphs())); in filterTextBlob() local
1042 memcpy(runBuffer.glyphs, it.glyphs(), glyphCount * glyphSize); in filterTextBlob()
/external/freetype/
DChangeLog.222648 (load_truetype_glyph): Never set exec->glyphSize to 0. This closes