You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -4107,55 +4105,6 @@ Uses <a href='#SkPaint_getPosTextPath_pos'>pos</a> array to position <a href='#S
4107
4105
<div><fiddle-embedname="7f27c93472aa99a7542fb3493076f072"><div>Simplifies three <ahref='undocumented#Glyph'>Glyphs</a> to eliminate overlaps, and strokes the result.
4108
4106
</div></fiddle-embed></div>
4109
4107
4110
-
<aname='Text_Intercepts'></a>
4111
-
4112
-
<ahref='#Paint_Text_Intercepts'>Text_Intercepts</a> describe the intersection of drawn <ahref='undocumented#Text'>text</a> <ahref='undocumented#Glyph'>Glyphs</a> with a pair
4113
-
of <ahref='undocumented#Line'>lines</a> parallel to the <ahref='undocumented#Text'>text</a> advance. <ahref='#Paint_Text_Intercepts'>Text_Intercepts</a> permits creating a
int <ahref='#SkPaint_getTextBlobIntercepts'>getTextBlobIntercepts</a>(const <ahref='SkTextBlob_Reference#SkTextBlob'>SkTextBlob</a>* blob, const <ahref='undocumented#SkScalar'>SkScalar</a> bounds[2], <ahref='undocumented#SkScalar'>SkScalar</a>* intervals)const
4122
-
</pre>
4123
-
4124
-
Returns the number of <ahref='#SkPaint_getTextBlobIntercepts_intervals'>intervals</a> that intersect <ahref='#SkPaint_getTextBlobIntercepts_bounds'>bounds</a>.
4125
-
<ahref='#SkPaint_getTextBlobIntercepts_bounds'>bounds</a> describes a pair of <ahref='undocumented#Line'>lines</a> parallel to the <ahref='undocumented#Text'>text</a> advance.
4126
-
The return count is zero or a multiple of two, and is at most twice the number of <ahref='undocumented#Glyph'>glyphs</a> in
4127
-
the <ahref='undocumented#String'>string</a>.
4128
-
Uses <ahref='undocumented#SkTypeface'>SkTypeface</a> to get the <ahref='undocumented#Glyph'>glyph</a> <ahref='SkPath_Reference#Path'>paths</a>,
4129
-
and <ahref='#Text_Size'>text size</a>, <ahref='#Fake_Bold'>fake bold</a>, and <ahref='undocumented#SkPathEffect'>SkPathEffect</a> to scale and modify the <ahref='undocumented#Glyph'>glyph</a> <ahref='SkPath_Reference#Path'>paths</a>.
4130
-
Uses run array to position <ahref='#SkPaint_getTextBlobIntercepts_intervals'>intervals</a>.
4131
-
4132
-
<ahref='undocumented#SkTextEncoding'>SkTextEncoding</a> must be set to <ahref='undocumented#kGlyphID_SkTextEncoding'>kGlyphID_SkTextEncoding</a>.
4133
-
4134
-
Pass nullptr for <ahref='#SkPaint_getTextBlobIntercepts_intervals'>intervals</a> to determine the <ahref='undocumented#Size'>size</a> of the interval array.
4135
-
4136
-
<ahref='#SkPaint_getTextBlobIntercepts_intervals'>intervals</a> are cached to improve performance for multiple calls.
@@ -75,6 +75,48 @@ identifier for <a href='SkTextBlob_Reference#SkTextBlob'>SkTextBlob</a>
75
75
76
76
<ahref='undocumented#SkRefCnt'>SkRefCnt</a>
77
77
78
+
<aname='Text_Intercepts'></a>
79
+
80
+
<ahref='#Text_Blob_Text_Intercepts'>Text_Intercepts</a> describe the intersection of drawn <ahref='undocumented#Text'>text</a> <ahref='undocumented#Glyph'>Glyphs</a> with a pair
81
+
of <ahref='undocumented#Line'>lines</a> parallel to the <ahref='undocumented#Text'>text</a> advance. <ahref='#Text_Blob_Text_Intercepts'>Text_Intercepts</a> permits creating a
Returns the number of <ahref='#SkTextBlob_getIntercepts_intervals'>intervals</a> that intersect <ahref='#SkTextBlob_getIntercepts_bounds'>bounds</a>.
93
+
<ahref='#SkTextBlob_getIntercepts_bounds'>bounds</a> describes a pair of <ahref='undocumented#Line'>lines</a> parallel to the <ahref='undocumented#Text'>text</a> advance.
94
+
The return count is zero or a multiple of two, and is at most twice the number of <ahref='undocumented#Glyph'>glyphs</a> in
95
+
the the blob.
96
+
97
+
Pass nullptr for <ahref='#SkTextBlob_getIntercepts_intervals'>intervals</a> to determine the <ahref='undocumented#Size'>size</a> of the interval array.
0 commit comments