Searched refs:glyphSize (Results 1 – 11 of 11) sorted by relevance
/external/skqp/bench/ |
D | PathTextBench.cpp | 60 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/ |
D | PathTextBench.cpp | 62 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/ |
D | SkScalerCache.cpp | 153 auto[glyph, glyphSize] = this->glyph(glyphID); in prepareImages() 155 delta += glyphSize + imageSize; in prepareImages()
|
D | SkTextBlob.cpp | 44 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/ |
D | SkTextBlob.cpp | 43 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/ |
D | ttinterp.h | 191 FT_UInt glyphSize; /* glyph instructions buffer size */ member
|
D | ttgload.c | 447 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()
|
D | ttinterp.c | 261 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/ |
D | Viewer.cpp | 1041 size_t glyphSize = sizeof(decltype(*it.glyphs())); in filterTextBlob() local 1042 memcpy(runBuffer.glyphs, it.glyphs(), glyphCount * glyphSize); in filterTextBlob()
|
/external/skia/tools/viewer/ |
D | Viewer.cpp | 1315 size_t glyphSize = sizeof(decltype(*it.glyphs())); in filterTextBlob() local 1316 memcpy(runBuffer.glyphs, it.glyphs(), glyphCount * glyphSize); in filterTextBlob()
|
/external/freetype/ |
D | ChangeLog.22 | 2648 (load_truetype_glyph): Never set exec->glyphSize to 0. This closes
|