Home
last modified time | relevance | path

Searched refs:glyphSize (Results 1 – 11 of 11) 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.cpp62 float glyphSize = std::max(bounds.width(), bounds.height()); in onDelayedSetup() local
67 float scale = size / glyphSize; in onDelayedSetup()
69 fXforms[i].setTranslate((1 - t1) * sqrt(2) * scale/2 * glyphSize + in onDelayedSetup()
70 t1 * (kScreenWidth - sqrt(2) * scale/2 * glyphSize), in onDelayedSetup()
71 (1 - t2) * sqrt(2) * scale/2 * glyphSize + in onDelayedSetup()
72 t2 * (kScreenHeight - sqrt(2) * scale/2 * glyphSize)); in onDelayedSetup()
/external/skia/src/core/
DSkScalerCache.cpp153 auto[glyph, glyphSize] = this->glyph(glyphID); in prepareImages()
155 delta += glyphSize + imageSize; in prepareImages()
DSkTextBlob.cpp44 auto glyphSize = safe->mul(glyphCount, sizeof(uint16_t)), in StorageSize() local
49 size = safe->add(size, safe->alignUp(glyphSize, 4)); in StorageSize()
724 const size_t glyphSize = safe.mul(glyphCount, sizeof(uint16_t)), in MakeFromBuffer() local
730 safe.add(safe.add(glyphSize, posSize), safe.add(clusterSize, textSize)); in MakeFromBuffer()
760 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.h191 FT_UInt glyphSize; /* glyph instructions buffer size */ member
Dttgload.c447 tmp = load->exec->glyphSize; in TT_Load_Simple_Glyph()
454 load->exec->glyphSize = (FT_UShort)tmp; in TT_Load_Simple_Glyph()
1402 tmp = loader->exec->glyphSize; in TT_Process_Composite_Glyph()
1409 loader->exec->glyphSize = (FT_UShort)tmp; in TT_Process_Composite_Glyph()
Dttinterp.c261 exec->glyphSize = 0; in TT_Done_Context()
310 exec->glyphSize = 0; in Init_Context()
467 tmp = exec->glyphSize; in TT_Load_Context()
473 exec->glyphSize = (FT_UShort)tmp; in TT_Load_Context()
/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/skia/tools/viewer/
DViewer.cpp1315 size_t glyphSize = sizeof(decltype(*it.glyphs())); in filterTextBlob() local
1316 memcpy(runBuffer.glyphs, it.glyphs(), glyphCount * glyphSize); in filterTextBlob()
/external/freetype/
DChangeLog.222648 (load_truetype_glyph): Never set exec->glyphSize to 0. This closes