• Home
  • Raw
  • Download

Lines Matching refs:href

6 class <a href='SkFont_Reference#SkFont'>SkFont</a> {
7 // <i><a href='SkFont_Reference#SkFont'>SkFont</a> interface</i>
17 <a href='#Font_Size'>Font_Size</a> adjusts the overall <a href='undocumented#Text'>text</a> <a href
18 <a href='#Font_Size'>Font_Size</a> can be set to any positive value or zero.
19 <a href='#Font_Size'>Font_Size</a> defaults to 12.
20 <a href='#Font_Size'>Font_Size</a>
24 <a href='#Font_Scale_X'>Font_Scale_X</a> adjusts the <a href='undocumented#Text'>text</a> horizonta…
25 <a href='undocumented#Text'>Text</a> scaling approximates condensed and expanded type faces when th…
27 <a href='#Font_Scale_X'>Font_Scale_X</a> can be set to any value.
28 <a href='#Font_Scale_X'>Font_Scale_X</a> defaults to 1.
32 <a href='#Font_Skew_X'>Font_Skew_X</a> adjusts the <a href='undocumented#Text'>text</a> horizontal …
33 <a href='undocumented#Text'>Text</a> skewing approximates italic and oblique type faces when the ac…
35 <a href='#Font_Skew_X'>Font_Skew_X</a> can be set to any value.
36 <a href='#Font_Skew_X'>Font_Skew_X</a> defaults to 0.
40href='#Font_Embolden'>Font_Embolden</a> approximates the bold <a href='SkFont_Reference#Font'>font…
41 is not available. Skia does not provide <a href='SkFont_Reference#Font'>font</a> substitution; it i…
42 bold <a href='SkFont_Reference#Font'>font</a> face using the platform <a href='#Font_Manager'>Font_…
44 Use <a href='#Font_Skew_X'>Font_Skew_X</a> to approximate an italic <a href='SkFont_Reference#Font'…
48 the <a href='SkFont_Reference#Font_Engine'>font engine</a> to create the bold <a href='undocumente…
49 by increasing the stroke width and setting the <a href='SkPaint_Reference#SkPaint'>SkPaint</a>::<a
50 <a href='SkPaint_Reference#SkPaint'>SkPaint</a>::<a href='#SkPaint_kStrokeAndFill_Style'>kStrokeAnd…
52 <a href='#Font_Embolden'>Font_Embolden</a> is disabled by default.
56 If Hinting is set to <a href='undocumented#SkFontHinting'>SkFontHinting</a>::<a href='#SkFontHintin…
57 spacing by the difference of the hinted and unhinted <a href='#Left_Side_Bearing'>Left_Side_Bearing…
58 <a href='#Right_Side_Bearing'>Right_Side_Bearing</a>. <a href='#Font_Hinting_Spacing'>Hinting_Spaci…
59 FreeType as their <a href='#Font_Engine'>Font_Engine</a>.
61 <a href='#Font_Hinting_Spacing'>Hinting_Spacing</a> is not related to <a href='undocumented#Text'>t…
62 a specific pair of characters is adjusted using <a href='undocumented#Data'>data</a> in the <a href
66href='#Font_Linear'>Font_Linear</a> selects whether <a href='undocumented#Text'>text</a> is render…
67href='#Font_Linear'>Font_Linear</a> is set, it has the same effect as setting Hinting to <a href='…
68 …<a href='#Font_Linear'>Font_Linear</a> is clear, it is the same as setting Hinting to <a href='und…
72 <a href='#Font_Subpixel'>Font_Subpixel</a> uses the <a href='undocumented#Pixel'>pixel</a> transpar…
73 As the opaqueness of the <a href='SkColor_Reference#Color'>color</a> increases, the edge of the <a
74 towards the outside of the <a href='undocumented#Pixel'>pixel</a>.
78href='#Paint_Anti_Alias'>Anti_Alias</a> positions <a href='undocumented#Glyph'>glyphs</a> within a…
80 that create a <a href='SkColor_Reference#Color'>color</a>, and relies on the small <a href='undocum…
81 to make the <a href='SkColor_Reference#Color'>color</a> fringing imperceptible.
83 <a href='#Paint_Anti_Alias'>Anti_Alias</a> can be enabled on devices that orient stripes horizontal…
84 or vertically, and that order the <a href='SkColor_Reference#Color'>color</a> components as RGB or …
85 <a href='undocumented#Glyph'>glyph</a> cache may store multiple copies of the same <a href='undocum…
90href='undocumented#SkFontHinting'>SkFontHinting</a>::<a href='#SkFontHinting_kNormal'>kNormal</a> …
91 instructs the <a href='#Font_Manager'>Font_Manager</a> to always hint <a href='undocumented#Glyph'>…
92 <a href='#Font_Force_Hinting'>Force_Hinting</a> has no effect if Hinting is set to <a href='undocum…
93 <a href='undocumented#SkFontHinting'>SkFontHinting</a>::<a href='#SkFontHinting_kSlight'>kSlight</a…
95 <a href='#Font_Force_Hinting'>Force_Hinting</a> only affects platforms that use FreeType as the <a
99 <a href='#Font_Embedded_Bitmaps'>Embedded_Bitmaps</a> allows selecting custom sized <a href='SkBitm…
100 <a href='#Font_Embedded_Bitmaps'>Embedded_Bitmaps</a> when set chooses an embedded <a href='SkBitma…
101 in a <a href='SkFont_Reference#Font'>font</a> if the platform supports this option.
103 …eeType selects the <a href='SkBitmap_Reference#Bitmap'>bitmap</a> <a href='undocumented#Glyph'>gly…
104 the outline <a href='undocumented#Glyph'>glyph</a> if <a href='#Font_Embedded_Bitmaps'>Embedded_Bit…
105 Windows may select the <a href='SkBitmap_Reference#Bitmap'>bitmap</a> <a href='undocumented#Glyph'>…
106 <a href='#OS_X'>OS_X</a> and iOS do not support this option.
112 <a href='SkFont_Reference#SkFont'>SkFont</a> controls options applied when drawing and measuring <a…
115 class <a href='SkFont_Reference#SkFont'>SkFont</a> {
117 enum class <a href='#SkFont_Edging'>Edging</a> {
123 <a href='#SkFont_empty_constructor'>SkFont()</a>;
124href='#SkFont_SkTypeface_SkScalar'>SkFont</a>(<a href='undocumented#sk_sp'>sk_sp</a><<a href='undo…
125href='#SkFont_SkTypeface_SkScalar_SkScalar_SkScalar'>SkFont</a>(<a href='undocumented#sk_sp'>sk_sp…
126 …bool <a href='#SkFont_equal1_operator'>operator==</a>(const <a href='SkFont_Reference#SkFont'>SkFo…
127 bool <a href='#SkFont_isForceAutoHinting'>isForceAutoHinting</a>() const;
128 bool <a href='#SkFont_isEmbeddedBitmaps'>isEmbeddedBitmaps</a>() const;
129 bool <a href='#SkFont_isSubpixel'>isSubpixel</a>() const;
130 bool <a href='#SkFont_isLinearMetrics'>isLinearMetrics</a>() const;
131 bool <a href='#SkFont_isEmbolden'>isEmbolden</a>() const;
132 void <a href='#SkFont_setForceAutoHinting'>setForceAutoHinting</a>(bool forceAutoHinting);
133 void <a href='#SkFont_setEmbeddedBitmaps'>setEmbeddedBitmaps</a>(bool embeddedBitmaps);
134 void <a href='#SkFont_setSubpixel'>setSubpixel</a>(bool subpixel);
135 void <a href='#SkFont_setLinearMetrics'>setLinearMetrics</a>(bool linearMetrics);
136 void <a href='#SkFont_setEmbolden'>setEmbolden</a>(bool embolden);
137 <a href='#SkFont_Edging'>Edging</a> <a href='#SkFont_getEdging'>getEdging</a>() const;
138 void <a href='#SkFont_setEdging'>setEdging</a>(<a href='#SkFont_Edging'>Edging</a> edging);
139 …void <a href='#SkFont_setHinting'>setHinting</a>(<a href='undocumented#SkFontHinting'>SkFontHintin…
140 …<a href='undocumented#SkFontHinting'>SkFontHinting</a> <a href='#SkFont_getHinting'>getHinting</a>…
141 …<a href='SkFont_Reference#SkFont'>SkFont</a> <a href='#SkFont_makeWithSize'>makeWithSize</a>(<a hr…
142 …<a href='undocumented#SkTypeface'>SkTypeface</a>* <a href='#SkFont_getTypeface'>getTypeface</a>() …
143 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkFont_getSize'>getSize</a>() const;
144 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkFont_getScaleX'>getScaleX</a>() const;
145 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkFont_getSkewX'>getSkewX</a>() const;
146 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkTypeface'>SkTypeface</a>> <a href='…
147 …void <a href='#SkFont_setTypeface'>setTypeface</a>(<a href='undocumented#sk_sp'>sk_sp</a><<a href=…
148 … void <a href='#SkFont_setSize'>setSize</a>(<a href='undocumented#SkScalar'>SkScalar</a> textSize);
149 …void <a href='#SkFont_setScaleX'>setScaleX</a>(<a href='undocumented#SkScalar'>SkScalar</a> scaleX…
150 … void <a href='#SkFont_setSkewX'>setSkewX</a>(<a href='undocumented#SkScalar'>SkScalar</a> skewX);
151 …int <a href='#SkFont_textToGlyphs'>textToGlyphs</a>(const void* <a href='undocumented#Text'>text</…
152 …<a href='undocumented#SkGlyphID'>SkGlyphID</a> <a href='undocumented#Glyph'>glyphs</a>[], int maxG…
153 …uint16_t <a href='#SkFont_unicharToGlyph'>unicharToGlyph</a>(<a href='undocumented#SkUnichar'>SkUn…
154 …int <a href='#SkFont_countText'>countText</a>(const void* <a href='undocumented#Text'>text</a>, si…
155 …bool <a href='#SkFont_containsText'>containsText</a>(const void* <a href='undocumented#Text'>text<…
156href='#SkFont_breakText'>breakText</a>(const void* <a href='undocumented#Text'>text</a>, size_t le…
157 <a href='undocumented#SkScalar'>SkScalar</a>* measuredWidth = nullptr) const;
158href='undocumented#SkScalar'>SkScalar</a> <a href='#SkFont_measureText'>measureText</a>(const void…
159 <a href='SkRect_Reference#SkRect'>SkRect</a>* bounds = nullptr) const;
160 …bool <a href='#SkFont_getPath'>getPath</a>(uint16_t glyphID, <a href='SkPath_Reference#SkPath'>SkP…
161 void <a href='#SkFont_getPaths'>getPaths</a>(const uint16_t glyphIDs[], int count,
162 …void (*glyphPathProc)(const <a href='SkPath_Reference#SkPath'>SkPath</a>* pathOrNull, const <a hre…
164 …<a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkFont_getMetrics'>getMetrics</a>(<a href='…
165 … <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkFont_getSpacing'>getSpacing</a>() const;
175 enum class <a href='#SkFont_Edging'>Edging</a> {
176 <a href='#SkFont_Edging_kAlias'>kAlias</a>,
177 <a href='#SkFont_Edging_kAntiAlias'>kAntiAlias</a>,
178 <a href='#SkFont_Edging_kSubpixelAntiAlias'>kSubpixelAntiAlias</a>,
224 <a href='#SkFont_empty_constructor'>SkFont()</a>
227 Constructs <a href='SkFont_Reference#SkFont'>SkFont</a> with default values.
231 default initialized <a href='SkFont_Reference#SkFont'>SkFont</a>
246href='SkFont_Reference#SkFont'>SkFont</a>(<a href='undocumented#sk_sp'>sk_sp</a>&lt;<a href='undoc…
249href='SkFont_Reference#SkFont'>SkFont</a> with default values with <a href='undocumented#SkTypefac…
254 …<td><a href='SkFont_Reference#Font'>font</a> and style used to draw and measure <a href='undocumen…
257 <td>typographic height of <a href='undocumented#Text'>text</a></td>
263 initialized <a href='SkFont_Reference#SkFont'>SkFont</a>
278href='SkFont_Reference#SkFont'>SkFont</a>(<a href='undocumented#sk_sp'>sk_sp</a>&lt;<a href='undoc…
281href='SkFont_Reference#SkFont'>SkFont</a> with default values with <a href='undocumented#SkTypefac…
288 …<td><a href='SkFont_Reference#Font'>font</a> and style used to draw and measure <a href='undocumen…
291 <td>typographic height of <a href='undocumented#Text'>text</a></td>
294 <td><a href='undocumented#Text'>text</a> horizontal scale</td>
303 initialized <a href='SkFont_Reference#SkFont'>SkFont</a>
318 bool operator==(const <a href='SkFont_Reference#SkFont'>SkFont</a>& <a href='SkFont_Reference#Font'…
321 Compares <a href='SkFont_Reference#SkFont'>SkFont</a> and <a href='#SkFont_equal1_operator_font'>fo…
322 May return false if <a href='undocumented#SkTypeface'>SkTypeface</a> has identical contents but dif…
327 <td><a href='#SkFont_equal1_operator_font'>font</a> to compare</td>
333 true if <a href='SkFont_Reference#SkFont'>SkFont</a> pair are equivalent
348 bool <a href='#SkFont_isForceAutoHinting'>isForceAutoHinting</a>()const
351 If true, instructs the <a href='SkFont_Reference#Font'>font</a> manager to always hint <a href='und…
352 Returned value is only meaningful if platform uses FreeType as the <a href='SkFont_Reference#Font'>…
356 true if all <a href='undocumented#Glyph'>glyphs</a> are hinted
371 bool <a href='#SkFont_isEmbeddedBitmaps'>isEmbeddedBitmaps</a>()const
374 …a href='SkFont_Reference#Font'>font</a> engine may return <a href='undocumented#Glyph'>glyphs</a> …
378 true if <a href='undocumented#Glyph'>glyphs</a> may be <a href='SkFont_Reference#Font'>font</a> <a
393 bool <a href='#SkFont_isSubpixel'>isSubpixel</a>()const
396 …true if <a href='undocumented#Glyph'>glyphs</a> at different <a href='SkFont_Reference#Subpixel'>s…
400 true if <a href='undocumented#Glyph'>glyph</a> positioned in <a href='undocumented#Pixel'>pixel</a>…
415 bool <a href='#SkFont_isLinearMetrics'>isLinearMetrics</a>()const
418 Returns true if <a href='undocumented#Text'>text</a> is converted to <a href='SkPath_Reference#SkPa…
422 true <a href='undocumented#Glyph'>glyph</a> hints are never applied
437 bool <a href='#SkFont_isEmbolden'>isEmbolden</a>()const
440 Returns true if bold is approximated by increasing the stroke width when creating <a href='undocume…
441 <a href='SkBitmap_Reference#Bitmap'>bitmaps</a> from outlines.
460 void <a href='#SkFont_setForceAutoHinting'>setForceAutoHinting</a>(bool forceAutoHinting)
463 Sets whether to always hint <a href='undocumented#Glyph'>glyphs</a>.
464href='#SkFont_setForceAutoHinting_forceAutoHinting'>forceAutoHinting</a> is set, instructs the <a…
466 Only affects platforms that use FreeType as the <a href='undocumented#Font_Manager'>font manager</…
471 <td>setting to always hint <a href='undocumented#Glyph'>glyphs</a></td>
488 void <a href='#SkFont_setEmbeddedBitmaps'>setEmbeddedBitmaps</a>(bool embeddedBitmaps)
491 Requests, but does not require, to use <a href='SkBitmap_Reference#Bitmap'>bitmaps</a> in fonts ins…
496 <td>setting to use <a href='SkBitmap_Reference#Bitmap'>bitmaps</a> in fonts</td>
513 void <a href='#SkFont_setSubpixel'>setSubpixel</a>(bool subpixel)
516 Requests, but does not require, that <a href='undocumented#Glyph'>glyphs</a> respect <a href='SkFon…
521 <td>setting for <a href='SkFont_Reference#Subpixel'>sub-pixel</a> positioning</td>
538 void <a href='#SkFont_setLinearMetrics'>setLinearMetrics</a>(bool linearMetrics)
541 Requests, but does not require, that <a href='undocumented#Glyph'>glyphs</a> are converted to <a hr…
547 …<td>setting for converting <a href='undocumented#Glyph'>glyphs</a> to <a href='SkPath_Reference#Pa…
564 void <a href='#SkFont_setEmbolden'>setEmbolden</a>(bool embolden)
567 …th when creating <a href='undocumented#Glyph'>glyph</a> <a href='SkBitmap_Reference#Bitmap'>bitmap…
589 <a href='#SkFont_Edging'>Edging</a> <a href='#SkFont_getEdging'>getEdging</a>()const
596href='#SkFont_Edging'>Edging</a>::<a href='#SkFont_Edging_kAlias'>kAlias</a>, <a href='#SkFont_Edg…
611 void <a href='#SkFont_setEdging'>setEdging</a>(<a href='#SkFont_Edging'>Edging</a> edging)
620href='#SkFont_Edging'>Edging</a>::<a href='#SkFont_Edging_kAlias'>kAlias</a>, <a href='#SkFont_Edg…
637 void <a href='#SkFont_setHinting'>setHinting</a>(<a href='undocumented#SkFontHinting'>SkFontHinting…
640 Sets level of <a href='undocumented#Glyph'>glyph</a> outline adjustment.
641 Does not check for valid values of <a href='#SkFont_setHinting_hintingLevel'>hintingLevel</a>.
646href='undocumented#SkFontHinting'>SkFontHinting</a>::<a href='#SkFontHinting_kNone'>kNone</a>, <a
650href='undocumented#SkFontHinting'>SkFontHinting</a>::<a href='#SkFontHinting_kNormal'>kNormal</a>,…
665 <a href='undocumented#SkFontHinting'>SkFontHinting</a> <a href='#SkFont_getHinting'>getHinting</a>(…
668 Returns level of <a href='undocumented#Glyph'>glyph</a> outline adjustment.
672href='undocumented#SkFontHinting'>SkFontHinting</a>::<a href='#SkFontHinting_kNone'>kNone</a>, <a
674 <a href='undocumented#SkFontHinting'>SkFontHinting</a>::<a href='#SkFontHinting_kFull'>kFull</a>
689 <a href='SkFont_Reference#SkFont'>SkFont</a> <a href='#SkFont_makeWithSize'>makeWithSize</a>(<a hre…
692 …a <a href='SkFont_Reference#Font'>font</a> with the same attributes of this <a href='SkFont_Refere…
693 Returns nullptr if <a href='#SkFont_makeWithSize_size'>size</a> is less than zero, infinite, or NaN.
698 <td>typographic height of <a href='undocumented#Text'>text</a></td>
704 initialized <a href='SkFont_Reference#SkFont'>SkFont</a>
719 <a href='undocumented#SkTypeface'>SkTypeface</a>* <a href='#SkFont_getTypeface'>getTypeface</a>()co…
722 Returns <a href='undocumented#SkTypeface'>SkTypeface</a> if set, or nullptr.
723 Does not alter <a href='undocumented#SkTypeface'>SkTypeface</a> <a href='undocumented#SkRefCnt'>SkR…
727 <a href='undocumented#SkTypeface'>SkTypeface</a> if previously set, nullptr otherwise
742 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkFont_getSize'>getSize</a>()const
745 Returns <a href='undocumented#Text'>text</a> <a href='undocumented#Size'>size</a> in <a href='SkPoi…
749 typographic height of <a href='undocumented#Text'>text</a>
764 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkFont_getScaleX'>getScaleX</a>()const
767 Returns <a href='undocumented#Text'>text</a> scale on x-axis.
772 <a href='undocumented#Text'>text</a> horizontal scale
787 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkFont_getSkewX'>getSkewX</a>()const
790 Returns <a href='undocumented#Text'>text</a> skew on x-axis.
810 <a href='undocumented#sk_sp'>sk_sp</a>&lt;<a href='undocumented#SkTypeface'>SkTypeface</a>&gt; <a h…
813 Increases <a href='undocumented#SkTypeface'>SkTypeface</a> <a href='undocumented#SkRefCnt'>SkRefCnt…
817 <a href='undocumented#SkTypeface'>SkTypeface</a> if previously set, nullptr otherwise
832 void <a href='#SkFont_setTypeface'>setTypeface</a>(<a href='undocumented#sk_sp'>sk_sp</a>&lt;<a hre…
835href='undocumented#SkTypeface'>SkTypeface</a> to <a href='undocumented#Typeface'>typeface</a>, dec…
836 Pass nullptr to clear <a href='undocumented#SkTypeface'>SkTypeface</a> and use the default <a href=…
837 <a href='#SkFont_setTypeface_tf'>tf</a> <a href='undocumented#SkRefCnt'>SkRefCnt</a> by one.
842 …<td><a href='SkFont_Reference#Font'>font</a> and style used to draw <a href='undocumented#Text'>te…
859 void <a href='#SkFont_setSize'>setSize</a>(<a href='undocumented#SkScalar'>SkScalar</a> textSize)
862 Sets <a href='undocumented#Text'>text</a> <a href='undocumented#Size'>size</a> in <a href='SkPoint_…
863 Has no effect if <a href='#SkFont_setSize_textSize'>textSize</a> is not greater than or equal to ze…
868 <td>typographic height of <a href='undocumented#Text'>text</a></td>
885 void <a href='#SkFont_setScaleX'>setScaleX</a>(<a href='undocumented#SkScalar'>SkScalar</a> scaleX)
888 Sets <a href='undocumented#Text'>text scale</a> on x-axis.
894 <td><a href='undocumented#Text'>text</a> horizontal scale</td>
911 void <a href='#SkFont_setSkewX'>setSkewX</a>(<a href='undocumented#SkScalar'>SkScalar</a> skewX)
914 Sets <a href='undocumented#Text'>text skew</a> on x-axis.
937href='#SkFont_textToGlyphs'>textToGlyphs</a>(const void* <a href='undocumented#Text'>text</a>, siz…
941 Converts <a href='#SkFont_textToGlyphs_text'>text</a> into <a href='undocumented#Glyph'>glyph</a> i…
942 Returns the number of <a href='undocumented#Glyph'>glyph</a> indices represented by <a href='#SkFon…
943 <a href='undocumented#SkTextEncoding'>SkTextEncoding</a> specifies how <a href='#SkFont_textToGlyph…
944 <a href='#SkFont_textToGlyphs_glyphs'>glyphs</a> may be nullptr, to compute the <a href='undocument…
946 Does not check <a href='#SkFont_textToGlyphs_text'>text</a> for valid character codes or valid <a h…
948 If <a href='#SkFont_textToGlyphs_byteLength'>byteLength</a> equals zero, returns zero.
949 If <a href='#SkFont_textToGlyphs_byteLength'>byteLength</a> includes a partial character, the parti…
951 If <a href='#SkFont_textToGlyphs_encoding'>encoding</a> is <a href='undocumented#SkTextEncoding::kU…
954href='#SkFont_textToGlyphs_maxGlyphCount'>maxGlyphCount</a> is not sufficient to store all the <a
955 The total <a href='undocumented#Glyph'>glyph</a> count is returned for subsequent buffer reallocati…
960 <td>character storage encoded with <a href='undocumented#SkTextEncoding'>SkTextEncoding</a></td>
966 …<td>one of: <a href='undocumented#SkTextEncoding::kUTF8'>SkTextEncoding::kUTF8</a>, <a href='undoc…
970 <a href='undocumented#SkTextEncoding::kUTF32'>SkTextEncoding::kUTF32</a>, <a href='undocumented#SkT…
975 <td>storage for <a href='undocumented#Glyph'>glyph</a> indices; may be nullptr</td>
984 number of <a href='#SkFont_textToGlyphs_glyphs'>glyphs</a> represented by <a href='#SkFont_textToGl…
999 uint16_t <a href='#SkFont_unicharToGlyph'>unicharToGlyph</a>(<a href='undocumented#SkUnichar'>SkUni…
1002 Returns <a href='undocumented#Glyph'>glyph</a> index for Unicode character.
1013 <a href='undocumented#Glyph'>glyph</a> index
1028 int <a href='#SkFont_countText'>countText</a>(const void* <a href='undocumented#Text'>text</a>, siz…
1031 Returns number of <a href='undocumented#Glyph'>glyphs</a> represented by <a href='#SkFont_countText…
1036 <td>character storage encoded with <a href='undocumented#SkTextEncoding'>SkTextEncoding</a></td>
1042 …<td>one of: <a href='undocumented#SkTextEncoding::kUTF8'>SkTextEncoding::kUTF8</a>, <a href='undoc…
1046 <a href='undocumented#SkTextEncoding::kUTF32'>SkTextEncoding::kUTF32</a>, <a href='undocumented#SkT…
1050 number of <a href='undocumented#Glyph'>glyphs</a> represented by <a href='#SkFont_countText_text'>t…
1065 bool <a href='#SkFont_containsText'>containsText</a>(const void* <a href='undocumented#Text'>text</…
1068 Returns true if all <a href='#SkFont_containsText_text'>text</a> corresponds to a non-zero <a href=…
1069 Returns false if any characters in <a href='#SkFont_containsText_text'>text</a> are not supported in
1070 <a href='undocumented#SkTypeface'>SkTypeface</a>.
1072 If <a href='undocumented#SkTextEncoding'>SkTextEncoding</a> is <a href='undocumented#SkTextEncoding…
1073 returns true if all <a href='undocumented#Glyph'>glyph</a> indices in <a href='#SkFont_containsText…
1074 …check to see if <a href='#SkFont_containsText_text'>text</a> contains valid <a href='undocumented#…
1076 Returns true if <a href='#SkFont_containsText_byteLength'>byteLength</a> is zero.
1081 <td>array of characters or <a href='undocumented#Glyph'>glyphs</a></td>
1084 <td>number of bytes in <a href='#SkFont_containsText_text'>text</a> array</td>
1087 <td><a href='undocumented#Text_Encoding'>text encoding</a></td>
1093 true if all <a href='#SkFont_containsText_text'>text</a> corresponds to a non-zero <a href='undocum…
1108href='#SkFont_breakText'>breakText</a>(const void* <a href='undocumented#Text'>text</a>, size_t le…
1109 <a href='undocumented#SkScalar'>SkScalar</a>* measuredWidth = nullptr)const
1112 Returns the bytes of <a href='#SkFont_breakText_text'>text</a> that fit within <a href='#SkFont_bre…
1113 The <a href='#SkFont_breakText_text'>text</a> fragment fits if its advance width is less than or eq…
1114 Measures only while the advance is less than or equal to <a href='#SkFont_breakText_maxWidth'>maxWi…
1115 Returns the advance or the <a href='#SkFont_breakText_text'>text</a> fragment in <a href='#SkFont_b…
1116href='#SkFont_breakText_encoding'>encoding</a> to decode <a href='#SkFont_breakText_text'>text</a>…
1117 and <a href='#SkFont_breakText_text'>text</a> <a href='undocumented#Size'>size</a> to scale the met…
1123 <td>character codes or <a href='undocumented#Glyph'>glyph</a> indices to be measured</td>
1126 <td>number of bytes of <a href='#SkFont_breakText_text'>text</a> to measure</td>
1129 <td><a href='undocumented#Text_Encoding'>text encoding</a></td>
1132 …<td>advance limit; <a href='#SkFont_breakText_text'>text</a> is measured while advance is less tha…
1135 …<td>returns the width of the <a href='#SkFont_breakText_text'>text</a> less than or equal to <a hr…
1141 bytes of <a href='#SkFont_breakText_text'>text</a> that fit, always less than or equal to <a href='…
1145 <div><fiddle-embed name="3cad18678254526be66ef162eecd1d23"><div><a href='undocumented#Line'>Line</a…
1146 <a href='undocumented#Line'>Line</a> under "Bre" shows measured width after breaking <a href='#SkFo…
1158href='undocumented#SkScalar'>SkScalar</a> <a href='#SkFont_measureText'>measureText</a>(const void…
1159 <a href='SkRect_Reference#SkRect'>SkRect</a>* bounds = nullptr)const
1162 Returns the advance width of <a href='#SkFont_measureText_text'>text</a>.
1163 The advance is the normal distance to move before drawing additional <a href='#SkFont_measureText_t…
1164 Returns the bounding box of <a href='#SkFont_measureText_text'>text</a> if <a href='#SkFont_measure…
1169 <td>character storage encoded with <a href='undocumented#SkTextEncoding'>SkTextEncoding</a></td>
1175 …<td>one of: <a href='undocumented#SkTextEncoding::kUTF8'>SkTextEncoding::kUTF8</a>, <a href='undoc…
1179 <a href='undocumented#SkTextEncoding::kUTF32'>SkTextEncoding::kUTF32</a>, <a href='undocumented#SkT…
1190 number of <a href='undocumented#Glyph'>glyphs</a> represented by <a href='#SkFont_measureText_text'…
1205 bool <a href='#SkFont_getPath'>getPath</a>(uint16_t glyphID, <a href='SkPath_Reference#SkPath'>SkPa…
1208 Returns <a href='#SkFont_getPath_path'>path</a> corresponding to <a href='undocumented#Glyph'>glyph…
1209 If <a href='undocumented#Glyph'>glyph</a> has an outline, copies outline to <a href='#SkFont_getPat…
1210 <a href='#SkFont_getPath_path'>path</a> returned may be empty.
1211 If <a href='undocumented#Glyph'>glyph</a> is described by a <a href='SkBitmap_Reference#Bitmap'>bit…
1216 <td>index of <a href='undocumented#Glyph'>glyph</a></td>
1219 <td>pointer to existing <a href='SkPath_Reference#SkPath'>SkPath</a></td>
1225 true if <a href='#SkFont_getPath_glyphID'>glyphID</a> is described by <a href='#SkFont_getPath_path…
1240 void <a href='#SkFont_getPaths'>getPaths</a>(const uint16_t glyphIDs[], int count, void (*glyphPath…
1241 … const <a href='SkMatrix_Reference#SkMatrix'>SkMatrix</a>& mx, void* ctx) , void* ctx)const
1244 Returns <a href='SkPath_Reference#Path'>path</a> corresponding to <a href='undocumented#Glyph'>glyp…
1249 <td>array of <a href='undocumented#Glyph'>glyph</a> indices</td>
1252 <td>number of <a href='undocumented#Glyph'>glyphs</a></td>
1255 …<td>function returning one <a href='undocumented#Glyph'>glyph</a> description as <a href='SkPath_R…
1275 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkFont_getMetrics'>getMetrics</a>(<a href='u…
1278 Returns <a href='undocumented#SkFontMetrics'>SkFontMetrics</a> associated with <a href='undocumente…
1279 …turn value is the recommended spacing between <a href='undocumented#Line'>lines</a>: the sum of <a…
1281 If <a href='#SkFont_getMetrics_metrics'>metrics</a> is not nullptr, <a href='undocumented#SkFontMet…
1282 Results are scaled by <a href='undocumented#Text'>text</a> <a href='undocumented#Size'>size</a> but…
1283 dimensions required by <a href='undocumented#Text'>text scale</a>, <a href='undocumented#Text'>te…
1284 style stroke, and <a href='undocumented#SkPathEffect'>SkPathEffect</a>.
1289 <td>storage for <a href='undocumented#SkFontMetrics'>SkFontMetrics</a>; may be nullptr</td>
1295 recommended spacing between <a href='undocumented#Line'>lines</a>
1310 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkFont_getSpacing'>getSpacing</a>()const
1313 Returns the recommended spacing between <a href='undocumented#Line'>lines</a>: the sum of metrics
1315 Result is scaled by <a href='undocumented#Text'>text</a> <a href='undocumented#Size'>size</a> but d…
1316 dimensions required by stroking and <a href='undocumented#SkPathEffect'>SkPathEffect</a>.
1317 Returns the same result as <a href='#SkFont_getMetrics'>getMetrics</a>().
1321 recommended spacing between <a href='undocumented#Line'>lines</a>