Lines Matching refs:glyphs
84 /** If true, instructs the font manager to always hint glyphs.
87 @return true if all glyphs are hinted
91 /** Returns true if font engine may return glyphs from font bitmaps instead of from outlines.
93 @return true if glyphs may be font bitmaps
97 /** Returns true if glyphs at different sub-pixel positions may differ on pixel edge coverage.
116 /** Sets whether to always hint glyphs.
117 If forceAutoHinting is set, instructs the font manager to always hint glyphs.
121 @param forceAutoHinting setting to always hint glyphs
131 /** Requests, but does not require, that glyphs respect sub-pixel positioning.
137 /** Requests, but does not require, that glyphs are converted to SkPath
140 @param linearMetrics setting for converting glyphs to paths
265 SkTextEncoding specifies how text represents characters or glyphs.
266 glyphs may be nullptr, to compute the glyph count.
282 If maxGlyphCount is not sufficient to store all the glyphs, no glyphs are copied.
289 @param glyphs storage for glyph indices; may be nullptr
291 @return number of glyphs represented by text of length byteLength
294 SkGlyphID glyphs[], int maxGlyphCount) const;
305 /** Returns number of glyphs represented by text.
315 @return number of glyphs represented by text of length byteLength
330 @return number of glyphs represented by text of length byteLength
348 @return number of glyphs represented by text of length byteLength
354 Retrieves the advance and bounds for each glyph in glyphs.
359 @param glyphs array of glyph indices to be measured
360 @param count number of glyphs
364 void getWidths(const uint16_t glyphs[], int count, SkScalar widths[], SkRect bounds[]) const {
365 this->getWidthsBounds(glyphs, count, widths, bounds, nullptr);
369 void getWidths(const uint16_t glyphs[], int count, SkScalar widths[], std::nullptr_t) const {
370 this->getWidths(glyphs, count, widths);
373 /** Retrieves the advance and bounds for each glyph in glyphs.
378 @param glyphs array of glyph indices to be measured
379 @param count number of glyphs
382 void getWidths(const uint16_t glyphs[], int count, SkScalar widths[]) const {
383 this->getWidthsBounds(glyphs, count, widths, nullptr, nullptr);
386 /** Retrieves the advance and bounds for each glyph in glyphs.
391 @param glyphs array of glyph indices to be measured
392 @param count number of glyphs
397 void getWidthsBounds(const uint16_t glyphs[], int count, SkScalar widths[], SkRect bounds[],
401 /** Retrieves the bounds for each glyph in glyphs.
405 @param glyphs array of glyph indices to be measured
406 @param count number of glyphs
410 void getBounds(const uint16_t glyphs[], int count, SkRect bounds[],
412 glyphs, count, nullptr, bounds, paint);
418 @param glyphs array of glyph indices to be positioned
419 @param count number of glyphs
420 @param pos returns glyphs positions
423 void getPos(const uint16_t glyphs[], int count, SkPoint pos[], SkPoint origin = {0, 0}) const;
428 @param glyphs array of glyph indices to be positioned
429 @param count number of glyphs
430 @param xpos returns glyphs x-positions
433 void getXPos(const uint16_t glyphs[], int count, SkScalar xpos[], SkScalar origin = 0) const;
449 @param count number of glyphs
508 void glyphsToUnichars(const SkGlyphID glyphs[], int count, SkUnichar text[]) const;