Lines Matching refs:metrics

498 static void GetMetrics(TrueTypeFont *ttf, sal_uInt32 glyphID, TTGlyphMetrics *metrics)  in GetMetrics()  argument
502 metrics->aw = metrics->lsb = metrics->ah = metrics->tsb = 0; in GetMetrics()
506 metrics->aw = GetUInt16(table, 4 * glyphID, 1); in GetMetrics()
507 metrics->lsb = GetInt16(table, 4 * glyphID + 2, 1); in GetMetrics()
509 metrics->aw = GetUInt16(table, 4 * (ttf->numberOfHMetrics - 1), 1); in GetMetrics()
510metrics->lsb = GetInt16(table + ttf->numberOfHMetrics * 4, (glyphID - ttf->numberOfHMetrics) * 2, … in GetMetrics()
518 metrics->ah = GetUInt16(table, 4 * glyphID, 1); in GetMetrics()
519 metrics->tsb = GetInt16(table, 4 * glyphID + 2, 1); in GetMetrics()
521 metrics->ah = GetUInt16(table, 4 * (ttf->numOfLongVerMetrics - 1), 1); in GetMetrics()
522metrics->tsb = GetInt16(table + ttf->numOfLongVerMetrics * 4, (glyphID - ttf->numOfLongVerMetrics)… in GetMetrics()
529 …ueTypeFont *ttf, sal_uInt32 glyphID, ControlPoint **pointArray, TTGlyphMetrics *metrics) /*FOLD02*/ in GetSimpleTTOutline() argument
547 …if (metrics) { /*- GetCompoundTTOutline() calls… in GetSimpleTTOutline()
548 metrics->xMin = GetInt16(ptr, 2, 1); in GetSimpleTTOutline()
549 metrics->yMin = GetInt16(ptr, 4, 1); in GetSimpleTTOutline()
550 metrics->xMax = GetInt16(ptr, 6, 1); in GetSimpleTTOutline()
551 metrics->yMax = GetInt16(ptr, 8, 1); in GetSimpleTTOutline()
552 GetMetrics(ttf, glyphID, metrics); in GetSimpleTTOutline()
620 …ont *ttf, sal_uInt32 glyphID, ControlPoint **pointArray, TTGlyphMetrics *metrics, std::vector< sal… in GetCompoundTTOutline() argument
640 if (metrics) { in GetCompoundTTOutline()
641 metrics->xMin = GetInt16(ptr, 2, 1); in GetCompoundTTOutline()
642 metrics->yMin = GetInt16(ptr, 4, 1); in GetCompoundTTOutline()
643 metrics->xMax = GetInt16(ptr, 6, 1); in GetCompoundTTOutline()
644 metrics->yMax = GetInt16(ptr, 8, 1); in GetCompoundTTOutline()
645 GetMetrics(ttf, glyphID, metrics); in GetCompoundTTOutline()
703 if (metrics) GetMetrics(ttf, index, metrics); in GetCompoundTTOutline()
825 …ont *ttf, sal_uInt32 glyphID, ControlPoint **pointArray, TTGlyphMetrics *metrics, std::vector< sal… in GetTTGlyphOutline() argument
832 if (metrics) { in GetTTGlyphOutline()
833 … memset(metrics, 0, sizeof(TTGlyphMetrics)); /*- metrics is initialized to all zeroes */ in GetTTGlyphOutline()
842 if (metrics) GetMetrics(ttf, glyphID, metrics); in GetTTGlyphOutline()
850 res=GetSimpleTTOutline(ttf, glyphID, pointArray, metrics); in GetTTGlyphOutline()
856 …res = GetCompoundTTOutline(ttf, glyphID, pointArray, metrics, glyphlist ? *glyphlist : aPrivList ); in GetTTGlyphOutline()
2000 TTGlyphMetrics metrics; in CreateT3FromTTGlyphs() local
2088 … r = GetTTGlyphOutline(ttf, glyphArray[i] < ttf->nglyphs ? glyphArray[i] : 0, &pa, &metrics, 0); in CreateT3FromTTGlyphs()
2100 wmode == 0 ? XUnits(UPEm, metrics.aw) : 0, in CreateT3FromTTGlyphs()
2101 wmode == 0 ? 0 : -XUnits(UPEm, metrics.ah), in CreateT3FromTTGlyphs()
2102 XUnits(UPEm, metrics.xMin), in CreateT3FromTTGlyphs()
2103 XUnits(UPEm, metrics.yMin), in CreateT3FromTTGlyphs()
2104 XUnits(UPEm, metrics.xMax), in CreateT3FromTTGlyphs()
2105 XUnits(UPEm, metrics.yMax)); in CreateT3FromTTGlyphs()