Home
last modified time | relevance | path

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

/third_party/skia/bench/
H A DPathTextBench.cpp62 float glyphSize = std::max(bounds.width(), bounds.height()); variable
67 float scale = size / glyphSize;
69 fXforms[i].setTranslate((1 - t1) * sqrt(2) * scale/2 * glyphSize +
70 t1 * (kScreenWidth - sqrt(2) * scale/2 * glyphSize),
71 (1 - t2) * sqrt(2) * scale/2 * glyphSize +
72 t2 * (kScreenHeight - sqrt(2) * scale/2 * glyphSize));
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/truetype/
H A DGlyphTable.java237 int glyphSize = b.subDataSizeToSerialize(); in subDataSizeToSerialize()
238 size += Math.abs(glyphSize); in subDataSizeToSerialize()
239 variable |= glyphSize <= 0; in subDataSizeToSerialize()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/bitmap/
H A DEbdtTable.java229 int glyphSize = builder.subDataSizeToSerialize(); in subDataSizeToSerialize()
230 size += Math.abs(glyphSize); in subDataSizeToSerialize()
231 fixed = (glyphSize <= 0) ? false : fixed; in subDataSizeToSerialize()
/third_party/skia/src/core/
H A DSkScalerCache.cpp147 auto[glyph, glyphSize] = this->glyph(glyphID); in prepareImages()
149 delta += glyphSize + imageSize; in prepareImages()
H A 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()
/third_party/skia/experimental/sktext/src/
H A DText.cpp476 auto glyphSize = glyphEnd - glyphStart;
487 SkSpan<SkPoint>(&logicalRun.fPositions[glyphStart], glyphSize + 1),
488 SkSpan<SkGlyphID>(&logicalRun.fGlyphs[glyphStart], glyphSize),
489 SkSpan<uint32_t>((uint32_t*)&logicalRun.fClusters[glyphStart], glyphSize + 1));
/third_party/skia/third_party/externals/freetype/src/truetype/
H A Dttinterp.h198 FT_UInt glyphSize; /* ! glyph instructions buffer size */ member
H A Dttgload.c454 tmp = load->exec->glyphSize; in FT_CALLBACK_DEF()
461 load->exec->glyphSize = (FT_UInt)tmp; in FT_CALLBACK_DEF()
1411 tmp = loader->exec->glyphSize; in TT_Process_Composite_Glyph()
1418 loader->exec->glyphSize = (FT_UShort)tmp; in TT_Process_Composite_Glyph()
H A Dttinterp.c269 exec->glyphSize = 0; in TT_Done_Context()
419 tmp = (FT_ULong)exec->glyphSize; in FT_LOCAL_DEF()
425 exec->glyphSize = (FT_UInt)tmp; in FT_LOCAL_DEF()
/third_party/skia/tools/viewer/
H A DViewer.cpp1335 size_t glyphSize = sizeof(decltype(*it.glyphs())); in filterTextBlob() local
1336 memcpy(runBuffer.glyphs, it.glyphs(), glyphCount * glyphSize); in filterTextBlob()

Completed in 21 milliseconds