Lines Matching refs:glyphs
86 /** If true, instructs the font manager to always hint glyphs.
89 @return true if all glyphs are hinted
93 /** Returns true if font engine may return glyphs from font bitmaps instead of from outlines.
95 @return true if glyphs may be font bitmaps
99 /** Returns true if glyphs may be drawn at sub-pixel offsets.
101 @return true if glyphs may be drawn at sub-pixel offsets.
125 /** Sets whether to always hint glyphs.
126 If forceAutoHinting is set, instructs the font manager to always hint glyphs.
130 @param forceAutoHinting setting to always hint glyphs
140 /** Requests, but does not require, that glyphs respect sub-pixel positioning.
273 SkTextEncoding specifies how text represents characters or glyphs.
274 glyphs may be nullptr, to compute the glyph count.
290 If maxGlyphCount is not sufficient to store all the glyphs, no glyphs are copied.
295 @param glyphs storage for glyph indices; may be nullptr
297 @return number of glyphs represented by text of length byteLength
300 SkGlyphID glyphs[], int maxGlyphCount) const;
311 void unicharsToGlyphs(const SkUnichar uni[], int count, SkGlyphID glyphs[]) const;
313 /** Returns number of glyphs represented by text.
321 @return number of glyphs represented by text of length byteLength
334 @return number of glyphs represented by text of length byteLength
350 @return number of glyphs represented by text of length byteLength
356 Retrieves the advance and bounds for each glyph in glyphs.
361 @param glyphs array of glyph indices to be measured
362 @param count number of glyphs
366 void getWidths(const SkGlyphID glyphs[], int count, SkScalar widths[], SkRect bounds[]) const {
367 this->getWidthsBounds(glyphs, count, widths, bounds, nullptr);
371 void getWidths(const SkGlyphID glyphs[], int count, SkScalar widths[], std::nullptr_t) const {
372 this->getWidths(glyphs, count, widths);
375 /** Retrieves the advance and bounds for each glyph in glyphs.
380 @param glyphs array of glyph indices to be measured
381 @param count number of glyphs
384 void getWidths(const SkGlyphID glyphs[], int count, SkScalar widths[]) const {
385 this->getWidthsBounds(glyphs, count, widths, nullptr, nullptr);
388 /** Retrieves the advance and bounds for each glyph in glyphs.
393 @param glyphs array of glyph indices to be measured
394 @param count number of glyphs
399 void getWidthsBounds(const SkGlyphID glyphs[], int count, SkScalar widths[], SkRect bounds[],
403 /** Retrieves the bounds for each glyph in glyphs.
407 @param glyphs array of glyph indices to be measured
408 @param count number of glyphs
412 void getBounds(const SkGlyphID glyphs[], int count, SkRect bounds[],
414 this->getWidthsBounds(glyphs, count, nullptr, bounds, paint);
420 @param glyphs array of glyph indices to be positioned
421 @param count number of glyphs
422 @param pos returns glyphs positions
425 void getPos(const SkGlyphID glyphs[], int count, SkPoint pos[], SkPoint origin = {0, 0}) const;
430 @param glyphs array of glyph indices to be positioned
431 @param count number of glyphs
432 @param xpos returns glyphs x-positions
435 void getXPos(const SkGlyphID glyphs[], int count, SkScalar xpos[], SkScalar origin = 0) const;
438 * with the glyphs.
440 * @param glyphs the glyphs to intersect
441 * @param count the number of glyphs and positions
447 std::vector<SkScalar> getIntercepts(const SkGlyphID glyphs[], int count, const SkPoint pos[],
465 @param count number of glyphs