Lines Matching refs:href
10 class <a href='SkPaint_Reference#SkPaint'>SkPaint</a> {
12 <a href='#SkPaint_empty_constructor'>SkPaint()</a>;
13 …<a href='#SkPaint_copy_const_SkPaint'>SkPaint</a>(const <a href='SkPaint_Reference#SkPaint'>SkPain…
14 …<a href='#SkPaint_move_SkPaint'>SkPaint</a>(<a href='SkPaint_Reference#SkPaint'>SkPaint</a>&& <a h…
15 <a href='#SkPaint_destructor'>~SkPaint()</a>;
16 …href='SkPaint_Reference#SkPaint'>SkPaint</a>& <a href='#SkPaint_copy_operator'>operator=</a>(const…
17 … href='SkPaint_Reference#SkPaint'>SkPaint</a>& <a href='#SkPaint_move_operator'>operator=</a>(<a h…
18 …friend bool <a href='#SkPaint_equal_operator'>operator==</a>(const <a href='SkPaint_Reference#SkPa…
19 …friend bool <a href='#SkPaint_notequal_operator'>operator!=</a>(const <a href='SkPaint_Reference#S…
20 uint32_t <a href='#SkPaint_getHash'>getHash</a>() const;
21 void <a href='#SkPaint_reset'>reset()</a>;
22 …void <a href='#SkPaint_setHinting'>setHinting</a>(<a href='undocumented#SkFontHinting'>SkFontHinti…
23 …<a href='undocumented#SkFontHinting'>SkFontHinting</a> <a href='#SkPaint_getHinting'>getHinting</a…
25 enum <a href='#SkPaint_Flags'>Flags</a> {
26 <a href='#SkPaint_kAntiAlias_Flag'>kAntiAlias_Flag</a> = 0x01,
27 <a href='#SkPaint_kDither_Flag'>kDither_Flag</a> = 0x04,
28 <a href='#SkPaint_kFakeBoldText_Flag'>kFakeBoldText_Flag</a> = 0x20,
29 <a href='#SkPaint_kLinearText_Flag'>kLinearText_Flag</a> = 0x40,
30 <a href='#SkPaint_kSubpixelText_Flag'>kSubpixelText_Flag</a> = 0x80,
31 <a href='#SkPaint_kLCDRenderText_Flag'>kLCDRenderText_Flag</a> = 0x200,
32 <a href='#SkPaint_kEmbeddedBitmapText_Flag'>kEmbeddedBitmapText_Flag</a> = 0x400,
33 <a href='#SkPaint_kAutoHinting_Flag'>kAutoHinting_Flag</a> = 0x800,
34 <a href='#SkPaint_kAllFlags'>kAllFlags</a> = 0xFFFF,
37 uint32_t <a href='#SkPaint_getFlags'>getFlags</a>() const;
38 void <a href='#SkPaint_setFlags'>setFlags</a>(uint32_t flags);
39 bool <a href='#SkPaint_isAntiAlias'>isAntiAlias</a>() const;
40 void <a href='#SkPaint_setAntiAlias'>setAntiAlias</a>(bool aa);
41 bool <a href='#SkPaint_isDither'>isDither</a>() const;
42 void <a href='#SkPaint_setDither'>setDither</a>(bool dither);
43 bool <a href='#SkPaint_isLinearText'>isLinearText</a>() const;
44 void <a href='#SkPaint_setLinearText'>setLinearText</a>(bool linearText);
45 bool <a href='#SkPaint_isSubpixelText'>isSubpixelText</a>() const;
46 void <a href='#SkPaint_setSubpixelText'>setSubpixelText</a>(bool subpixelText);
47 bool <a href='#SkPaint_isLCDRenderText'>isLCDRenderText</a>() const;
48 void <a href='#SkPaint_setLCDRenderText'>setLCDRenderText</a>(bool lcdText);
49 bool <a href='#SkPaint_isEmbeddedBitmapText'>isEmbeddedBitmapText</a>() const;
50 …void <a href='#SkPaint_setEmbeddedBitmapText'>setEmbeddedBitmapText</a>(bool useEmbeddedBitmapText…
51 bool <a href='#SkPaint_isAutohinted'>isAutohinted</a>() const;
52 void <a href='#SkPaint_setAutohinted'>setAutohinted</a>(bool useAutohinter);
53 bool <a href='#SkPaint_isFakeBoldText'>isFakeBoldText</a>() const;
54 void <a href='#SkPaint_setFakeBoldText'>setFakeBoldText</a>(bool fakeBoldText);
55 …<a href='undocumented#SkFilterQuality'>SkFilterQuality</a> <a href='#SkPaint_getFilterQuality'>get…
56 …void <a href='#SkPaint_setFilterQuality'>setFilterQuality</a>(<a href='undocumented#SkFilterQualit…
58 enum <a href='#SkPaint_Style'>Style</a> : uint8_t {
59 <a href='#SkPaint_kFill_Style'>kFill_Style</a>,
60 <a href='#SkPaint_kStroke_Style'>kStroke_Style</a>,
61 <a href='#SkPaint_kStrokeAndFill_Style'>kStrokeAndFill_Style</a>,
64 …static constexpr int <a href='#SkPaint_kStyleCount'>kStyleCount</a> = <a href='#SkPaint_kStrokeAnd…
65 <a href='#SkPaint_Style'>Style</a> <a href='#SkPaint_getStyle'>getStyle</a>() const;
66 void <a href='#SkPaint_setStyle'>setStyle</a>(<a href='#SkPaint_Style'>Style</a> style);
67 … <a href='SkColor_Reference#SkColor'>SkColor</a> <a href='#SkPaint_getColor'>getColor</a>() const;
68 …<a href='SkColor4f_Reference#SkColor4f'>SkColor4f</a> <a href='#SkPaint_getColor4f'>getColor4f</a>…
69 …void <a href='#SkPaint_setColor'>setColor</a>(<a href='SkColor_Reference#SkColor'>SkColor</a> <a h…
70 …href='#SkPaint_setColor4f'>setColor4f</a>(const <a href='SkColor4f_Reference#SkColor4f'>SkColor4f<…
71 uint8_t <a href='#SkPaint_getAlpha'>getAlpha</a>() const;
72 void <a href='#SkPaint_setAlpha'>setAlpha</a>(<a href='undocumented#U8CPU'>U8CPU</a> a);
73 …href='#SkPaint_setARGB'>setARGB</a>(<a href='undocumented#U8CPU'>U8CPU</a> a, <a href='undocumente…
74 …<a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPaint_getStrokeWidth'>getStrokeWidth</a>(…
75 …void <a href='#SkPaint_setStrokeWidth'>setStrokeWidth</a>(<a href='undocumented#SkScalar'>SkScalar…
76 …<a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPaint_getStrokeMiter'>getStrokeMiter</a>(…
77 …void <a href='#SkPaint_setStrokeMiter'>setStrokeMiter</a>(<a href='undocumented#SkScalar'>SkScalar…
79 enum <a href='#SkPaint_Cap'>Cap</a> {
80 <a href='#SkPaint_kButt_Cap'>kButt_Cap</a>,
81 <a href='#SkPaint_kRound_Cap'>kRound_Cap</a>,
82 <a href='#SkPaint_kSquare_Cap'>kSquare_Cap</a>,
83 <a href='#SkPaint_kLast_Cap'>kLast_Cap</a> = <a href='#SkPaint_kSquare_Cap'>kSquare_Cap</a>,
84 … <a href='#SkPaint_kDefault_Cap'>kDefault_Cap</a> = <a href='#SkPaint_kButt_Cap'>kButt_Cap</a>,
87 …static constexpr int <a href='#SkPaint_kCapCount'>kCapCount</a> = <a href='#SkPaint_kLast_Cap'>kLa…
88 enum <a href='#SkPaint_Join'>Join</a> : uint8_t {
89 <a href='#SkPaint_kMiter_Join'>kMiter_Join</a>,
90 <a href='#SkPaint_kRound_Join'>kRound_Join</a>,
91 <a href='#SkPaint_kBevel_Join'>kBevel_Join</a>,
92 … <a href='#SkPaint_kLast_Join'>kLast_Join</a> = <a href='#SkPaint_kBevel_Join'>kBevel_Join</a>,
93 …<a href='#SkPaint_kDefault_Join'>kDefault_Join</a> = <a href='#SkPaint_kMiter_Join'>kMiter_Join</a…
96 …static constexpr int <a href='#SkPaint_kJoinCount'>kJoinCount</a> = <a href='#SkPaint_kLast_Join'>…
97 <a href='#SkPaint_Cap'>Cap</a> <a href='#SkPaint_getStrokeCap'>getStrokeCap</a>() const;
98 void <a href='#SkPaint_setStrokeCap'>setStrokeCap</a>(<a href='#SkPaint_Cap'>Cap</a> cap);
99 <a href='#SkPaint_Join'>Join</a> <a href='#SkPaint_getStrokeJoin'>getStrokeJoin</a>() const;
100 void <a href='#SkPaint_setStrokeJoin'>setStrokeJoin</a>(<a href='#SkPaint_Join'>Join</a> join);
101 …href='#SkPaint_getFillPath'>getFillPath</a>(const <a href='SkPath_Reference#SkPath'>SkPath</a>& sr…
102 <a href='undocumented#SkScalar'>SkScalar</a> resScale = 1) const;
103 …bool <a href='#SkPaint_getFillPath'>getFillPath</a>(const <a href='SkPath_Reference#SkPath'>SkPath…
104 … <a href='undocumented#SkShader'>SkShader</a>* <a href='#SkPaint_getShader'>getShader</a>() const;
105 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkShader'>SkShader</a>> <a href='#SkP…
106 …void <a href='#SkPaint_setShader'>setShader</a>(<a href='undocumented#sk_sp'>sk_sp</a><<a href='un…
107 …<a href='undocumented#SkColorFilter'>SkColorFilter</a>* <a href='#SkPaint_getColorFilter'>getColor…
108 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkColorFilter'>SkColorFilter</a>> <a …
109 …void <a href='#SkPaint_setColorFilter'>setColorFilter</a>(<a href='undocumented#sk_sp'>sk_sp</a><<…
110 …<a href='SkBlendMode_Reference#SkBlendMode'>SkBlendMode</a> <a href='#SkPaint_getBlendMode'>getBle…
111 bool <a href='#SkPaint_isSrcOver'>isSrcOver</a>() const;
112 …void <a href='#SkPaint_setBlendMode'>setBlendMode</a>(<a href='SkBlendMode_Reference#SkBlendMode'>…
113 …<a href='undocumented#SkPathEffect'>SkPathEffect</a>* <a href='#SkPaint_getPathEffect'>getPathEffe…
114 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkPathEffect'>SkPathEffect</a>> <a hr…
115 …void <a href='#SkPaint_setPathEffect'>setPathEffect</a>(<a href='undocumented#sk_sp'>sk_sp</a><<a …
116 …<a href='undocumented#SkMaskFilter'>SkMaskFilter</a>* <a href='#SkPaint_getMaskFilter'>getMaskFilt…
117 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkMaskFilter'>SkMaskFilter</a>> <a hr…
118 …void <a href='#SkPaint_setMaskFilter'>setMaskFilter</a>(<a href='undocumented#sk_sp'>sk_sp</a><<a …
119 …<a href='undocumented#SkTypeface'>SkTypeface</a>* <a href='#SkPaint_getTypeface'>getTypeface</a>()…
120 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkTypeface'>SkTypeface</a>> <a href='…
121 …id <a href='#SkPaint_setTypeface'>setTypeface</a>(<a href='undocumented#sk_sp'>sk_sp</a><<a href='…
122 …<a href='undocumented#SkImageFilter'>SkImageFilter</a>* <a href='#SkPaint_getImageFilter'>getImage…
123 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkImageFilter'>SkImageFilter</a>> <a …
124 …void <a href='#SkPaint_setImageFilter'>setImageFilter</a>(<a href='undocumented#sk_sp'>sk_sp</a><<…
125 …<a href='undocumented#SkDrawLooper'>SkDrawLooper</a>* <a href='#SkPaint_getDrawLooper'>getDrawLoop…
126 …<a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkDrawLooper'>SkDrawLooper</a>> <a hr…
127 …void <a href='#SkPaint_setDrawLooper'>setDrawLooper</a>(<a href='undocumented#sk_sp'>sk_sp</a><<a …
128 …<a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPaint_getTextSize'>getTextSize</a>() cons…
129 …void <a href='#SkPaint_setTextSize'>setTextSize</a>(<a href='undocumented#SkScalar'>SkScalar</a> t…
130 …<a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPaint_getTextScaleX'>getTextScaleX</a>() …
131 …void <a href='#SkPaint_setTextScaleX'>setTextScaleX</a>(<a href='undocumented#SkScalar'>SkScalar</…
132 …<a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPaint_getTextSkewX'>getTextSkewX</a>() co…
133 …void <a href='#SkPaint_setTextSkewX'>setTextSkewX</a>(<a href='undocumented#SkScalar'>SkScalar</a>…
134 …<a href='undocumented#SkTextEncoding'>SkTextEncoding</a> <a href='#SkPaint_getTextEncoding'>getTex…
135 …void <a href='#SkPaint_setTextEncoding'>setTextEncoding</a>(<a href='undocumented#SkTextEncoding'>…
137 …typedef <a href='undocumented#SkFontMetrics'>SkFontMetrics</a> <a href='#SkPaint_FontMetrics'>Font…
139 …<a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPaint_getFontMetrics'>getFontMetrics</a>(…
140 …<a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPaint_getFontSpacing'>getFontSpacing</a>(…
141 …int <a href='#SkPaint_textToGlyphs'>textToGlyphs</a>(const void* <a href='undocumented#Text'>text<…
142 … <a href='undocumented#SkGlyphID'>SkGlyphID</a> <a href='undocumented#Glyph'>glyphs</a>[]) const;
143 …bool <a href='#SkPaint_containsText'>containsText</a>(const void* <a href='undocumented#Text'>text…
144 …href='#SkPaint_glyphsToUnichars'>glyphsToUnichars</a>(const <a href='undocumented#SkGlyphID'>SkGly…
145 …int <a href='#SkPaint_countText'>countText</a>(const void* <a href='undocumented#Text'>text</a>, s…
146 …href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPaint_measureText'>measureText</a>(const voi…
147 …<a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPaint_measureText'>measureText</a>(const …
148 …int <a href='#SkPaint_getTextWidths'>getTextWidths</a>(const void* <a href='undocumented#Text'>tex…
149 <a href='SkRect_Reference#SkRect'>SkRect</a> bounds[] = nullptr) const;
150 …href='#SkPaint_getTextPath'>getTextPath</a>(const void* <a href='undocumented#Text'>text</a>, size…
151 … <a href='SkPath_Reference#SkPath'>SkPath</a>* <a href='SkPath_Reference#Path'>path</a>) const;
152 …void <a href='#SkPaint_getPosTextPath'>getPosTextPath</a>(const void* <a href='undocumented#Text'>…
153 …const <a href='SkPoint_Reference#SkPoint'>SkPoint</a> pos[], <a href='SkPath_Reference#SkPath'>SkP…
154 bool <a href='#SkPaint_nothingToDraw'>nothingToDraw</a>() const;
159 <a href='SkPaint_Reference#Paint'>Paint</a> controls options applied when drawing and measuring. <a…
160 options outside of the <a href='#Canvas_Clip'>Canvas_Clip</a> and <a href='#Canvas_Matrix'>Canvas_M…
162 Various options apply to <a href='undocumented#Text'>text</a>, strokes and fills, and images.
165 the option has no effect. Some options are conveniences that duplicate <a href='SkCanvas_Reference#…
166 functionality; for instance, <a href='#Text_Size'>text size</a> is identical to <a href='SkMatrix_…
168 <a href='SkPaint_Reference#Paint'>Paint</a> options are rarely exclusive; each option modifies a st…
169 pipeline and multiple pipeline stages may be affected by a single <a href='SkPaint_Reference#Paint'…
171 <a href='SkPaint_Reference#Paint'>Paint</a> collects effects and filters that describe single-pass …
172 algorithms that alter the drawing geometry, <a href='SkColor_Reference#Color'>color</a>, and transp…
173 <a href='SkPaint_Reference#Paint'>Paint</a> does not directly implement dashing or blur, but contai…
175 The objects contained by <a href='SkPaint_Reference#Paint'>Paint</a> are opaque, and cannot be edit…
177 <a href='SkPaint_Reference#Paint'>Paint</a>, or ignore them altogether. For instance, some GPU impl…
178 …href='SkPath_Reference#Path'>Path</a> geometries with <a href='#Paint_Anti_Alias'>Anti_Aliasing</a…
179 is set in <a href='SkPaint_Reference#Paint'>Paint</a>.
181 …href='SkPaint_Reference#Paint'>Paint</a> describes a single <a href='SkColor_Reference#Color'>colo…
183 <a href='undocumented#Shader'>Shader</a> attached to <a href='SkPaint_Reference#Paint'>Paint</a>.
190 <a href='#SkPaint_empty_constructor'>SkPaint()</a>
193 Constructs <a href='SkPaint_Reference#Paint'>Paint</a> with default values.
197 | <a href='#Paint_Anti_Alias'>Anti_Alias</a> | false |
198 | <a href='#Blend_Mode'>Blend_Mode</a> | <a href='SkBlendMode_Reference#SkBlendMode'>SkBlendMode</a…
199 | <a href='SkColor_Reference#Color'>Color</a> | <a href='SkColor_Reference#SK_ColorBLACK'>SK_ColorB…
200 | <a href='#Color_Alpha'>Color_Alpha</a> | 255 |
201 | <a href='#Color_Filter'>Color_Filter</a> | nullptr |
203 | <a href='#Draw_Looper'>Draw_Looper</a> | nullptr |
204 | <a href='#Filter_Quality'>Filter_Quality</a> | <a href='undocumented#kNone_SkFilterQuality'>kNone…
205 | <a href='#Font_Force_Hinting'>Font_Force_Hinting</a> | false |
206 | <a href='#Font_Embedded_Bitmaps'>Font_Embedded_Bitmaps</a> | false |
207 | <a href='#Font_Embolden'>Font_Embolden</a> | false |
208 | <a href='#Font_Hinting'>Font_Hinting</a> | <a href='undocumented#SkFontHinting'>SkFontHinting</a>…
209 | <a href='#Font_Hinting_Spacing'>Font_Hinting_Spacing</a> | false |
210 | <a href='#Font_Anti_Alias'>Font_Anti_Alias</a> | false |
211 | <a href='#Font_Linear'>Font_Linear</a> | false |
212 | <a href='#Font_Scale_X'>Font_Scale_X</a> | 1 |
213 | <a href='#Font_Size'>Font_Size</a> | 12 |
214 | <a href='#Font_Skew_X'>Font_Skew_X</a> | 0 |
215 | <a href='#Font_Subpixel'>Font_Subpixel</a> | false |
216 | <a href='#Image_Filter'>Image_Filter</a> | nullptr |
217 | <a href='#Paint_Miter_Limit'>Miter_Limit</a> | 4 |
218 | <a href='#Mask_Filter'>Mask_Filter</a> | nullptr |
219 | <a href='#Path_Effect'>Path_Effect</a> | nullptr |
220 | <a href='undocumented#Shader'>Shader</a> | nullptr |
221 | <a href='#SkPaint_Style'>Style</a> | <a href='#SkPaint_kFill_Style'>kFill_Style</a> |
222 | <a href='#Text_Encoding'>Text_Encoding</a> | <a href='undocumented#SkTextEncoding::kUTF8'>SkTextE…
223 | <a href='undocumented#Typeface'>Typeface</a> | nullptr |
224 | <a href='#Paint_Stroke_Cap'>Stroke_Cap</a> | <a href='#SkPaint_kButt_Cap'>kButt_Cap</a> |
225 | <a href='#Paint_Stroke_Join'>Stroke_Join</a> | <a href='#SkPaint_kMiter_Join'>kMiter_Join</a> |
226 | <a href='#Paint_Stroke_Width'>Stroke_Width</a> | 0 |
228 The flags, <a href='undocumented#Text'>text</a> <a href='undocumented#Size'>size</a>, hinting, and …
229 <a href='SkPaint_Reference#Paint'>paint</a> default values. The overrides may be included in "SkUse…
234 default initialized <a href='SkPaint_Reference#Paint'>Paint</a>
245 <a href='#SkPaint_copy_const_SkPaint'>SkPaint</a>(const <a href='SkPaint_Reference#SkPaint'>SkPaint…
248 …href='SkPaint_Reference#SkPaint'>SkPaint</a>. <a href='undocumented#SkTypeface'>SkTypeface</a>, <a…
249 …href='undocumented#SkMaskFilter'>SkMaskFilter</a>, <a href='undocumented#SkColorFilter'>SkColorFil…
250 between the original <a href='#SkPaint_copy_const_SkPaint_paint'>paint</a> and the copy. Objects co…
253 …href='undocumented#SkPathEffect'>SkPathEffect</a>, <a href='undocumented#SkShader'>SkShader</a>, <…
254 <a href='undocumented#SkDrawLooper'>SkDrawLooper</a>, and <a href='undocumented#SkImageFilter'>SkIm…
255 This prevents objects with <a href='undocumented#SkRefCnt'>SkRefCnt</a> from being modified once <a…
266 shallow copy of <a href='#SkPaint_copy_const_SkPaint_paint'>paint</a>
286 <a href='#SkPaint_move_SkPaint'>SkPaint</a>(<a href='SkPaint_Reference#SkPaint'>SkPaint</a>&& <a hr…
290 of objects referenced by the <a href='#SkPaint_move_SkPaint_paint'>paint</a>.
292 After the call, <a href='#SkPaint_move_SkPaint_paint'>paint</a> is undefined, and can be safely des…
303 content of <a href='#SkPaint_move_SkPaint_paint'>paint</a>
322 void <a href='#SkPaint_reset'>reset()</a>
325 Sets all <a href='SkPaint_Reference#SkPaint'>SkPaint</a> contents to their initial values. This is …
326 <a href='SkPaint_Reference#SkPaint'>SkPaint</a> with the result of <a href='#SkPaint_empty_construc…
345 <a href='#SkPaint_destructor'>~SkPaint()</a>
348 …href='SkPaint_Reference#SkPaint'>SkPaint</a> <a href='undocumented#SkRefCnt'>SkRefCnt</a> of owned…
349 …href='undocumented#SkMaskFilter'>SkMaskFilter</a>, <a href='undocumented#SkColorFilter'>SkColorFil…
350 objects containing <a href='undocumented#SkRefCnt'>SkRefCnt</a> go to zero, they are deleted.
359 …href='SkPaint_Reference#SkPaint'>SkPaint</a>& <a href='#SkPaint_copy_operator'>operator=</a>(const…
362 …href='SkPaint_Reference#SkPaint'>SkPaint</a>. <a href='undocumented#SkTypeface'>SkTypeface</a>, <a…
363 …href='undocumented#SkMaskFilter'>SkMaskFilter</a>, <a href='undocumented#SkColorFilter'>SkColorFil…
364 between the original <a href='#SkPaint_copy_operator_paint'>paint</a> and the copy. Objects contain…
366 …lting count is zero. Objects containing <a href='undocumented#SkRefCnt'>SkRefCnt</a> in the parame…
367 are increased by one. <a href='#SkPaint_copy_operator_paint'>paint</a> is unmodified.
378 content of <a href='#SkPaint_copy_operator_paint'>paint</a>
398 … href='SkPaint_Reference#SkPaint'>SkPaint</a>& <a href='#SkPaint_move_operator'>operator=</a>(<a h…
401 Moves the <a href='#SkPaint_move_operator_paint'>paint</a> to avoid increasing the reference counts
402 of objects referenced by the <a href='#SkPaint_move_operator_paint'>paint</a> parameter. Objects co…
406 After the call, <a href='#SkPaint_move_operator_paint'>paint</a> is undefined, and can be safely de…
417 content of <a href='#SkPaint_move_operator_paint'>paint</a>
436 bool <a href='#SkPaint_equal_operator'>operator==</a>(const <a href='SkPaint_Reference#SkPaint'>SkP…
439 …href='#SkPaint_equal_operator_a'>a</a> and <a href='#SkPaint_equal_operator_b'>b</a>, and returns …
440 …href='undocumented#SkTypeface'>SkTypeface</a>, <a href='undocumented#SkPathEffect'>SkPathEffect</a…
441 <a href='undocumented#SkDrawLooper'>SkDrawLooper</a>, or <a href='undocumented#SkImageFilter'>SkIma…
446 <td><a href='SkPaint_Reference#SkPaint'>SkPaint</a> to compare</td>
449 <td><a href='SkPaint_Reference#SkPaint'>SkPaint</a> to compare</td>
455 true if <a href='SkPaint_Reference#SkPaint'>SkPaint</a> pair are equivalent
472 …href='#SkPaint_notequal_operator'>operator!=</a>(const <a href='SkPaint_Reference#SkPaint'>SkPaint…
479 bool <a href='#SkPaint_notequal_operator'>operator!=</a>(const <a href='SkPaint_Reference#SkPaint'>…
482 …href='#SkPaint_notequal_operator_a'>a</a> and <a href='#SkPaint_notequal_operator_b'>b</a>, and re…
483 …href='undocumented#SkTypeface'>SkTypeface</a>, <a href='undocumented#SkPathEffect'>SkPathEffect</a…
484 <a href='undocumented#SkDrawLooper'>SkDrawLooper</a>, or <a href='undocumented#SkImageFilter'>SkIma…
489 <td><a href='SkPaint_Reference#SkPaint'>SkPaint</a> to compare</td>
492 <td><a href='SkPaint_Reference#SkPaint'>SkPaint</a> to compare</td>
498 true if <a href='SkPaint_Reference#SkPaint'>SkPaint</a> pair are not equivalent
515 …href='#SkPaint_equal_operator'>operator==</a>(const <a href='SkPaint_Reference#SkPaint'>SkPaint</a…
522 uint32_t <a href='#SkPaint_getHash'>getHash</a>()const
525 Returns a hash generated from <a href='SkPaint_Reference#SkPaint'>SkPaint</a> values and pointers.
530 If <a href='#SkPaint_equal_operator'>operator==</a>(const <a href='SkPaint_Reference#SkPaint'>SkPai…
559 void <a href='#SkPaint_setHinting'>setHinting</a>(<a href='undocumented#SkFontHinting'>SkFontHintin…
562 Sets level of <a href='undocumented#Glyph'>glyph</a> outline adjustment.
563 Does not check for valid values of <a href='#SkPaint_setHinting_hintingLevel'>hintingLevel</a>.
568 …href='undocumented#SkFontHinting'>SkFontHinting</a>::<a href='#SkFontHinting_kNone'>kNone</a>, <a …
572 …href='undocumented#SkFontHinting'>SkFontHinting</a>::<a href='#SkFontHinting_kNormal'>kNormal</a>,…
591 <a href='undocumented#SkFontHinting'>SkFontHinting</a> <a href='#SkPaint_getHinting'>getHinting</a>…
594 Returns level of <a href='undocumented#Glyph'>glyph</a> outline adjustment.
598 …href='undocumented#SkFontHinting'>SkFontHinting</a>::<a href='#SkFontHinting_kNone'>kNone</a>, <a …
600 <a href='undocumented#SkFontHinting'>SkFontHinting</a>::<a href='#SkFontHinting_kFull'>kFull</a>
672 mask of all <a href='#SkPaint_Flags'>Flags</a>, including private flags and flags reserved for futu…
675 <a href='#SkPaint_Flags'>Flags</a> default to all flags clear, disabling the associated feature.
683 uint32_t <a href='#SkPaint_getFlags'>getFlags</a>()const
686 Returns <a href='SkPaint_Reference#Paint'>paint</a> settings described by <a href='SkPaint_Referenc…
687 bit, and can be tested with <a href='SkPaint_Reference#SkPaint'>SkPaint</a>::<a href='#SkPaint_Flag…
691 zero, one, or more bits described by <a href='SkPaint_Reference#SkPaint'>SkPaint</a>::<a href='#SkP…
710 void <a href='#SkPaint_setFlags'>setFlags</a>(uint32_t flags)
713 …href='SkPaint_Reference#SkPaint'>SkPaint</a>::<a href='#SkPaint_Flags'>Flags</a> with <a href='#Sk…
714 All <a href='SkPaint_Reference#SkPaint'>SkPaint</a>::<a href='#SkPaint_Flags'>Flags</a> members may…
719 …<td>union of <a href='SkPaint_Reference#SkPaint'>SkPaint</a>::<a href='#SkPaint_Flags'>Flags</a> f…
740 <a href='#Paint_Anti_Alias'>Anti_Alias</a> drawing approximates partial <a href='undocumented#Pixel…
741 If <a href='#SkPaint_kAntiAlias_Flag'>kAntiAlias_Flag</a> is clear, <a href='undocumented#Pixel'>pi…
742 If <a href='#SkPaint_kAntiAlias_Flag'>kAntiAlias_Flag</a> is set, pixels are drawn with <a href='#C…
744 The rule for <a href='undocumented#Alias'>Aliased</a> pixels is inconsistent across platforms. A sh…
745 passing through the <a href='undocumented#Pixel'>pixel</a> center may, but is not required to, draw…
747 <a href='#Raster_Engine'>Raster_Engine</a> draws <a href='undocumented#Alias'>Aliased</a> pixels wh…
748 active <a href='SkPath_Reference#Path'>Path</a> edge, and whose center is to the left of the end of…
750 A platform may only support <a href='#Paint_Anti_Alias'>Anti_Aliased</a> drawing. Some GPU-backed p…
751 <a href='undocumented#Supersampling'>Supersampling</a> to <a href='#Paint_Anti_Alias'>Anti_Alias</a…
752 <a href='undocumented#Alias'>Alias</a>.
754 The amount of coverage computed for <a href='#Paint_Anti_Alias'>Anti_Aliased</a> pixels also varies…
756 <a href='#Paint_Anti_Alias'>Anti_Alias</a> is disabled by default.
757 …href='#Paint_Anti_Alias'>Anti_Alias</a> can be enabled by default by setting <a href='undocumented…
762 <div><fiddle-embed name="a6575a49467ce8d28bb01cc7638fa04d"><div>A red <a href='undocumented#Line'>l…
763 A blue <a href='undocumented#Line'>line</a> draws only where the <a href='undocumented#Pixel'>pixel…
764 The <a href='undocumented#Line'>lines</a> are drawn into <a href='SkBitmap_Reference#Bitmap'>Bitmap…
765 <a href='undocumented#Alias'>Aliasing</a> easier to see.
773 bool <a href='#SkPaint_isAntiAlias'>isAntiAlias</a>()const
776 Returns true if pixels on the active edges of <a href='SkPath_Reference#SkPath'>SkPath</a> may be d…
778 Equivalent to <a href='#SkPaint_getFlags'>getFlags</a>() masked with <a href='#SkPaint_kAntiAlias_F…
782 <a href='#SkPaint_kAntiAlias_Flag'>kAntiAlias_Flag</a> state
802 void <a href='#SkPaint_setAntiAlias'>setAntiAlias</a>(bool aa)
808 Sets <a href='#SkPaint_kAntiAlias_Flag'>kAntiAlias_Flag</a> if <a href='#SkPaint_setAntiAlias_aa'>a…
809 Clears <a href='#SkPaint_kAntiAlias_Flag'>kAntiAlias_Flag</a> if <a href='#SkPaint_setAntiAlias_aa'…
814 <td>setting for <a href='#SkPaint_kAntiAlias_Flag'>kAntiAlias_Flag</a></td>
834 Dither increases fidelity by adjusting the <a href='SkColor_Reference#Color'>color</a> of adjacent …
835 This can help to smooth <a href='SkColor_Reference#Color'>color</a> transitions and reducing bandin…
836 Dithering lessens visible banding from <a href='SkImageInfo_Reference#kRGB_565_SkColorType'>kRGB_56…
837 and <a href='SkImageInfo_Reference#kRGBA_8888_SkColorType'>kRGBA_8888_SkColorType</a> gradients,
838 and improves rendering into a <a href='SkImageInfo_Reference#kRGB_565_SkColorType'>kRGB_565_SkColor…
841 …href='SkImageInfo_Reference#kRGB_565_SkColorType'>kRGB_565_SkColorType</a> <a href='SkSurface_Refe…
842 Dither cannot be enabled for <a href='SkImageInfo_Reference#kAlpha_8_SkColorType'>kAlpha_8_SkColorT…
843 <a href='SkImageInfo_Reference#kRGBA_F16_SkColorType'>kRGBA_F16_SkColorType</a> <a href='SkSurface_…
846 … be enabled by default by setting <a href='undocumented#SkPaintDefaults_Flags'>SkPaintDefaults_Fla…
849 …re dithering. Set <code>SK_IGNORE_GPU_DITHER</code>to ignore Dither on <a href='#GPU_Surface'>GPU_…
853 …v>Dithering in the bottom half more closely approximates the requested <a href='SkColor_Reference#…
854 alternating nearby colors from <a href='undocumented#Pixel'>pixel</a> to <a href='undocumented#Pixe…
859 …a48495e4d5f54e073be53"><div>Dithering introduces subtle adjustments to <a href='SkColor_Reference#…
860 Drawing the gradient repeatedly with <a href='SkBlendMode_Reference#SkBlendMode'>SkBlendMode</a>::<…
866 Gradient <a href='SkImageInfo_Reference#kRGB_565_SkColorType'>kRGB_565_SkColorType</a>
873 bool <a href='#SkPaint_isDither'>isDither</a>()const
876 Returns true if <a href='SkColor_Reference#Color'>color</a> error may be distributed to smooth <a h…
878 Equivalent to <a href='#SkPaint_getFlags'>getFlags</a>() masked with <a href='#SkPaint_kDither_Flag…
882 <a href='#SkPaint_kDither_Flag'>kDither_Flag</a> state
902 void <a href='#SkPaint_setDither'>setDither</a>(bool dither)
905 Requests, but does not require, to distribute <a href='SkColor_Reference#Color'>color</a> error.
907 Sets <a href='#SkPaint_kDither_Flag'>kDither_Flag</a> if <a href='#SkPaint_setDither_dither'>dither…
908 Clears <a href='#SkPaint_kDither_Flag'>kDither_Flag</a> if <a href='#SkPaint_setDither_dither'>dith…
913 <td>setting for <a href='#SkPaint_kDither_Flag'>kDither_Flag</a></td>
931 <a href='SkImageInfo_Reference#kRGB_565_SkColorType'>kRGB_565_SkColorType</a>
937 <a href='#Font_Anti_Alias'>Font_Anti_Alias</a> and <a href='#Font_Subpixel'>Font_Subpixel</a> incre…
939 When set, <a href='#SkPaint_Flags'>Flags</a> <a href='#SkPaint_kLCDRenderText_Flag'>kLCDRenderText_…
940 create a <a href='SkColor_Reference#Color'>color</a>, and relies
941 on the small <a href='undocumented#Size'>size</a> of the stripe and visual perception to make the <…
942 <a href='#Font_Anti_Alias'>Font_Anti_Alias</a> can be enabled on devices that orient stripes horizo…
943 the <a href='SkColor_Reference#Color'>color</a> components as RGB or BGR.
945 <a href='#SkPaint_Flags'>Flags</a> <a href='#SkPaint_kSubpixelText_Flag'>kSubpixelText_Flag</a> use…
947 …href='SkColor_Reference#Color'>color</a> increases, the edge of the <a href='undocumented#Glyph'>g…
950 <a href='#SkPaint_kLCDRenderText_Flag'>kLCDRenderText_Flag</a> and <a href='#SkPaint_kSubpixelText_…
951 <a href='#Font_Anti_Alias'>Font_Anti_Alias</a> or <a href='#Font_Subpixel'>Font_Subpixel</a> can be…
952 <a href='#SkPaint_kLCDRenderText_Flag'>kLCDRenderText_Flag</a> or <a href='#SkPaint_kSubpixelText_F…
956 …s are drawn normally and with combinations of <a href='#Font_Anti_Alias'>Font_Anti_Alias</a> and <…
957 When <a href='#Font_Subpixel'>Font_Subpixel</a> is disabled, the comma <a href='undocumented#Glyph'…
958 When <a href='#Font_Subpixel'>Font_Subpixel</a> is enabled, the comma <a href='undocumented#Glyph'>…
963 …href='#Font_Linear'>Font_Linear</a> selects whether <a href='undocumented#Text'>text</a> is render…
964 …href='#Font_Linear'>Font_Linear</a> is set, it has the same effect as setting Hinting to <a href='…
965 …<a href='#Font_Linear'>Font_Linear</a> is clear, it is the same as setting Hinting to <a href='und…
972 bool <a href='#SkPaint_isLinearText'>isLinearText</a>()const
975 Returns true if <a href='undocumented#Text'>text</a> is converted to <a href='SkPath_Reference#SkPa…
977 Equivalent to <a href='#SkPaint_getFlags'>getFlags</a>() masked with <a href='#SkPaint_kLinearText_…
981 <a href='#SkPaint_kLinearText_Flag'>kLinearText_Flag</a> state
989 <a href='#SkPaint_setLinearText'>setLinearText</a> Hinting
996 void <a href='#SkPaint_setLinearText'>setLinearText</a>(bool linearText)
999 Requests, but does not require, that <a href='undocumented#Glyph'>glyphs</a> are converted to <a hr…
1001 By default, <a href='#SkPaint_kLinearText_Flag'>kLinearText_Flag</a> is clear.
1003 Sets <a href='#SkPaint_kLinearText_Flag'>kLinearText_Flag</a> if <a href='#SkPaint_setLinearText_li…
1004 Clears <a href='#SkPaint_kLinearText_Flag'>kLinearText_Flag</a> if <a href='#SkPaint_setLinearText_…
1009 <td>setting for <a href='#SkPaint_kLinearText_Flag'>kLinearText_Flag</a></td>
1019 <a href='#SkPaint_isLinearText'>isLinearText</a> Hinting
1023 <a href='#SkPaint_Flags'>Flags</a> <a href='#SkPaint_kSubpixelText_Flag'>kSubpixelText_Flag</a> use…
1025 …href='SkColor_Reference#Color'>color</a> increases, the edge of the <a href='undocumented#Glyph'>g…
1032 bool <a href='#SkPaint_isSubpixelText'>isSubpixelText</a>()const
1035 …true if <a href='undocumented#Glyph'>glyphs</a> at different <a href='SkFont_Reference#Subpixel'>s…
1037 Equivalent to <a href='#SkPaint_getFlags'>getFlags</a>() masked with <a href='#SkPaint_kSubpixelTex…
1041 <a href='#SkPaint_kSubpixelText_Flag'>kSubpixelText_Flag</a> state
1061 void <a href='#SkPaint_setSubpixelText'>setSubpixelText</a>(bool subpixelText)
1064 Requests, but does not require, that <a href='undocumented#Glyph'>glyphs</a> respect <a href='SkFon…
1066 Sets <a href='#SkPaint_kSubpixelText_Flag'>kSubpixelText_Flag</a> if <a href='#SkPaint_setSubpixelT…
1067 Clears <a href='#SkPaint_kSubpixelText_Flag'>kSubpixelText_Flag</a> if <a href='#SkPaint_setSubpixe…
1072 <td>setting for <a href='#SkPaint_kSubpixelText_Flag'>kSubpixelText_Flag</a></td>
1090 When set, <a href='#Font_Anti_Alias'>Font_Anti_Alias</a> takes advantage of the organization of RGB…
1091 create a <a href='SkColor_Reference#Color'>color</a>, and relies
1092 on the small <a href='undocumented#Size'>size</a> of the stripe and visual perception to make the <…
1093 <a href='#Font_Anti_Alias'>Font_Anti_Alias</a> can be enabled on devices that orient stripes horizo…
1094 the <a href='SkColor_Reference#Color'>color</a> components as RGB or BGR.
1101 bool <a href='#SkPaint_isLCDRenderText'>isLCDRenderText</a>()const
1104 Returns true if <a href='undocumented#Glyph'>glyphs</a> may use LCD striping to improve <a href='un…
1106 Returns true if <a href='SkPaint_Reference#SkPaint'>SkPaint</a>::<a href='#SkPaint_Flags'>Flags</a>…
1110 <a href='#SkPaint_kLCDRenderText_Flag'>kLCDRenderText_Flag</a> state
1130 void <a href='#SkPaint_setLCDRenderText'>setLCDRenderText</a>(bool lcdText)
1133 Requests, but does not require, that <a href='undocumented#Glyph'>glyphs</a> use LCD striping for <…
1135 Sets <a href='#SkPaint_kLCDRenderText_Flag'>kLCDRenderText_Flag</a> if <a href='#SkPaint_setLCDRend…
1136 Clears <a href='#SkPaint_kLCDRenderText_Flag'>kLCDRenderText_Flag</a> if <a href='#SkPaint_setLCDRe…
1141 <td>setting for <a href='#SkPaint_kLCDRenderText_Flag'>kLCDRenderText_Flag</a></td>
1161 <a href='#Font_Embedded_Bitmaps'>Font_Embedded_Bitmaps</a> allows selecting custom sized <a href='S…
1162 …href='#SkPaint_Flags'>Flags</a> <a href='#SkPaint_kEmbeddedBitmapText_Flag'>kEmbeddedBitmapText_Fl…
1163 in a <a href='SkFont_Reference#Font'>font</a> if the platform supports this option.
1165 …eeType selects the <a href='SkBitmap_Reference#Bitmap'>bitmap</a> <a href='undocumented#Glyph'>gly…
1166 the outline <a href='undocumented#Glyph'>glyph</a> if <a href='#SkPaint_kEmbeddedBitmapText_Flag'>k…
1167 Windows may select the <a href='SkBitmap_Reference#Bitmap'>bitmap</a> <a href='undocumented#Glyph'>…
1168 <a href='#OS_X'>OS_X</a> and iOS do not support this option.
1170 <a href='#Font_Embedded_Bitmaps'>Font_Embedded_Bitmaps</a> is disabled by default.
1171 <a href='#Font_Embedded_Bitmaps'>Font_Embedded_Bitmaps</a> can be enabled by default by setting <a …
1172 <a href='#SkPaint_kEmbeddedBitmapText_Flag'>kEmbeddedBitmapText_Flag</a> at compile time.
1204 bool <a href='#SkPaint_isEmbeddedBitmapText'>isEmbeddedBitmapText</a>()const
1207 …a href='SkFont_Reference#Font'>font</a> engine may return <a href='undocumented#Glyph'>glyphs</a> …
1209 Equivalent to <a href='#SkPaint_getFlags'>getFlags</a>() masked with <a href='#SkPaint_kEmbeddedBit…
1213 <a href='#SkPaint_kEmbeddedBitmapText_Flag'>kEmbeddedBitmapText_Flag</a> state
1233 void <a href='#SkPaint_setEmbeddedBitmapText'>setEmbeddedBitmapText</a>(bool useEmbeddedBitmapText)
1236 Requests, but does not require, to use <a href='SkBitmap_Reference#Bitmap'>bitmaps</a> in fonts ins…
1238 Sets <a href='#SkPaint_kEmbeddedBitmapText_Flag'>kEmbeddedBitmapText_Flag</a> if <a href='#SkPaint_…
1239 Clears <a href='#SkPaint_kEmbeddedBitmapText_Flag'>kEmbeddedBitmapText_Flag</a> if <a href='#SkPain…
1244 <td>setting for <a href='#SkPaint_kEmbeddedBitmapText_Flag'>kEmbeddedBitmapText_Flag</a></td>
1262 …href='undocumented#SkFontHinting'>SkFontHinting</a>::<a href='#SkFontHinting_kNormal'>kNormal</a> …
1263 instructs the <a href='#Font_Manager'>Font_Manager</a> to always hint <a href='undocumented#Glyph'>…
1264 …a href='#Font_Force_Hinting'>Font_Force_Hinting</a> has no effect if Hinting is set to <a href='un…
1265 <a href='undocumented#SkFontHinting'>SkFontHinting</a>::<a href='#SkFontHinting_kSlight'>kSlight</a…
1267 <a href='#Font_Force_Hinting'>Font_Force_Hinting</a> only affects platforms that use FreeType as th…
1274 bool <a href='#SkPaint_isAutohinted'>isAutohinted</a>()const
1277 …s true if <a href='SkPaint_Reference#SkPaint'>SkPaint</a>::Hinting is set to <a href='undocumented…
1278 <a href='undocumented#SkFontHinting'>SkFontHinting</a>::<a href='#SkFontHinting_kFull'>kFull</a>, a…
1279 If true, instructs the <a href='SkFont_Reference#Font'>font</a> manager to always hint <a href='und…
1281 Equivalent to <a href='#SkPaint_getFlags'>getFlags</a>() masked with <a href='#SkPaint_kAutoHinting…
1285 <a href='#SkPaint_kAutoHinting_Flag'>kAutoHinting_Flag</a> state
1302 <a href='#SkPaint_setAutohinted'>setAutohinted</a> Hinting
1309 void <a href='#SkPaint_setAutohinted'>setAutohinted</a>(bool useAutohinter)
1312 Sets whether to always hint <a href='undocumented#Glyph'>glyphs</a>.
1313 …href='SkPaint_Reference#SkPaint'>SkPaint</a>::Hinting is set to <a href='undocumented#SkFontHintin…
1314 …href='#SkPaint_setAutohinted_useAutohinter'>useAutohinter</a> is set, instructs the <a href='undo…
1315 …href='#SkPaint_setAutohinted_useAutohinter'>useAutohinter</a> has no effect if <a href='SkPaint_Re…
1316 <a href='undocumented#SkFontHinting'>SkFontHinting</a>::<a href='#SkFontHinting_kSlight'>kSlight</a…
1318 Only affects platforms that use FreeType as the <a href='undocumented#Font_Manager'>font manager</…
1320 Sets <a href='#SkPaint_kAutoHinting_Flag'>kAutoHinting_Flag</a> if <a href='#SkPaint_setAutohinted_…
1321 Clears <a href='#SkPaint_kAutoHinting_Flag'>kAutoHinting_Flag</a> if <a href='#SkPaint_setAutohinte…
1326 <td>setting for <a href='#SkPaint_kAutoHinting_Flag'>kAutoHinting_Flag</a></td>
1336 <a href='#SkPaint_isAutohinted'>isAutohinted</a> Hinting
1342 …href='#Font_Embolden'>Font_Embolden</a> approximates the bold <a href='SkFont_Reference#Font'>font…
1343 is not available. Skia does not provide <a href='SkFont_Reference#Font'>font</a> substitution; it i…
1344 bold <a href='SkFont_Reference#Font'>font</a> face using the platform <a href='#Font_Manager'>Font_…
1346 Use <a href='#Paint_Text_Skew_X'>Text_Skew_X</a> to approximate an italic <a href='SkFont_Reference…
1350 the <a href='SkFont_Reference#Font_Engine'>font engine</a> to create the bold <a href='undocumente…
1351 by increasing the <a href='#Stroke_Width'>stroke width</a> and setting the <a href='#SkPaint_Style…
1353 <a href='#Font_Embolden'>Font_Embolden</a> is disabled by default.
1364 bool <a href='#SkPaint_isFakeBoldText'>isFakeBoldText</a>()const
1367 …e bold by increasing the stroke width when creating <a href='undocumented#Glyph'>glyph</a> <a href…
1370 Equivalent to <a href='#SkPaint_getFlags'>getFlags</a>() masked with <a href='#SkPaint_kFakeBoldTex…
1374 <a href='#SkPaint_kFakeBoldText_Flag'>kFakeBoldText_Flag</a> state
1394 void <a href='#SkPaint_setFakeBoldText'>setFakeBoldText</a>(bool fakeBoldText)
1397 …href='#Stroke_Width'>stroke width</a> when creating <a href='undocumented#Glyph'>glyph</a> <a href…
1399 Sets <a href='#SkPaint_kFakeBoldText_Flag'>kFakeBoldText_Flag</a> if <a href='#SkPaint_setFakeBoldT…
1400 Clears <a href='#SkPaint_kFakeBoldText_Flag'>kFakeBoldText_Flag</a> if <a href='#SkPaint_setFakeBol…
1405 <td>setting for <a href='#SkPaint_kFakeBoldText_Flag'>kFakeBoldText_Flag</a></td>
1425 <a href='#Filter_Quality'>Filter_Quality</a> trades speed for <a href='SkImage_Reference#Image'>ima…
1426 A lower <a href='#Filter_Quality'>Filter_Quality</a> draws faster, but has less fidelity.
1427 A higher <a href='#Filter_Quality'>Filter_Quality</a> draws slower, but looks better.
1428 If the <a href='SkImage_Reference#Image'>image</a> is drawn without scaling, the <a href='#Filter_Q…
1431 <a href='#Filter_Quality'>Filter_Quality</a> is used in <a href='SkPaint_Reference#Paint'>Paint</a>…
1434 …<td><a href='SkCanvas_Reference#SkCanvas'>SkCanvas</a>::<a href='#SkCanvas_drawBitmap'>drawBitmap<…
1436 …<td><a href='SkCanvas_Reference#SkCanvas'>SkCanvas</a>::<a href='#SkCanvas_drawBitmapRect'>drawBit…
1438 …<td><a href='SkCanvas_Reference#SkCanvas'>SkCanvas</a>::<a href='#SkCanvas_drawImage'>drawImage</a…
1440 …<td><a href='SkCanvas_Reference#SkCanvas'>SkCanvas</a>::<a href='#SkCanvas_drawImageRect'>drawImag…
1444 …href='SkPaint_Reference#Paint'>Paint</a> has a <a href='undocumented#Shader'>Shader</a> specializa…
1446 <a href='#Filter_Quality'>Filter_Quality</a> is <a href='undocumented#kNone_SkFilterQuality'>kNone_…
1457 <a href='undocumented#SkFilterQuality'>SkFilterQuality</a> <a href='#SkPaint_getFilterQuality'>getF…
1460 Returns <a href='undocumented#SkFilterQuality'>SkFilterQuality</a>, the <a href='SkImage_Reference#…
1461 draws faster; a higher setting looks better when the <a href='SkImage_Reference#Image'>image</a> is…
1465 one of: <a href='undocumented#kNone_SkFilterQuality'>kNone_SkFilterQuality</a>, <a href='undocument…
1467 <a href='undocumented#kMedium_SkFilterQuality'>kMedium_SkFilterQuality</a>, <a href='undocumented#k…
1486 void <a href='#SkPaint_setFilterQuality'>setFilterQuality</a>(<a href='undocumented#SkFilterQuality…
1489 Sets <a href='undocumented#SkFilterQuality'>SkFilterQuality</a>, the <a href='SkImage_Reference#Ima…
1490 draws faster; a higher setting looks better when the <a href='SkImage_Reference#Image'>image</a> is…
1491 Does not check to see if <a href='#SkPaint_setFilterQuality_quality'>quality</a> is valid.
1496 …<td>one of: <a href='undocumented#kNone_SkFilterQuality'>kNone_SkFilterQuality</a>, <a href='undoc…
1500 <a href='undocumented#kMedium_SkFilterQuality'>kMedium_SkFilterQuality</a>, <a href='undocumented#k…
1516 <a href='undocumented#SkFilterQuality'>SkFilterQuality</a> <a href='#Image_Scaling'>Image_Scaling</…
1524 | <a href='#SkPaint_getColor'>getColor</a> | returns <a href='#Color_Alpha'>Color_Alpha</a> and RGB…
1525 | <a href='#SkPaint_setColor'>setColor</a> | sets <a href='#Color_Alpha'>Color_Alpha</a> and RGB, o…
1527 <a href='SkColor_Reference#Color'>Color</a> specifies the red, blue, green, and <a href='#Color_Alp…
1532 <a href='SkColor_Reference#Color'>Color</a> is not <a href='undocumented#Premultiply'>Premultiplied…
1535 The bit positions of <a href='#Color_Alpha'>Color_Alpha</a> and RGB are independent of the bit
1536 positions on the output <a href='undocumented#Device'>device</a>, which may have more or fewer bits…
1539 | bit positions | <a href='#Color_Alpha'>Color_Alpha</a> | red | blue | green |
1552 <a href='SkColor_Reference#SkColor'>SkColor</a> <a href='#SkPaint_getColor'>getColor</a>()const
1555 Retrieves <a href='SkColor_Reference#Alpha'>alpha</a> and RGB, <a href='undocumented#Unpremultiply'…
1556 …href='SkColor_Reference#SkColorGetA'>SkColorGetA</a>(), <a href='SkColor_Reference#SkColorGetR'>Sk…
1557 a <a href='SkColor_Reference#Color'>color</a> component.
1561 <a href='undocumented#Unpremultiply'>unpremultiplied</a> ARGB
1577 <a href='#SkPaint_getColor4f'>getColor4f</a> <a href='SkColor_Reference#SkColor'>SkColor</a>
1584 <a href='SkColor4f_Reference#SkColor4f'>SkColor4f</a> <a href='#SkPaint_getColor4f'>getColor4f</a>(…
1587 …rieves <a href='SkColor_Reference#Alpha'>alpha</a> and RGB, <a href='undocumented#Unpremultiply'>u…
1592 <a href='undocumented#Unpremultiply'>unpremultiplied</a> RGBA
1608 <a href='#SkPaint_getColor'>getColor</a> <a href='SkColor_Reference#SkColor'>SkColor</a>
1615 void <a href='#SkPaint_setColor'>setColor</a>(<a href='SkColor_Reference#SkColor'>SkColor</a> <a hr…
1618 Sets <a href='SkColor_Reference#Alpha'>alpha</a> and RGB used when stroking and filling. The <a hre…
1619 <a href='undocumented#Unpremultiply'>unpremultiplied</a>, packing 8-bit components for <a href='SkC…
1624 <td><a href='undocumented#Unpremultiply'>unpremultiplied</a> ARGB</td>
1642 <a href='SkColor_Reference#SkColor'>SkColor</a> <a href='#SkPaint_setColor4f'>setColor4f</a> <a hre…
1649 …href='#SkPaint_setColor4f'>setColor4f</a>(const <a href='SkColor4f_Reference#SkColor4f'>SkColor4f<…
1652 Sets <a href='SkColor_Reference#Alpha'>alpha</a> and RGB used when stroking and filling. The <a hre…
1653 <a href='SkPoint_Reference#Point'>point</a> values, <a href='undocumented#Unpremultiply'>unpremulti…
1654 the <a href='#SkPaint_setColor4f_colorSpace'>colorSpace</a>. If <a href='#SkPaint_setColor4f_colorS…
1655 sRGB <a href='undocumented#Color_Space'>color space</a>.
1660 <td><a href='undocumented#Unpremultiply'>unpremultiplied</a> RGBA</td>
1663 …<td><a href='undocumented#SkColorSpace'>SkColorSpace</a> describing the encoding of <a href='#SkPa…
1681 <a href='SkColor_Reference#SkColor'>SkColor</a> <a href='#SkPaint_setColor'>setColor</a> <a href='#…
1685 <a href='#Color_Alpha'>Color_Alpha</a> sets the transparency independent of RGB: red, blue, and gre…
1692 uint8_t <a href='#SkPaint_getAlpha'>getAlpha</a>()const
1695 Retrieves <a href='SkColor_Reference#Alpha'>alpha</a> from the <a href='SkColor_Reference#Color'>co…
1699 <a href='SkColor_Reference#Alpha'>alpha</a> ranging from zero, fully transparent, to 255, fully opa…
1718 void <a href='#SkPaint_setAlpha'>setAlpha</a>(<a href='undocumented#U8CPU'>U8CPU</a> a)
1721 Replaces <a href='SkColor_Reference#Alpha'>alpha</a>, leaving RGB
1723 build. <a href='#SkPaint_setAlpha_a'>a</a> is <a href='#SkPaint_setAlpha_a'>a</a> value from zero t…
1724 …href='#SkPaint_setAlpha_a'>a</a> set to zero makes <a href='SkColor_Reference#Color'>color</a> ful…
1730 …<td><a href='SkColor_Reference#Alpha'>alpha</a> component of <a href='SkColor_Reference#Color'>col…
1751 …href='#SkPaint_setARGB'>setARGB</a>(<a href='undocumented#U8CPU'>U8CPU</a> a, <a href='undocumente…
1754 Sets <a href='SkColor_Reference#Color'>color</a> used when drawing solid fills. The <a href='SkColo…
1755 The <a href='SkColor_Reference#Color'>color</a> is <a href='undocumented#Unpremultiply'>unpremultip…
1760 …<td>amount of <a href='SkColor_Reference#Alpha'>alpha</a>, from fully transparent (0) to fully opa…
1787 <a href='#SkPaint_setColor'>setColor</a> <a href='SkColor_Reference#SkColorSetARGB'>SkColorSetARGB<…
1793 <a href='#SkPaint_Style'>Style</a> specifies if the geometry is filled, stroked, or both filled and…
1794 Some shapes ignore <a href='#SkPaint_Style'>Style</a> and are always drawn filled or stroked.
1798 Set <a href='#SkPaint_Style'>Style</a> to <a href='#SkPaint_kFill_Style'>kFill_Style</a> to fill th…
1803 Set <a href='#SkPaint_Style'>Style</a> to <a href='#SkPaint_kStroke_Style'>kStroke_Style</a> to str…
1806 <a href='#Paint_Stroke_Width'>Stroke_Width</a>. The area covered where the shape starts and stops i…
1807 The area covered where the shape turns a corner is described by <a href='#Paint_Stroke_Join'>Stroke…
1808 …ge.As <a href='#Paint_Stroke_Width'>Stroke_Width</a> gets smaller, the drawn <a href='SkPath_Refer…
1809 may have gaps, and if <a href='#SkPaint_kAntiAlias_Flag'>kAntiAlias_Flag</a> is set, <a href='#Colo…
1813 <a href='#Path_Fill_Type'>Path_Fill_Type</a> <a href='#Path_Effect'>Path_Effect</a> <a href='#Paint…
1819 <a href='#Paint_Stroke_Width'>Stroke_Width</a> of zero has a special meaning and switches drawing t…
1820 Hairline draws the thinnest continuous frame. If <a href='#SkPaint_kAntiAlias_Flag'>kAntiAlias_Flag…
1823 …href='SkPath_Reference#Path'>Path</a> drawing with Hairline may hit the same <a href='undocumented…
1824 …href='undocumented#Line'>lines</a> in one <a href='#Path_Overview_Contour'>Path_Contour</a> will d…
1825 …href='undocumented#Pixel'>pixel</a>. If <a href='#SkPaint_kAntiAlias_Flag'>kAntiAlias_Flag</a> is …
1831 <a href='#Path_Fill_Type'>Path_Fill_Type</a> <a href='#Path_Effect'>Path_Effect</a> <a href='#Paint…
1838 enum <a href='#SkPaint_Style'>Style</a> : uint8_t {
1839 <a href='#SkPaint_kFill_Style'>kFill_Style</a>,
1840 <a href='#SkPaint_kStroke_Style'>kStroke_Style</a>,
1841 <a href='#SkPaint_kStrokeAndFill_Style'>kStrokeAndFill_Style</a>,
1847 …static constexpr int <a href='#SkPaint_kStyleCount'>kStyleCount</a> = <a href='#SkPaint_kStrokeAnd…
1850 Set <a href='#SkPaint_Style'>Style</a> to fill, stroke, or both fill and stroke geometry.
1852 share all <a href='SkPaint_Reference#Paint'>paint</a> attributes; for instance, they are drawn with…
1854 Use <a href='#SkPaint_kStrokeAndFill_Style'>kStrokeAndFill_Style</a> to avoid hitting the same pixe…
1867 …href='SkRect_Reference#Rect'>Rect</a>, <a href='SkRegion_Reference#Region'>Region</a>, <a href='#R…
1868 …href='SkBitmap_Reference#Bitmap'>Bitmap</a>, <a href='SkImage_Reference#Image'>Image</a>, <a href=…
1869 <a href='#SkPaint_kFill_Style'>kFill_Style</a> is set, and ignore the set <a href='#SkPaint_Style'>…
1870 The <a href='#Path_Fill_Type'>Path_Fill_Type</a> specifies additional rules to fill the area outsid…
1872 <a href='#SkPaint_Style'>Style</a> is set to <a href='#SkPaint_kFill_Style'>kFill_Style</a> by defa…
1879 …href='SkRect_Reference#Rect'>Rect</a>, <a href='SkRegion_Reference#Region'>Region</a>, <a href='#R…
1880 …href='undocumented#Arc'>Arcs</a>, <a href='undocumented#Line'>Lines</a>, and <a href='SkPoint_Refe…
1881 and ignore the set <a href='#SkPaint_Style'>Style</a>.
1882 The stroke construction is unaffected by the <a href='#Path_Fill_Type'>Path_Fill_Type</a>.
1889 …href='SkRect_Reference#Rect'>Rect</a>, <a href='SkRegion_Reference#Region'>Region</a>, <a href='#R…
1890 <a href='SkPath_Reference#Path'>Path</a> is treated as if it is set to <a href='SkPath_Reference#Sk…
1891 and the set <a href='#Path_Fill_Type'>Path_Fill_Type</a> is ignored.
1898 May be used to verify that <a href='#SkPaint_Style'>Style</a> is a legal value.
1908 <a href='#SkPaint_Style'>Style</a> <a href='#SkPaint_getStyle'>getStyle</a>()const
1915 one of:<a href='#SkPaint_kFill_Style'>kFill_Style</a>, <a href='#SkPaint_kStroke_Style'>kStroke_Sty…
1931 <a href='#SkPaint_Style'>Style</a> <a href='#SkPaint_setStyle'>setStyle</a>
1938 void <a href='#SkPaint_setStyle'>setStyle</a>(<a href='#SkPaint_Style'>Style</a> style)
1942 Has no effect if <a href='#SkPaint_setStyle_style'>style</a> is not a legal <a href='SkPaint_Refere…
1947 …<td>one of: <a href='#SkPaint_kFill_Style'>kFill_Style</a>, <a href='#SkPaint_kStroke_Style'>kStro…
1957 <a href='#SkPaint_Style'>Style</a> <a href='#SkPaint_getStyle'>getStyle</a>
1963 <a href='#Paint_Stroke_Width'>Stroke_Width</a> sets the width for stroking. The width is the thickn…
1964 of the stroke perpendicular to the <a href='SkPath_Reference#Path_Direction'>path direction</a> wh…
1965 set to <a href='#SkPaint_kStroke_Style'>kStroke_Style</a> or <a href='#SkPaint_kStrokeAndFill_Style…
1968 or fully as needed. When the width equals zero, the <a href='SkPaint_Reference#Paint'>paint</a> ena…
1969 the stroke is always one <a href='undocumented#Pixel'>pixel</a> wide.
1971 The stroke dimensions are scaled by the <a href='SkCanvas_Reference#Canvas_Matrix'>canvas matrix</…
1972 remains one <a href='undocumented#Pixel'>pixel</a> wide regardless of scaling.
1974 The default width for the <a href='SkPaint_Reference#Paint'>paint</a> is zero.
1978 …e035c61cef33a624a652" gpu="true"><div>The pixels hit to represent thin <a href='undocumented#Line'…
1979 <a href='undocumented#Line'>line</a> and the platform implementation.
1987 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPaint_getStrokeWidth'>getStrokeWidth</a>()…
1990 Returns the thickness of the pen used by <a href='SkPaint_Reference#SkPaint'>SkPaint</a> to
2014 void <a href='#SkPaint_setStrokeWidth'>setStrokeWidth</a>(<a href='undocumented#SkScalar'>SkScalar<…
2017 Sets the thickness of the pen used by the <a href='SkPaint_Reference#Paint'>paint</a> to
2019 Has no effect if <a href='#SkPaint_setStrokeWidth_width'>width</a> is less than zero.
2044 <a href='#Paint_Miter_Limit'>Miter_Limit</a> specifies the maximum miter length,
2045 relative to the <a href='#Stroke_Width'>stroke width</a>.
2047 <a href='#Paint_Miter_Limit'>Miter_Limit</a> is used when the <a href='#Paint_Stroke_Join'>Stroke_J…
2048 is set to <a href='#SkPaint_kMiter_Join'>kMiter_Join</a>, and the <a href='#SkPaint_Style'>Style</a…
2049 or <a href='#SkPaint_kStrokeAndFill_Style'>kStrokeAndFill_Style</a>.
2051 If the miter at a corner exceeds this limit, <a href='#SkPaint_kMiter_Join'>kMiter_Join</a>
2052 is replaced with <a href='#SkPaint_kBevel_Join'>kBevel_Join</a>.
2054 <a href='#Paint_Miter_Limit'>Miter_Limit</a> can be computed from the corner angle using:
2055 <code><a href='#Miter_Limit'>miter limit</a> = 1 / sin ( angle / 2 )</code>.
2057 <a href='#Paint_Miter_Limit'>Miter_Limit</a> default value is 4.
2058 The default may be changed at compile time by setting <a href='undocumented#SkPaintDefaults_MiterLi…
2063 | <a href='#Miter_Limit'>miter limit</a> | angle in degrees |
2079 When the <a href='#Miter_Limit'>miter limit</a> is decreased slightly, the miter join is replaced
2088 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPaint_getStrokeMiter'>getStrokeMiter</a>()…
2111 <a href='#Paint_Miter_Limit'>Miter_Limit</a> <a href='#SkPaint_setStrokeMiter'>setStrokeMiter</a> <…
2118 void <a href='#SkPaint_setStrokeMiter'>setStrokeMiter</a>(<a href='undocumented#SkScalar'>SkScalar<…
2123 Has no effect if <a href='#SkPaint_setStrokeMiter_miter'>miter</a> is less than zero.
2128 <td>zero and greater <a href='#Miter_Limit'>miter limit</a></td>
2146 <a href='#Paint_Miter_Limit'>Miter_Limit</a> <a href='#SkPaint_getStrokeMiter'>getStrokeMiter</a> <…
2155 enum <a href='#SkPaint_Cap'>Cap</a> {
2156 <a href='#SkPaint_kButt_Cap'>kButt_Cap</a>,
2157 <a href='#SkPaint_kRound_Cap'>kRound_Cap</a>,
2158 <a href='#SkPaint_kSquare_Cap'>kSquare_Cap</a>,
2159 <a href='#SkPaint_kLast_Cap'>kLast_Cap</a> = <a href='#SkPaint_kSquare_Cap'>kSquare_Cap</a>,
2160 … <a href='#SkPaint_kDefault_Cap'>kDefault_Cap</a> = <a href='#SkPaint_kButt_Cap'>kButt_Cap</a>,
2166 …static constexpr int <a href='#SkPaint_kCapCount'>kCapCount</a> = <a href='#SkPaint_kLast_Cap'>kLa…
2169 <a href='#Paint_Stroke_Cap'>Stroke_Cap</a> draws at the beginning and end of an open <a href='#Path…
2188 Adds a <a href='undocumented#Circle'>circle</a> with a diameter equal to <a href='#Paint_Stroke_Wid…
2196 Adds a square with sides equal to <a href='#Paint_Stroke_Width'>Stroke_Width</a> at the beginning
2205 Equivalent to the largest value for <a href='#Paint_Stroke_Cap'>Stroke_Cap</a>.
2212 <a href='#Paint_Stroke_Cap'>Stroke_Cap</a> is set to <a href='#SkPaint_kButt_Cap'>kButt_Cap</a> by …
2219 May be used to verify that <a href='#Paint_Stroke_Cap'>Stroke_Cap</a> is a legal value.
2224 Stroke describes the area covered by a pen of <a href='#Paint_Stroke_Width'>Stroke_Width</a> as it
2225 follows the <a href='#Path_Overview_Contour'>Path_Contour</a>, moving parallel to the <a href='SkPa…
2227 …href='#Path_Overview_Contour'>Path_Contour</a> is not terminated by <a href='SkPath_Reference#SkPa…
2230 <a href='#Path_Overview_Contour'>Path_Contour</a> may start and end at the same <a href='SkPoint_Re…
2232 <a href='#SkPaint_kButt_Cap'>kButt_Cap</a> and <a href='#Path_Overview_Contour_Zero_Length'>Zero_Le…
2233 …href='#SkPaint_kRound_Cap'>kRound_Cap</a> and <a href='#Path_Overview_Contour_Zero_Length'>Zero_Le…
2234 at the <a href='SkPath_Overview#Contour'>contour</a> <a href='SkPoint_Reference#Point'>point</a>.
2235 <a href='#SkPaint_kSquare_Cap'>kSquare_Cap</a> and <a href='#Path_Overview_Contour_Zero_Length'>Zer…
2236 <a href='#Paint_Stroke_Width'>Stroke_Width</a> at the <a href='SkPath_Overview#Contour'>contour</a>…
2238 <a href='#Paint_Stroke_Cap'>Stroke_Cap</a> is <a href='#SkPaint_kButt_Cap'>kButt_Cap</a> by default.
2249 <a href='#SkPaint_Cap'>Cap</a> <a href='#SkPaint_getStrokeCap'>getStrokeCap</a>()const
2256 one of: <a href='#SkPaint_kButt_Cap'>kButt_Cap</a>, <a href='#SkPaint_kRound_Cap'>kRound_Cap</a>, <…
2272 <a href='#Paint_Stroke_Cap'>Stroke_Cap</a> <a href='#SkPaint_setStrokeCap'>setStrokeCap</a>
2279 void <a href='#SkPaint_setStrokeCap'>setStrokeCap</a>(<a href='#SkPaint_Cap'>Cap</a> cap)
2287 …<td>one of: <a href='#SkPaint_kButt_Cap'>kButt_Cap</a>, <a href='#SkPaint_kRound_Cap'>kRound_Cap</…
2291 has no effect if <a href='#SkPaint_setStrokeCap_cap'>cap</a> is not valid
2307 <a href='#Paint_Stroke_Cap'>Stroke_Cap</a> <a href='#SkPaint_getStrokeCap'>getStrokeCap</a>
2311 <a href='#Paint_Stroke_Join'>Stroke_Join</a> draws at the sharp corners of an open or closed <a hre…
2313 Stroke describes the area covered by a pen of <a href='#Paint_Stroke_Width'>Stroke_Width</a> as it
2314 follows the <a href='#Path_Overview_Contour'>Path_Contour</a>, moving parallel to the <a href='SkPa…
2316 If the <a href='SkPath_Overview#Contour'>contour</a> direction changes abruptly, because the tangen…
2317 to the end of a <a href='undocumented#Curve'>curve</a> within the <a href='SkPath_Overview#Contour'…
2318 the following <a href='undocumented#Curve'>curve</a>, the pair of <a href='undocumented#Curve'>curv…
2329 enum <a href='#SkPaint_Join'>Join</a> : uint8_t {
2330 <a href='#SkPaint_kMiter_Join'>kMiter_Join</a>,
2331 <a href='#SkPaint_kRound_Join'>kRound_Join</a>,
2332 <a href='#SkPaint_kBevel_Join'>kBevel_Join</a>,
2333 … <a href='#SkPaint_kLast_Join'>kLast_Join</a> = <a href='#SkPaint_kBevel_Join'>kBevel_Join</a>,
2334 …<a href='#SkPaint_kDefault_Join'>kDefault_Join</a> = <a href='#SkPaint_kMiter_Join'>kMiter_Join</a…
2340 …static constexpr int <a href='#SkPaint_kJoinCount'>kJoinCount</a> = <a href='#SkPaint_kLast_Join'>…
2343 <a href='#SkPaint_Join'>Join</a> specifies how corners are drawn when a shape is stroked. <a href='…
2345 stroked <a href='SkPath_Reference#Path'>path</a>.
2347 Choose miter join to draw sharp corners. Choose round join to draw a <a href='undocumented#Circle'>…
2348 radius equal to the <a href='#Stroke_Width'>stroke width</a> on top of the corner. Choose bevel jo…
2351 The <a href='#Fill_Path'>fill path</a> constructed to describe the stroked <a href='SkPath_Referen…
2352 not contain the actual join. For instance, a <a href='#Fill_Path'>fill path</a> constructed with r…
2353 not necessarily include <a href='undocumented#Circle'>circles</a> at each connected segment.
2365 Extends the outside corner to the extent allowed by <a href='#Paint_Miter_Limit'>Miter_Limit</a>.
2366 If the extension exceeds <a href='#Paint_Miter_Limit'>Miter_Limit</a>, <a href='#SkPaint_kBevel_Joi…
2373 Adds a <a href='undocumented#Circle'>circle</a> with a diameter of <a href='#Paint_Stroke_Width'>St…
2393 <a href='#Paint_Stroke_Join'>Stroke_Join</a> is set to <a href='#SkPaint_kMiter_Join'>kMiter_Join</…
2400 May be used to verify that <a href='#Paint_Stroke_Join'>Stroke_Join</a> is a legal value.
2411 …href='#SkPaint_setStrokeJoin'>setStrokeJoin</a> <a href='#SkPaint_getStrokeJoin'>getStrokeJoin</a>…
2418 <a href='#SkPaint_Join'>Join</a> <a href='#SkPaint_getStrokeJoin'>getStrokeJoin</a>()const
2425 one of: <a href='#SkPaint_kMiter_Join'>kMiter_Join</a>, <a href='#SkPaint_kRound_Join'>kRound_Join<…
2441 <a href='#Paint_Stroke_Join'>Stroke_Join</a> <a href='#SkPaint_setStrokeJoin'>setStrokeJoin</a>
2448 void <a href='#SkPaint_setStrokeJoin'>setStrokeJoin</a>(<a href='#SkPaint_Join'>Join</a> join)
2456 …<td>one of: <a href='#SkPaint_kMiter_Join'>kMiter_Join</a>, <a href='#SkPaint_kRound_Join'>kRound_…
2476 <a href='#Paint_Stroke_Join'>Stroke_Join</a> <a href='#SkPaint_getStrokeJoin'>getStrokeJoin</a>
2480 <a href='#Paint_Miter_Limit'>Miter_Limit</a>
2486 …href='#Paint_Fill_Path'>Fill_Path</a> creates a <a href='SkPath_Reference#Path'>Path</a> by applyi…
2488 …href='SkPaint_Reference#Paint'>Paint</a> contains <a href='#Path_Effect'>Path_Effect</a>, <a href=…
2489 replaces the destination <a href='SkPath_Reference#Path'>Path</a>. Otherwise, the source <a href='S…
2490 destination <a href='SkPath_Reference#Path'>Path</a>.
2492 Fill <a href='SkPath_Reference#Path'>Path</a> can request the <a href='#Path_Effect'>Path_Effect</a…
2493 the <a href='#Path_Effect'>Path_Effect</a> is not required to do so.
2495 If <a href='#SkPaint_Style'>Style</a> is <a href='#SkPaint_kStroke_Style'>kStroke_Style</a> or <a h…
2496 …href='#Paint_Stroke_Width'>Stroke_Width</a> is greater than zero, the <a href='#Paint_Stroke_Width…
2497 and <a href='#Paint_Miter_Limit'>Miter_Limit</a> operate on the destination <a href='SkPath_Referen…
2499 Fill <a href='SkPath_Reference#Path'>Path</a> can specify the precision used by <a href='#Paint_Str…
2501 …href='#SkPaint_Style'>Style</a> is <a href='#SkPaint_kStroke_Style'>kStroke_Style</a> and the <a h…
2506 <a href='#Paint_Style_Stroke'>Style_Stroke</a> <a href='#Paint_Stroke_Width'>Stroke_Width</a> <a hr…
2513 …href='#SkPaint_getFillPath'>getFillPath</a>(const <a href='SkPath_Reference#SkPath'>SkPath</a>& sr…
2516 Returns the filled equivalent of the stroked <a href='SkPath_Reference#Path'>path</a>.
2521 <td><a href='SkPath_Reference#SkPath'>SkPath</a> read to create a filled version</td>
2524 …<td>resulting <a href='SkPath_Reference#SkPath'>SkPath</a>; may be the same as <a href='#SkPaint_g…
2527 <td>optional limit passed to <a href='undocumented#SkPathEffect'>SkPathEffect</a></td>
2530 …<td>if > 1, increase precision, else if (0 < <a href='#SkPaint_getFillPath_resScale'>resScale</a> …
2534 to favor speed and <a href='undocumented#Size'>size</a>
2538 true if the <a href='SkPath_Reference#Path'>path</a> represents <a href='#Style_Fill'>style fill</…
2542 …ca4d1e14816baaf"><div>A very small <a href='SkPath_Reference#Quad'>Quad</a> stroke is turned into …
2543 At the lowest precision, the <a href='SkPath_Reference#Quad'>Quad</a> stroke is approximated by a r…
2544 At the highest precision, the filled <a href='SkPath_Reference#Path'>path</a> has high fidelity com…
2552 bool <a href='#SkPaint_getFillPath'>getFillPath</a>(const <a href='SkPath_Reference#SkPath'>SkPath<…
2555 Returns the filled equivalent of the stroked <a href='SkPath_Reference#Path'>path</a>.
2557 …href='#SkPaint_getFillPath_2_dst'>dst</a> with the <a href='#SkPaint_getFillPath_2_src'>src</a> <a…
2558 <a href='undocumented#SkPathEffect'>SkPathEffect</a>, if any, is not culled. <a href='#Stroke_Widt…
2563 <td><a href='SkPath_Reference#SkPath'>SkPath</a> read to create a filled version</td>
2566 …<td>resulting <a href='SkPath_Reference#SkPath'>SkPath</a> <a href='#SkPaint_getFillPath_2_dst'>ds…
2572 true if the <a href='SkPath_Reference#Path'>path</a> represents <a href='#Style_Fill'>style fill</…
2582 <a href='undocumented#Shader'>Shader</a> defines the colors used when drawing a shape.
2583 <a href='undocumented#Shader'>Shader</a> may be an <a href='SkImage_Reference#Image'>image</a>, a g…
2584 If <a href='SkPaint_Reference#Paint'>Paint</a> has no <a href='undocumented#Shader'>Shader</a>, the…
2586 <a href='undocumented#Shader'>Shader</a> is modulated by <a href='#Color_Alpha'>Color_Alpha</a> com…
2587 …href='undocumented#Shader'>Shader</a> object defines only <a href='#Color_Alpha'>Color_Alpha</a>, …
2590 …ansparency can be modified without altering <a href='undocumented#Shader'>Shader</a>, by changing …
2596 If <a href='undocumented#Shader'>Shader</a> generates only <a href='#Color_Alpha'>Color_Alpha</a> t…
2607 <a href='undocumented#SkShader'>SkShader</a>* <a href='#SkPaint_getShader'>getShader</a>()const
2610 Returns optional colors used when filling a <a href='SkPath_Reference#Path'>path</a>, such as a gra…
2612 Does not alter <a href='undocumented#SkShader'>SkShader</a> <a href='undocumented#SkRefCnt'>SkRefCn…
2616 <a href='undocumented#SkShader'>SkShader</a> if previously set, nullptr otherwise
2636 <a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkShader'>SkShader</a>> <a href=…
2639 Returns optional colors used when filling a <a href='SkPath_Reference#Path'>path</a>, such as a gra…
2641 Increases <a href='undocumented#SkShader'>SkShader</a> <a href='undocumented#SkRefCnt'>SkRefCnt</a>…
2645 <a href='undocumented#SkShader'>SkShader</a> if previously set, nullptr otherwise
2665 …oid <a href='#SkPaint_setShader'>setShader</a>(<a href='undocumented#sk_sp'>sk_sp</a><<a href='…
2668 Sets optional colors used when filling a <a href='SkPath_Reference#Path'>path</a>, such as a gradie…
2670 …href='undocumented#SkShader'>SkShader</a> to <a href='#SkPaint_setShader_shader'>shader</a>, decre…
2671 Increments <a href='#SkPaint_setShader_shader'>shader</a> <a href='undocumented#SkRefCnt'>SkRefCnt<…
2676 …<td>how geometry is filled with <a href='SkColor_Reference#Color'>color</a>; if nullptr, <a href='…
2688 <a href='#Color_Filter'>Color_Filter</a> alters the <a href='SkColor_Reference#Color'>color</a> use…
2689 …href='#Color_Filter'>Color_Filter</a> may apply <a href='#Blend_Mode'>Blend_Mode</a>, transform th…
2690 If <a href='SkPaint_Reference#Paint'>Paint</a> has no <a href='#Color_Filter'>Color_Filter</a>, the…
2692 …ansparency can be modified without altering <a href='#Color_Filter'>Color_Filter</a>, by changing …
2703 <a href='undocumented#SkColorFilter'>SkColorFilter</a>* <a href='#SkPaint_getColorFilter'>getColorF…
2706 Returns <a href='undocumented#SkColorFilter'>SkColorFilter</a> if set, or nullptr.
2707 Does not alter <a href='undocumented#SkColorFilter'>SkColorFilter</a> <a href='undocumented#SkRefCn…
2711 <a href='undocumented#SkColorFilter'>SkColorFilter</a> if previously set, nullptr otherwise
2731 <a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkColorFilter'>SkColorFilter</a>>…
2734 Returns <a href='undocumented#SkColorFilter'>SkColorFilter</a> if set, or nullptr.
2735 Increases <a href='undocumented#SkColorFilter'>SkColorFilter</a> <a href='undocumented#SkRefCnt'>Sk…
2739 <a href='undocumented#SkColorFilter'>SkColorFilter</a> if set, or nullptr
2759 void <a href='#SkPaint_setColorFilter'>setColorFilter</a>(<a href='undocumented#sk_sp'>sk_sp</a><…
2762 Sets <a href='undocumented#SkColorFilter'>SkColorFilter</a> to filter, decreasing <a href='undocume…
2763 <a href='undocumented#SkColorFilter'>SkColorFilter</a>. Pass nullptr to clear <a href='undocumented…
2765 Increments filter <a href='undocumented#SkRefCnt'>SkRefCnt</a> by one.
2770 <td><a href='undocumented#SkColorFilter'>SkColorFilter</a> to apply to subsequent draw</td>
2782 <a href='#Blend_Mode'>Blend_Mode</a> describes how <a href='SkColor_Reference#Color'>Color</a> comb…
2783 …setting, <a href='SkBlendMode_Reference#SkBlendMode'>SkBlendMode</a>::<a href='#SkBlendMode_kSrcOv…
2784 over the destination <a href='SkColor_Reference#Color'>color</a>.
2792 <a href='#Blend_Mode'>Blend_Mode</a>
2799 <a href='SkBlendMode_Reference#SkBlendMode'>SkBlendMode</a> <a href='#SkPaint_getBlendMode'>getBlen…
2802 Returns <a href='SkBlendMode_Reference#SkBlendMode'>SkBlendMode</a>.
2803 By default, returns <a href='SkBlendMode_Reference#SkBlendMode'>SkBlendMode</a>::<a href='#SkBlendM…
2807 mode used to combine source <a href='SkColor_Reference#Color'>color</a> with destination <a href='S…
2827 bool <a href='#SkPaint_isSrcOver'>isSrcOver</a>()const
2830 … true if <a href='SkBlendMode_Reference#SkBlendMode'>SkBlendMode</a> is <a href='SkBlendMode_Refer…
2834 true if <a href='SkBlendMode_Reference#SkBlendMode'>SkBlendMode</a> is <a href='SkBlendMode_Referen…
2854 void <a href='#SkPaint_setBlendMode'>setBlendMode</a>(<a href='SkBlendMode_Reference#SkBlendMode'>S…
2857 Sets <a href='SkBlendMode_Reference#SkBlendMode'>SkBlendMode</a> to <a href='#SkPaint_setBlendMode_…
2863 …<td><a href='SkBlendMode_Reference#SkBlendMode'>SkBlendMode</a> used to combine source <a href='Sk…
2884 <a href='#Path_Effect'>Path_Effect</a> modifies the <a href='SkPath_Reference#Path'>path</a> geomet…
2885 <a href='#Path_Effect'>Path_Effect</a> may implement dashing, custom fill effects and custom stroke…
2886 If <a href='SkPaint_Reference#Paint'>Paint</a> has no <a href='#Path_Effect'>Path_Effect</a>, the <…
2894 <a href='#Path_Effect'>Path_Effect</a>
2901 <a href='undocumented#SkPathEffect'>SkPathEffect</a>* <a href='#SkPaint_getPathEffect'>getPathEffec…
2904 Returns <a href='undocumented#SkPathEffect'>SkPathEffect</a> if set, or nullptr.
2905 Does not alter <a href='undocumented#SkPathEffect'>SkPathEffect</a> <a href='undocumented#SkRefCnt'…
2909 <a href='undocumented#SkPathEffect'>SkPathEffect</a> if previously set, nullptr otherwise
2929 <a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkPathEffect'>SkPathEffect</a>> …
2932 Returns <a href='undocumented#SkPathEffect'>SkPathEffect</a> if set, or nullptr.
2933 Increases <a href='undocumented#SkPathEffect'>SkPathEffect</a> <a href='undocumented#SkRefCnt'>SkRe…
2937 <a href='undocumented#SkPathEffect'>SkPathEffect</a> if previously set, nullptr otherwise
2957 void <a href='#SkPaint_setPathEffect'>setPathEffect</a>(<a href='undocumented#sk_sp'>sk_sp</a><<…
2960 Sets <a href='undocumented#SkPathEffect'>SkPathEffect</a> to <a href='#SkPaint_setPathEffect_pathEf…
2961 <a href='undocumented#SkPathEffect'>SkPathEffect</a>. Pass nullptr to leave the <a href='SkPath_Ref…
2963 Increments <a href='#SkPaint_setPathEffect_pathEffect'>pathEffect</a> <a href='undocumented#SkRefCn…
2968 <td>replace <a href='SkPath_Reference#SkPath'>SkPath</a> with a modification when drawn</td>
2980 <a href='#Mask_Filter'>Mask_Filter</a> uses coverage of the shape drawn to create <a href='#Mask_Al…
2981 <a href='#Mask_Filter'>Mask_Filter</a> takes a Mask, and returns a Mask.
2983 <a href='#Mask_Filter'>Mask_Filter</a> may change the geometry and transparency of the shape, such …
2984 creating a blur effect. Set <a href='#Mask_Filter'>Mask_Filter</a> to nullptr to prevent <a href='#…
2996 <a href='undocumented#SkMaskFilter'>SkMaskFilter</a>* <a href='#SkPaint_getMaskFilter'>getMaskFilte…
2999 Returns <a href='undocumented#SkMaskFilter'>SkMaskFilter</a> if set, or nullptr.
3000 Does not alter <a href='undocumented#SkMaskFilter'>SkMaskFilter</a> <a href='undocumented#SkRefCnt'…
3004 <a href='undocumented#SkMaskFilter'>SkMaskFilter</a> if previously set, nullptr otherwise
3024 <a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkMaskFilter'>SkMaskFilter</a>> …
3027 Returns <a href='undocumented#SkMaskFilter'>SkMaskFilter</a> if set, or nullptr.
3029 Increases <a href='undocumented#SkMaskFilter'>SkMaskFilter</a> <a href='undocumented#SkRefCnt'>SkRe…
3033 <a href='undocumented#SkMaskFilter'>SkMaskFilter</a> if previously set, nullptr otherwise
3053 void <a href='#SkPaint_setMaskFilter'>setMaskFilter</a>(<a href='undocumented#sk_sp'>sk_sp</a><<…
3056 Sets <a href='undocumented#SkMaskFilter'>SkMaskFilter</a> to <a href='#SkPaint_setMaskFilter_maskFi…
3057 <a href='undocumented#SkMaskFilter'>SkMaskFilter</a>. Pass nullptr to clear <a href='undocumented#S…
3058 <a href='undocumented#Mask_Alpha'>mask alpha</a> unaltered.
3060 Increments <a href='#SkPaint_setMaskFilter_maskFilter'>maskFilter</a> <a href='undocumented#SkRefCn…
3077 <a href='undocumented#Typeface'>Typeface</a> identifies the <a href='SkFont_Reference#Font'>font</a…
3078 <a href='undocumented#Typeface'>Typeface</a> may be specified by name, from a file, or from a <a hr…
3079 The default <a href='undocumented#Typeface'>Typeface</a> defers to the platform-specific default <a…
3091 <a href='undocumented#SkTypeface'>SkTypeface</a>* <a href='#SkPaint_getTypeface'>getTypeface</a>()c…
3094 Returns <a href='undocumented#SkTypeface'>SkTypeface</a> if set, or nullptr.
3095 Does not alter <a href='undocumented#SkTypeface'>SkTypeface</a> <a href='undocumented#SkRefCnt'>SkR…
3099 <a href='undocumented#SkTypeface'>SkTypeface</a> if previously set, nullptr otherwise
3119 <a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkTypeface'>SkTypeface</a>> <a h…
3122 Increases <a href='undocumented#SkTypeface'>SkTypeface</a> <a href='undocumented#SkRefCnt'>SkRefCnt…
3126 <a href='undocumented#SkTypeface'>SkTypeface</a> if previously set, nullptr otherwise
3146 …<a href='#SkPaint_setTypeface'>setTypeface</a>(<a href='undocumented#sk_sp'>sk_sp</a><<a href='…
3149 …href='undocumented#SkTypeface'>SkTypeface</a> to <a href='#SkPaint_setTypeface_typeface'>typeface<…
3150 Pass nullptr to clear <a href='undocumented#SkTypeface'>SkTypeface</a> and use the default <a href=…
3151 <a href='#SkPaint_setTypeface_typeface'>typeface</a> <a href='undocumented#SkRefCnt'>SkRefCnt</a> b…
3156 …<td><a href='SkFont_Reference#Font'>font</a> and style used to draw <a href='undocumented#Text'>te…
3168 <a href='#Image_Filter'>Image_Filter</a> operates on the <a href='undocumented#Pixel'>pixel</a> rep…
3169 …href='#Blend_Mode'>Blend_Mode</a> set to <a href='SkBlendMode_Reference#SkBlendMode'>SkBlendMode</…
3170 which is drawn to the <a href='undocumented#Device'>device</a> using the set <a href='#Blend_Mode'>…
3172 <a href='#Image_Filter'>Image_Filter</a> is higher level than <a href='#Mask_Filter'>Mask_Filter</a…
3173 …e on all channels of <a href='SkColor_Reference#Color'>Color</a>, while <a href='#Mask_Filter'>Mas…
3174 <a href='#Image_Filter'>Image_Filter</a> operates independently of and can be used in combination w…
3175 <a href='#Mask_Filter'>Mask_Filter</a>.
3186 <a href='undocumented#SkImageFilter'>SkImageFilter</a>* <a href='#SkPaint_getImageFilter'>getImageF…
3189 Returns <a href='undocumented#SkImageFilter'>SkImageFilter</a> if set, or nullptr.
3190 Does not alter <a href='undocumented#SkImageFilter'>SkImageFilter</a> <a href='undocumented#SkRefCn…
3194 <a href='undocumented#SkImageFilter'>SkImageFilter</a> if previously set, nullptr otherwise
3214 <a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkImageFilter'>SkImageFilter</a>>…
3217 Returns <a href='undocumented#SkImageFilter'>SkImageFilter</a> if set, or nullptr.
3218 Increases <a href='undocumented#SkImageFilter'>SkImageFilter</a> <a href='undocumented#SkRefCnt'>Sk…
3222 <a href='undocumented#SkImageFilter'>SkImageFilter</a> if previously set, nullptr otherwise
3242 void <a href='#SkPaint_setImageFilter'>setImageFilter</a>(<a href='undocumented#sk_sp'>sk_sp</a><…
3245 Sets <a href='undocumented#SkImageFilter'>SkImageFilter</a> to <a href='#SkPaint_setImageFilter_ima…
3246 …a href='undocumented#SkImageFilter'>SkImageFilter</a>. Pass nullptr to clear <a href='undocumented…
3249 Increments <a href='#SkPaint_setImageFilter_imageFilter'>imageFilter</a> <a href='undocumented#SkRe…
3254 <td>how <a href='SkImage_Reference#SkImage'>SkImage</a> is sampled when transformed</td>
3266 <a href='#Draw_Looper'>Draw_Looper</a> sets a modifier that communicates state from one <a href='#D…
3269 <a href='#Draw_Looper'>Draw_Looper</a> draws one or more times, modifying the <a href='SkCanvas_Ref…
3270 <a href='#Draw_Looper'>Draw_Looper</a> may be used to draw multiple colors or create a colored shad…
3271 Set <a href='#Draw_Looper'>Draw_Looper</a> to nullptr to prevent <a href='#Draw_Looper'>Draw_Looper…
3282 <a href='undocumented#SkDrawLooper'>SkDrawLooper</a>* <a href='#SkPaint_getDrawLooper'>getDrawLoope…
3285 Returns <a href='undocumented#SkDrawLooper'>SkDrawLooper</a> if set, or nullptr.
3286 Does not alter <a href='undocumented#SkDrawLooper'>SkDrawLooper</a> <a href='undocumented#SkRefCnt'…
3290 <a href='undocumented#SkDrawLooper'>SkDrawLooper</a> if previously set, nullptr otherwise
3310 <a href='undocumented#sk_sp'>sk_sp</a><<a href='undocumented#SkDrawLooper'>SkDrawLooper</a>> …
3313 Returns <a href='undocumented#SkDrawLooper'>SkDrawLooper</a> if set, or nullptr.
3314 Increases <a href='undocumented#SkDrawLooper'>SkDrawLooper</a> <a href='undocumented#SkRefCnt'>SkRe…
3318 <a href='undocumented#SkDrawLooper'>SkDrawLooper</a> if previously set, nullptr otherwise
3338 void <a href='#SkPaint_setDrawLooper'>setDrawLooper</a>(<a href='undocumented#sk_sp'>sk_sp</a><<…
3341 Sets <a href='undocumented#SkDrawLooper'>SkDrawLooper</a> to <a href='#SkPaint_setDrawLooper_drawLo…
3342 … href='#SkPaint_setDrawLooper_drawLooper'>drawLooper</a>. Pass nullptr to clear <a href='undocume…
3345 Increments <a href='#SkPaint_setDrawLooper_drawLooper'>drawLooper</a> <a href='undocumented#SkRefCn…
3350 …<td>iterates through drawing one or more time, altering <a href='SkPaint_Reference#SkPaint'>SkPain…
3362 <a href='#Paint_Text_Size'>Text_Size</a> adjusts the overall <a href='#Text_Size'>text size</a> in…
3363 <a href='#Paint_Text_Size'>Text_Size</a> can be set to any positive value or zero.
3364 <a href='#Paint_Text_Size'>Text_Size</a> defaults to 12.
3365 Set <a href='undocumented#SkPaintDefaults_TextSize'>SkPaintDefaults_TextSize</a> at compile time to…
3376 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPaint_getTextSize'>getTextSize</a>()const
3379 Returns <a href='undocumented#Text'>text</a> <a href='undocumented#Size'>size</a> in <a href='SkPoi…
3383 typographic height of <a href='undocumented#Text'>text</a>
3394 void <a href='#SkPaint_setTextSize'>setTextSize</a>(<a href='undocumented#SkScalar'>SkScalar</a> te…
3397 Sets <a href='#Text_Size'>text size</a> in <a href='SkPoint_Reference#Point'>points</a>.
3398 Has no effect if <a href='#SkPaint_setTextSize_textSize'>textSize</a> is not greater than or equal …
3403 <td>typographic height of <a href='undocumented#Text'>text</a></td>
3415 <a href='#Paint_Text_Scale_X'>Text_Scale_X</a> adjusts the <a href='undocumented#Text'>text</a> hor…
3416 <a href='undocumented#Text'>Text</a> scaling approximates condensed and expanded type faces when th…
3418 <a href='#Paint_Text_Scale_X'>Text_Scale_X</a> can be set to any value.
3419 <a href='#Paint_Text_Scale_X'>Text_Scale_X</a> defaults to 1.
3430 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPaint_getTextScaleX'>getTextScaleX</a>()co…
3433 Returns <a href='undocumented#Text'>text</a> scale on x-axis.
3438 <a href='undocumented#Text'>text</a> horizontal scale
3449 void <a href='#SkPaint_setTextScaleX'>setTextScaleX</a>(<a href='undocumented#SkScalar'>SkScalar</a…
3452 Sets <a href='undocumented#Text'>text scale</a> on x-axis.
3458 <td><a href='undocumented#Text'>text</a> horizontal scale</td>
3470 <a href='#Paint_Text_Skew_X'>Text_Skew_X</a> adjusts the <a href='undocumented#Text'>text</a> horiz…
3471 <a href='undocumented#Text'>Text</a> skewing approximates italic and oblique type faces when the ac…
3473 <a href='#Paint_Text_Skew_X'>Text_Skew_X</a> can be set to any value.
3474 <a href='#Paint_Text_Skew_X'>Text_Skew_X</a> defaults to 0.
3485 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPaint_getTextSkewX'>getTextSkewX</a>()const
3488 Returns <a href='undocumented#Text'>text</a> skew on x-axis.
3504 void <a href='#SkPaint_setTextSkewX'>setTextSkewX</a>(<a href='undocumented#SkScalar'>SkScalar</a> …
3507 Sets <a href='undocumented#Text'>text skew</a> on x-axis.
3527 <div><fiddle-embed name="767fa4e7b6300e16a419f9881f0f9d3d"><div>First <a href='undocumented#Line'>l…
3528 Second <a href='undocumented#Line'>line</a> is encoded in UTF-16.
3529 Third <a href='undocumented#Line'>line</a> is encoded in UTF-32.
3530 Fourth <a href='undocumented#Line'>line</a> has 16-bit <a href='undocumented#Glyph'>glyph</a> indic…
3538 <a href='undocumented#SkTextEncoding'>SkTextEncoding</a> <a href='#SkPaint_getTextEncoding'>getText…
3541 …urns the <a href='undocumented#Text'>text</a> encoding. <a href='undocumented#Text'>Text</a> encod…
3542 to methods like <a href='#SkPaint_measureText'>measureText</a>() and <a href='SkCanvas_Reference#Sk…
3546 the <a href='undocumented#Text'>text</a> encoding
3566 void <a href='#SkPaint_setTextEncoding'>setTextEncoding</a>(<a href='undocumented#SkTextEncoding'>S…
3569 …href='#Text_Encoding'>text encoding</a>. <a href='undocumented#Text'>Text</a> <a href='#SkPaint_se…
3570 to methods like <a href='#SkPaint_measureText'>measureText</a>() and <a href='SkCanvas_Reference#Sk…
3575 <td>the new <a href='#Text_Encoding'>text encoding</a></td>
3602 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPaint_getFontMetrics'>getFontMetrics</a>(<…
3605 Returns <a href='undocumented#SkFontMetrics'>SkFontMetrics</a> associated with <a href='undocumente…
3606 …turn value is the recommended spacing between <a href='undocumented#Line'>lines</a>: the sum of <a…
3608 …f <a href='#SkPaint_getFontMetrics_metrics'>metrics</a> is not nullptr, <a href='undocumented#SkFo…
3609 Results are scaled by <a href='#Text_Size'>text size</a> but does not take into account
3610 dimensions required by <a href='#Text_Scale_X'>text scale x</a>, <a href='#Text_Skew_X'>text sk…
3611 <a href='#Style_Stroke'>style stroke</a>, and <a href='undocumented#SkPathEffect'>SkPathEffect</a>.
3616 <td>storage for <a href='undocumented#SkFontMetrics'>SkFontMetrics</a>; may be nullptr</td>
3622 recommended spacing between <a href='undocumented#Line'>lines</a>
3630 <a href='#Font_Size'>Font_Size</a> <a href='undocumented#Typeface'>Typeface</a> <a href='#Paint_Typ…
3637 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPaint_getFontSpacing'>getFontSpacing</a>()…
3640 Returns the recommended spacing between <a href='undocumented#Line'>lines</a>: the sum of metrics
3642 Result is scaled by <a href='undocumented#Text'>text</a> <a href='undocumented#Size'>size</a> but d…
3643 dimensions required by stroking and <a href='undocumented#SkPathEffect'>SkPathEffect</a>.
3644 Returns the same result as <a href='#SkPaint_getFontMetrics'>getFontMetrics</a>().
3648 recommended spacing between <a href='undocumented#Line'>lines</a>
3670 …href='#SkPaint_textToGlyphs'>textToGlyphs</a>(const void* <a href='undocumented#Text'>text</a>, si…
3673 Converts <a href='#SkPaint_textToGlyphs_text'>text</a> into <a href='undocumented#Glyph'>glyph</a> …
3674 Returns the number of <a href='undocumented#Glyph'>glyph</a> indices represented by <a href='#SkPai…
3675 <a href='undocumented#SkTextEncoding'>SkTextEncoding</a> specifies how <a href='#SkPaint_textToGlyp…
3676 <a href='#SkPaint_textToGlyphs_glyphs'>glyphs</a> may be nullptr, to compute the <a href='undocumen…
3678 Does not check <a href='#SkPaint_textToGlyphs_text'>text</a> for valid character codes or valid <a …
3680 If <a href='#SkPaint_textToGlyphs_byteLength'>byteLength</a> equals zero, returns zero.
3681 If <a href='#SkPaint_textToGlyphs_byteLength'>byteLength</a> includes a partial character, the part…
3683 If <a href='undocumented#SkTextEncoding'>SkTextEncoding</a> is <a href='undocumented#SkTextEncoding…
3684 <a href='#SkPaint_textToGlyphs_text'>text</a> contains an invalid UTF-8 sequence, zero is returned.
3689 <td>character storage encoded with <a href='undocumented#SkTextEncoding'>SkTextEncoding</a></td>
3695 <td>storage for <a href='undocumented#Glyph'>glyph</a> indices; may be nullptr</td>
3701 number of <a href='#SkPaint_textToGlyphs_glyphs'>glyphs</a> represented by <a href='#SkPaint_textTo…
3712 int <a href='#SkPaint_countText'>countText</a>(const void* <a href='undocumented#Text'>text</a>, si…
3715 Returns the number of <a href='undocumented#Glyph'>glyphs</a> in <a href='#SkPaint_countText_text'>…
3716 Uses <a href='undocumented#SkTextEncoding'>SkTextEncoding</a> to count the <a href='undocumented#Gl…
3717 Returns the same result as <a href='#SkPaint_textToGlyphs'>textToGlyphs</a>().
3722 <td>character storage encoded with <a href='undocumented#SkTextEncoding'>SkTextEncoding</a></td>
3731 number of <a href='undocumented#Glyph'>glyphs</a> represented by <a href='#SkPaint_countText_text'>…
3750 bool <a href='#SkPaint_containsText'>containsText</a>(const void* <a href='undocumented#Text'>text<…
3753 Returns true if all <a href='#SkPaint_containsText_text'>text</a> corresponds to a non-zero <a href…
3754 Returns false if any characters in <a href='#SkPaint_containsText_text'>text</a> are not supported …
3755 <a href='undocumented#SkTypeface'>SkTypeface</a>.
3757 If <a href='undocumented#SkTextEncoding'>SkTextEncoding</a> is <a href='undocumented#SkTextEncoding…
3758 returns true if all <a href='undocumented#Glyph'>glyph</a> indices in <a href='#SkPaint_containsTex…
3759 …heck to see if <a href='#SkPaint_containsText_text'>text</a> contains valid <a href='undocumented#…
3761 Returns true if <a href='#SkPaint_containsText_byteLength'>byteLength</a> is zero.
3766 <td>array of characters or <a href='undocumented#Glyph'>glyphs</a></td>
3769 <td>number of bytes in <a href='#SkPaint_containsText_text'>text</a> array</td>
3775 true if all <a href='#SkPaint_containsText_text'>text</a> corresponds to a non-zero <a href='undocu…
3777 <div><a href='#SkPaint_containsText'>containsText</a> succeeds for degree symbol, but cannot find a…
3778 corresponding to the Unicode surrogate code <a href='SkPoint_Reference#Point'>point</a>.
3790 …a68cb3c8b81a5976c81ee004f559247"><div><a href='#SkPaint_containsText'>containsText</a> returns tru…
3791 that it corresponds to an entry in <a href='undocumented#Typeface'>Typeface</a>.
3806 <a href='#SkPaint_setTextEncoding'>setTextEncoding</a> <a href='undocumented#Typeface'>Typeface</a>
3813 …href='#SkPaint_glyphsToUnichars'>glyphsToUnichars</a>(const <a href='undocumented#SkGlyphID'>SkGly…
3816 Converts <a href='#SkPaint_glyphsToUnichars_glyphs'>glyphs</a> into <a href='#SkPaint_glyphsToUnich…
3817 <a href='undocumented#Glyph'>Glyph</a> values without direct Unicode equivalents are mapped to zero.
3818 Uses the <a href='undocumented#SkTypeface'>SkTypeface</a>, but is unaffected
3819 … href='undocumented#SkTextEncoding'>SkTextEncoding</a>; the <a href='#SkPaint_glyphsToUnichars_tex…
3821 Only supported on platforms that use FreeType as the <a href='SkFont_Reference#Font_Engine'>font e…
3826 <td>array of indices into <a href='SkFont_Reference#Font'>font</a></td>
3829 <td>length of <a href='undocumented#Glyph'>glyph</a> array</td>
3832 <td>storage for character codes, one per <a href='undocumented#Glyph'>glyph</a></td>
3836 …href='#SkPaint_glyphsToUnichars_text'>text</a> to <a href='#SkPaint_glyphsToUnichars_glyphs'>glyph…
3846 …href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPaint_measureText'>measureText</a>(const voi…
3849 Returns the advance width of <a href='#SkPaint_measureText_text'>text</a>.
3850 The advance is the normal distance to move before drawing additional <a href='#SkPaint_measureText_…
3851 …href='undocumented#SkTextEncoding'>SkTextEncoding</a> to decode <a href='#SkPaint_measureText_text…
3852 and <a href='#Text_Size'>text size</a>, <a href='#Text_Scale_X'>text scale x</a>, <a href='#Te…
3853 <a href='undocumented#SkPathEffect'>SkPathEffect</a> to scale the metrics and <a href='#SkPaint_mea…
3854 Returns the bounding box of <a href='#SkPaint_measureText_text'>text</a> if <a href='#SkPaint_measu…
3855 The bounding box is computed as if the <a href='#SkPaint_measureText_text'>text</a> was drawn at th…
3860 <td>character codes or <a href='undocumented#Glyph'>glyph</a> indices to be measured</td>
3863 <td>number of bytes of <a href='#SkPaint_measureText_text'>text</a> to measure</td>
3883 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPaint_measureText'>measureText</a>(const v…
3886 Returns the advance width of <a href='#SkPaint_measureText_2_text'>text</a>.
3887 The advance is the normal distance to move before drawing additional <a href='#SkPaint_measureText_…
3888 …href='undocumented#SkTextEncoding'>SkTextEncoding</a> to decode <a href='#SkPaint_measureText_2_te…
3889 and <a href='#Text_Size'>text size</a> to scale the metrics.
3890 Does not scale the advance or bounds by <a href='#Fake_Bold'>fake bold</a> or <a href='undocumente…
3895 <td>character codes or <a href='undocumented#Glyph'>glyph</a> indices to be measured</td>
3898 <td>number of bytes of <a href='#SkPaint_measureText_2_text'>text</a> to measure</td>
3924 …href='#SkPaint_getTextWidths'>getTextWidths</a>(const void* <a href='undocumented#Text'>text</a>, …
3927 …ves the advance and <a href='#SkPaint_getTextWidths_bounds'>bounds</a> for each <a href='undocumen…
3928 the <a href='undocumented#Glyph'>glyph</a> count in <a href='#SkPaint_getTextWidths_text'>text</a>.
3929 Both <a href='#SkPaint_getTextWidths_widths'>widths</a> and <a href='#SkPaint_getTextWidths_bounds'…
3930 …f <a href='#SkPaint_getTextWidths_widths'>widths</a> is not nullptr, <a href='#SkPaint_getTextWidt…
3931 …f <a href='#SkPaint_getTextWidths_bounds'>bounds</a> is not nullptr, <a href='#SkPaint_getTextWidt…
3932 …href='undocumented#SkTextEncoding'>SkTextEncoding</a> to decode <a href='#SkPaint_getTextWidths_te…
3933 and <a href='#Text_Size'>text size</a> to scale the <a href='#SkPaint_getTextWidths_widths'>widths…
3934 Does not scale the advance by <a href='#Fake_Bold'>fake bold</a> or <a href='undocumented#SkPathEf…
3935 Does include <a href='#Fake_Bold'>fake bold</a> and <a href='undocumented#SkPathEffect'>SkPathEffe…
3940 <td>character codes or <a href='undocumented#Glyph'>glyph</a> indices to be measured</td>
3943 <td>number of bytes of <a href='#SkPaint_getTextWidths_text'>text</a> to measure</td>
3946 …<td>returns <a href='#SkPaint_getTextWidths_text'>text</a> advances for each <a href='undocumented…
3949 …<td>returns <a href='#SkPaint_getTextWidths_bounds'>bounds</a> for each <a href='undocumented#Glyp…
3955 <a href='undocumented#Glyph'>glyph</a> count in <a href='#SkPaint_getTextWidths_text'>text</a>
3959 …<div>Bounds of <a href='undocumented#Glyph'>Glyphs</a> increase for stroked <a href='#SkPaint_getT…
3960 The underlines show the <a href='#SkPaint_getTextWidths_text'>text</a> advance, spaced to keep them…
3965 <a href='#Paint_Text_Path'>Text_Path</a> describes the geometry of <a href='undocumented#Glyph'>Gly…
3972 …href='#SkPaint_getTextPath'>getTextPath</a>(const void* <a href='undocumented#Text'>text</a>, size…
3975 Returns the geometry as <a href='SkPath_Reference#SkPath'>SkPath</a> equivalent to the drawn <a hre…
3976 …href='undocumented#SkTextEncoding'>SkTextEncoding</a> to decode <a href='#SkPaint_getTextPath_text…
3977 …href='#Text_Size'>text size</a>, <a href='#Fake_Bold'>fake bold</a>, and <a href='undocumented#Sk…
3978 All of the <a href='undocumented#Glyph'>glyph</a> <a href='SkPath_Reference#Path'>paths</a> are sto…
3979 Uses <a href='#SkPaint_getTextPath_x'>x</a>, <a href='#SkPaint_getTextPath_y'>y</a>, to position <a…
3984 <td>character codes or <a href='undocumented#Glyph'>glyph</a> indices</td>
3987 <td>number of bytes of <a href='#SkPaint_getTextPath_text'>text</a></td>
3990 <td>x-axis value of the origin of the <a href='#SkPaint_getTextPath_text'>text</a></td>
3993 <td>y-axis value of the origin of the <a href='#SkPaint_getTextPath_text'>text</a></td>
3996 <td>geometry of the <a href='undocumented#Glyph'>glyphs</a></td>
4002 …6f73e"><div><a href='undocumented#Text'>Text</a> is added to <a href='SkPath_Reference#Path'>Path<…
4011 …href='#SkPaint_getPosTextPath'>getPosTextPath</a>(const void* <a href='undocumented#Text'>text</a>…
4014 Returns the geometry as <a href='SkPath_Reference#SkPath'>SkPath</a> equivalent to the drawn <a hre…
4015 …href='undocumented#SkTextEncoding'>SkTextEncoding</a> to decode <a href='#SkPaint_getPosTextPath_t…
4016 …href='#Text_Size'>text size</a>, <a href='#Fake_Bold'>fake bold</a>, and <a href='undocumented#Sk…
4017 All of the <a href='undocumented#Glyph'>glyph</a> <a href='SkPath_Reference#Path'>paths</a> are sto…
4018 Uses <a href='#SkPaint_getPosTextPath_pos'>pos</a> array to position <a href='#SkPaint_getPosTextPa…
4019 <a href='#SkPaint_getPosTextPath_pos'>pos</a> contains a position for each <a href='undocumented#Gl…
4024 <td>character codes or <a href='undocumented#Glyph'>glyph</a> indices</td>
4027 <td>number of bytes of <a href='#SkPaint_getPosTextPath_text'>text</a></td>
4030 <td>positions of each <a href='undocumented#Glyph'>glyph</a></td>
4033 <td>geometry of the <a href='undocumented#Glyph'>glyphs</a></td>
4039 <div><fiddle-embed name="7f27c93472aa99a7542fb3493076f072"><div>Simplifies three <a href='undocumen…
4047 bool <a href='#SkPaint_nothingToDraw'>nothingToDraw</a>()const
4050 Returns true if <a href='SkPaint_Reference#SkPaint'>SkPaint</a> prevents all drawing;
4051 otherwise, the <a href='SkPaint_Reference#SkPaint'>SkPaint</a> may or may not allow drawing.
4053 Returns true if, for example, <a href='SkBlendMode_Reference#SkBlendMode'>SkBlendMode</a> combined …
4054 new <a href='SkColor_Reference#Alpha'>alpha</a> of zero.
4058 true if <a href='SkPaint_Reference#SkPaint'>SkPaint</a> prevents all drawing