• Home
  • Raw
  • Download

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>;
16href='SkPaint_Reference#SkPaint'>SkPaint</a>& <a href='#SkPaint_copy_operator'>operator=</a>(const…
17href='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…
70href='#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);
73href='#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);
101href='#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…
144href='#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…
146href='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;
150href='#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…
178href='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>.
181href='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#kUTF8_SkTextEncoding'>kUTF8_Sk…
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…
248href='SkPaint_Reference#SkPaint'>SkPaint</a>. <a href='undocumented#SkTypeface'>SkTypeface</a>, <a…
249href='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…
253href='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>
348href='SkPaint_Reference#SkPaint'>SkPaint</a> <a href='undocumented#SkRefCnt'>SkRefCnt</a> of owned…
349href='undocumented#SkMaskFilter'>SkMaskFilter</a>, <a href='undocumented#SkColorFilter'>SkColorFil…
350 objects containing <a href='undocumented#SkRefCnt'>SkRefCnt</a> go to zero, they are deleted.
359href='SkPaint_Reference#SkPaint'>SkPaint</a>& <a href='#SkPaint_copy_operator'>operator=</a>(const…
362href='SkPaint_Reference#SkPaint'>SkPaint</a>. <a href='undocumented#SkTypeface'>SkTypeface</a>, <a…
363href='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>
398href='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…
439href='#SkPaint_equal_operator_a'>a</a> and <a href='#SkPaint_equal_operator_b'>b</a>, and returns …
440href='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
472href='#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'>…
482href='#SkPaint_notequal_operator_a'>a</a> and <a href='#SkPaint_notequal_operator_b'>b</a>, and re…
483href='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
515href='#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>.
568href='undocumented#SkFontHinting'>SkFontHinting</a>::<a href='#SkFontHinting_kNone'>kNone</a>, <a
572href='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.
598href='undocumented#SkFontHinting'>SkFontHinting</a>::<a href='#SkFontHinting_kNone'>kNone</a>, <a
600 <a href='undocumented#SkFontHinting'>SkFontHinting</a>::<a href='#SkFontHinting_kFull'>kFull</a>
621 enum <a href='#SkPaint_Flags'>Flags</a> {
622 <a href='#SkPaint_kAntiAlias_Flag'>kAntiAlias_Flag</a> = 0x01,
623 <a href='#SkPaint_kDither_Flag'>kDither_Flag</a> = 0x04,
624 <a href='#SkPaint_kFakeBoldText_Flag'>kFakeBoldText_Flag</a> = 0x20,
625 <a href='#SkPaint_kLinearText_Flag'>kLinearText_Flag</a> = 0x40,
626 <a href='#SkPaint_kSubpixelText_Flag'>kSubpixelText_Flag</a> = 0x80,
627 <a href='#SkPaint_kLCDRenderText_Flag'>kLCDRenderText_Flag</a> = 0x200,
628 <a href='#SkPaint_kEmbeddedBitmapText_Flag'>kEmbeddedBitmapText_Flag</a> = 0x400,
629 <a href='#SkPaint_kAutoHinting_Flag'>kAutoHinting_Flag</a> = 0x800,
630 <a href='#SkPaint_kAllFlags'>kAllFlags</a> = 0xFFFF,
635 The bit values stored in <a href='#SkPaint_Flags'>Flags</a>.
636 The default value for <a href='#SkPaint_Flags'>Flags</a>, normally zero, can be changed at compile …
637 with a custom definition of <a href='undocumented#SkPaintDefaults_Flags'>SkPaintDefaults_Flags</a>.
638 All flags can be read and written explicitly; <a href='#SkPaint_Flags'>Flags</a> allows manipulating
699 mask of all <a href='#SkPaint_Flags'>Flags</a>, including private flags and flags reserved for futu…
702 <a href='#SkPaint_Flags'>Flags</a> default to all flags clear, disabling the associated feature.
710 uint32_t <a href='#SkPaint_getFlags'>getFlags</a>()const
713 Returns <a href='SkPaint_Reference#Paint'>paint</a> settings described by <a href='SkPaint_Referenc…
714 bit, and can be tested with <a href='SkPaint_Reference#SkPaint'>SkPaint</a>::<a href='#SkPaint_Flag…
718 zero, one, or more bits described by <a href='SkPaint_Reference#SkPaint'>SkPaint</a>::<a href='#SkP…
737 void <a href='#SkPaint_setFlags'>setFlags</a>(uint32_t flags)
740href='SkPaint_Reference#SkPaint'>SkPaint</a>::<a href='#SkPaint_Flags'>Flags</a> with <a href='#Sk…
741 All <a href='SkPaint_Reference#SkPaint'>SkPaint</a>::<a href='#SkPaint_Flags'>Flags</a> members may…
746 …<td>union of <a href='SkPaint_Reference#SkPaint'>SkPaint</a>::<a href='#SkPaint_Flags'>Flags</a> f…
767 <a href='#Paint_Anti_Alias'>Anti_Alias</a> drawing approximates partial <a href='undocumented#Pixel…
768 If <a href='#SkPaint_kAntiAlias_Flag'>kAntiAlias_Flag</a> is clear, <a href='undocumented#Pixel'>pi…
769 If <a href='#SkPaint_kAntiAlias_Flag'>kAntiAlias_Flag</a> is set, pixels are drawn with <a href='#C…
771 The rule for <a href='undocumented#Alias'>Aliased</a> pixels is inconsistent across platforms. A sh…
772 passing through the <a href='undocumented#Pixel'>pixel</a> center may, but is not required to, draw…
774 <a href='#Raster_Engine'>Raster_Engine</a> draws <a href='undocumented#Alias'>Aliased</a> pixels wh…
775 active <a href='SkPath_Reference#Path'>Path</a> edge, and whose center is to the left of the end of…
777 A platform may only support <a href='#Paint_Anti_Alias'>Anti_Aliased</a> drawing. Some GPU-backed p…
778 <a href='undocumented#Supersampling'>Supersampling</a> to <a href='#Paint_Anti_Alias'>Anti_Alias</a…
779 <a href='undocumented#Alias'>Alias</a>.
781 The amount of coverage computed for <a href='#Paint_Anti_Alias'>Anti_Aliased</a> pixels also varies…
783 <a href='#Paint_Anti_Alias'>Anti_Alias</a> is disabled by default.
784href='#Paint_Anti_Alias'>Anti_Alias</a> can be enabled by default by setting <a href='undocumented…
789 <div><fiddle-embed name="a6575a49467ce8d28bb01cc7638fa04d"><div>A red <a href='undocumented#Line'>l…
790 A blue <a href='undocumented#Line'>line</a> draws only where the <a href='undocumented#Pixel'>pixel…
791 The <a href='undocumented#Line'>lines</a> are drawn into <a href='SkBitmap_Reference#Bitmap'>Bitmap…
792 <a href='undocumented#Alias'>Aliasing</a> easier to see.
800 bool <a href='#SkPaint_isAntiAlias'>isAntiAlias</a>()const
803 Returns true if pixels on the active edges of <a href='SkPath_Reference#SkPath'>SkPath</a> may be d…
805 Equivalent to <a href='#SkPaint_getFlags'>getFlags</a>() masked with <a href='#SkPaint_kAntiAlias_F…
809 <a href='#SkPaint_kAntiAlias_Flag'>kAntiAlias_Flag</a> state
829 void <a href='#SkPaint_setAntiAlias'>setAntiAlias</a>(bool aa)
835 Sets <a href='#SkPaint_kAntiAlias_Flag'>kAntiAlias_Flag</a> if <a href='#SkPaint_setAntiAlias_aa'>a…
836 Clears <a href='#SkPaint_kAntiAlias_Flag'>kAntiAlias_Flag</a> if <a href='#SkPaint_setAntiAlias_aa'…
841 <td>setting for <a href='#SkPaint_kAntiAlias_Flag'>kAntiAlias_Flag</a></td>
861 Dither increases fidelity by adjusting the <a href='SkColor_Reference#Color'>color</a> of adjacent …
862 This can help to smooth <a href='SkColor_Reference#Color'>color</a> transitions and reducing bandin…
863 Dithering lessens visible banding from <a href='SkImageInfo_Reference#kRGB_565_SkColorType'>kRGB_56…
864 and <a href='SkImageInfo_Reference#kRGBA_8888_SkColorType'>kRGBA_8888_SkColorType</a> gradients,
865 and improves rendering into a <a href='SkImageInfo_Reference#kRGB_565_SkColorType'>kRGB_565_SkColor…
868href='SkImageInfo_Reference#kRGB_565_SkColorType'>kRGB_565_SkColorType</a> <a href='SkSurface_Refe…
869 Dither cannot be enabled for <a href='SkImageInfo_Reference#kAlpha_8_SkColorType'>kAlpha_8_SkColorT…
870 <a href='SkImageInfo_Reference#kRGBA_F16_SkColorType'>kRGBA_F16_SkColorType</a> <a href='SkSurface_…
873 … be enabled by default by setting <a href='undocumented#SkPaintDefaults_Flags'>SkPaintDefaults_Fla…
876 …re dithering. Set <code>SK_IGNORE_GPU_DITHER</code>to ignore Dither on <a href='#GPU_Surface'>GPU_…
880 …v>Dithering in the bottom half more closely approximates the requested <a href='SkColor_Reference#…
881 alternating nearby colors from <a href='undocumented#Pixel'>pixel</a> to <a href='undocumented#Pixe…
886 …a48495e4d5f54e073be53"><div>Dithering introduces subtle adjustments to <a href='SkColor_Reference#…
887 Drawing the gradient repeatedly with <a href='SkBlendMode_Reference#SkBlendMode'>SkBlendMode</a>::<…
893 Gradient <a href='SkImageInfo_Reference#kRGB_565_SkColorType'>kRGB_565_SkColorType</a>
900 bool <a href='#SkPaint_isDither'>isDither</a>()const
903 Returns true if <a href='SkColor_Reference#Color'>color</a> error may be distributed to smooth <a h…
905 Equivalent to <a href='#SkPaint_getFlags'>getFlags</a>() masked with <a href='#SkPaint_kDither_Flag…
909 <a href='#SkPaint_kDither_Flag'>kDither_Flag</a> state
929 void <a href='#SkPaint_setDither'>setDither</a>(bool dither)
932 Requests, but does not require, to distribute <a href='SkColor_Reference#Color'>color</a> error.
934 Sets <a href='#SkPaint_kDither_Flag'>kDither_Flag</a> if <a href='#SkPaint_setDither_dither'>dither…
935 Clears <a href='#SkPaint_kDither_Flag'>kDither_Flag</a> if <a href='#SkPaint_setDither_dither'>dith…
940 <td>setting for <a href='#SkPaint_kDither_Flag'>kDither_Flag</a></td>
958 <a href='SkImageInfo_Reference#kRGB_565_SkColorType'>kRGB_565_SkColorType</a>
964 <a href='#Font_Anti_Alias'>Font_Anti_Alias</a> and <a href='#Font_Subpixel'>Font_Subpixel</a> incre…
966 When set, <a href='#SkPaint_Flags'>Flags</a> <a href='#SkPaint_kLCDRenderText_Flag'>kLCDRenderText_…
967 create a <a href='SkColor_Reference#Color'>color</a>, and relies
968 on the small <a href='undocumented#Size'>size</a> of the stripe and visual perception to make the <…
969 <a href='#Font_Anti_Alias'>Font_Anti_Alias</a> can be enabled on devices that orient stripes horizo…
970 the <a href='SkColor_Reference#Color'>color</a> components as RGB or BGR.
972 <a href='#SkPaint_Flags'>Flags</a> <a href='#SkPaint_kSubpixelText_Flag'>kSubpixelText_Flag</a> use…
974href='SkColor_Reference#Color'>color</a> increases, the edge of the <a href='undocumented#Glyph'>g…
977 <a href='#SkPaint_kLCDRenderText_Flag'>kLCDRenderText_Flag</a> and <a href='#SkPaint_kSubpixelText_…
978 <a href='#Font_Anti_Alias'>Font_Anti_Alias</a> or <a href='#Font_Subpixel'>Font_Subpixel</a> can be…
979 <a href='#SkPaint_kLCDRenderText_Flag'>kLCDRenderText_Flag</a> or <a href='#SkPaint_kSubpixelText_F…
983 …s are drawn normally and with combinations of <a href='#Font_Anti_Alias'>Font_Anti_Alias</a> and <…
984 When <a href='#Font_Subpixel'>Font_Subpixel</a> is disabled, the comma <a href='undocumented#Glyph'…
985 When <a href='#Font_Subpixel'>Font_Subpixel</a> is enabled, the comma <a href='undocumented#Glyph'>…
990href='#Font_Linear'>Font_Linear</a> selects whether <a href='undocumented#Text'>text</a> is render…
991href='#Font_Linear'>Font_Linear</a> is set, it has the same effect as setting Hinting to <a href='…
992 …<a href='#Font_Linear'>Font_Linear</a> is clear, it is the same as setting Hinting to <a href='und…
999 bool <a href='#SkPaint_isLinearText'>isLinearText</a>()const
1002 Returns true if <a href='undocumented#Text'>text</a> is converted to <a href='SkPath_Reference#SkPa…
1004 Equivalent to <a href='#SkPaint_getFlags'>getFlags</a>() masked with <a href='#SkPaint_kLinearText_…
1008 <a href='#SkPaint_kLinearText_Flag'>kLinearText_Flag</a> state
1016 <a href='#SkPaint_setLinearText'>setLinearText</a> Hinting
1023 void <a href='#SkPaint_setLinearText'>setLinearText</a>(bool linearText)
1026 Requests, but does not require, that <a href='undocumented#Glyph'>glyphs</a> are converted to <a hr…
1028 By default, <a href='#SkPaint_kLinearText_Flag'>kLinearText_Flag</a> is clear.
1030 Sets <a href='#SkPaint_kLinearText_Flag'>kLinearText_Flag</a> if <a href='#SkPaint_setLinearText_li…
1031 Clears <a href='#SkPaint_kLinearText_Flag'>kLinearText_Flag</a> if <a href='#SkPaint_setLinearText_…
1036 <td>setting for <a href='#SkPaint_kLinearText_Flag'>kLinearText_Flag</a></td>
1046 <a href='#SkPaint_isLinearText'>isLinearText</a> Hinting
1050 <a href='#SkPaint_Flags'>Flags</a> <a href='#SkPaint_kSubpixelText_Flag'>kSubpixelText_Flag</a> use…
1052href='SkColor_Reference#Color'>color</a> increases, the edge of the <a href='undocumented#Glyph'>g…
1059 bool <a href='#SkPaint_isSubpixelText'>isSubpixelText</a>()const
1062 …true if <a href='undocumented#Glyph'>glyphs</a> at different <a href='SkFont_Reference#Subpixel'>s…
1064 Equivalent to <a href='#SkPaint_getFlags'>getFlags</a>() masked with <a href='#SkPaint_kSubpixelTex…
1068 <a href='#SkPaint_kSubpixelText_Flag'>kSubpixelText_Flag</a> state
1088 void <a href='#SkPaint_setSubpixelText'>setSubpixelText</a>(bool subpixelText)
1091 Requests, but does not require, that <a href='undocumented#Glyph'>glyphs</a> respect <a href='SkFon…
1093 Sets <a href='#SkPaint_kSubpixelText_Flag'>kSubpixelText_Flag</a> if <a href='#SkPaint_setSubpixelT…
1094 Clears <a href='#SkPaint_kSubpixelText_Flag'>kSubpixelText_Flag</a> if <a href='#SkPaint_setSubpixe…
1099 <td>setting for <a href='#SkPaint_kSubpixelText_Flag'>kSubpixelText_Flag</a></td>
1117 When set, <a href='#Font_Anti_Alias'>Font_Anti_Alias</a> takes advantage of the organization of RGB…
1118 create a <a href='SkColor_Reference#Color'>color</a>, and relies
1119 on the small <a href='undocumented#Size'>size</a> of the stripe and visual perception to make the <…
1120 <a href='#Font_Anti_Alias'>Font_Anti_Alias</a> can be enabled on devices that orient stripes horizo…
1121 the <a href='SkColor_Reference#Color'>color</a> components as RGB or BGR.
1128 bool <a href='#SkPaint_isLCDRenderText'>isLCDRenderText</a>()const
1131 Returns true if <a href='undocumented#Glyph'>glyphs</a> may use LCD striping to improve <a href='un…
1133 Returns true if <a href='SkPaint_Reference#SkPaint'>SkPaint</a>::<a href='#SkPaint_Flags'>Flags</a>…
1137 <a href='#SkPaint_kLCDRenderText_Flag'>kLCDRenderText_Flag</a> state
1157 void <a href='#SkPaint_setLCDRenderText'>setLCDRenderText</a>(bool lcdText)
1160 Requests, but does not require, that <a href='undocumented#Glyph'>glyphs</a> use LCD striping for <…
1162 Sets <a href='#SkPaint_kLCDRenderText_Flag'>kLCDRenderText_Flag</a> if <a href='#SkPaint_setLCDRend…
1163 Clears <a href='#SkPaint_kLCDRenderText_Flag'>kLCDRenderText_Flag</a> if <a href='#SkPaint_setLCDRe…
1168 <td>setting for <a href='#SkPaint_kLCDRenderText_Flag'>kLCDRenderText_Flag</a></td>
1188 <a href='#Font_Embedded_Bitmaps'>Font_Embedded_Bitmaps</a> allows selecting custom sized <a href='S…
1189href='#SkPaint_Flags'>Flags</a> <a href='#SkPaint_kEmbeddedBitmapText_Flag'>kEmbeddedBitmapText_Fl…
1190 in a <a href='SkFont_Reference#Font'>font</a> if the platform supports this option.
1192 …eeType selects the <a href='SkBitmap_Reference#Bitmap'>bitmap</a> <a href='undocumented#Glyph'>gly…
1193 the outline <a href='undocumented#Glyph'>glyph</a> if <a href='#SkPaint_kEmbeddedBitmapText_Flag'>k…
1194 Windows may select the <a href='SkBitmap_Reference#Bitmap'>bitmap</a> <a href='undocumented#Glyph'>…
1195 <a href='#OS_X'>OS_X</a> and iOS do not support this option.
1197 <a href='#Font_Embedded_Bitmaps'>Font_Embedded_Bitmaps</a> is disabled by default.
1198 <a href='#Font_Embedded_Bitmaps'>Font_Embedded_Bitmaps</a> can be enabled by default by setting <a
1199 <a href='#SkPaint_kEmbeddedBitmapText_Flag'>kEmbeddedBitmapText_Flag</a> at compile time.
1231 bool <a href='#SkPaint_isEmbeddedBitmapText'>isEmbeddedBitmapText</a>()const
1234 …a href='SkFont_Reference#Font'>font</a> engine may return <a href='undocumented#Glyph'>glyphs</a> …
1236 Equivalent to <a href='#SkPaint_getFlags'>getFlags</a>() masked with <a href='#SkPaint_kEmbeddedBit…
1240 <a href='#SkPaint_kEmbeddedBitmapText_Flag'>kEmbeddedBitmapText_Flag</a> state
1260 void <a href='#SkPaint_setEmbeddedBitmapText'>setEmbeddedBitmapText</a>(bool useEmbeddedBitmapText)
1263 Requests, but does not require, to use <a href='SkBitmap_Reference#Bitmap'>bitmaps</a> in fonts ins…
1265 Sets <a href='#SkPaint_kEmbeddedBitmapText_Flag'>kEmbeddedBitmapText_Flag</a> if <a href='#SkPaint_…
1266 Clears <a href='#SkPaint_kEmbeddedBitmapText_Flag'>kEmbeddedBitmapText_Flag</a> if <a href='#SkPain…
1271 <td>setting for <a href='#SkPaint_kEmbeddedBitmapText_Flag'>kEmbeddedBitmapText_Flag</a></td>
1289href='undocumented#SkFontHinting'>SkFontHinting</a>::<a href='#SkFontHinting_kNormal'>kNormal</a> …
1290 instructs the <a href='#Font_Manager'>Font_Manager</a> to always hint <a href='undocumented#Glyph'>…
1291 …a href='#Font_Force_Hinting'>Font_Force_Hinting</a> has no effect if Hinting is set to <a href='un…
1292 <a href='undocumented#SkFontHinting'>SkFontHinting</a>::<a href='#SkFontHinting_kSlight'>kSlight</a…
1294 <a href='#Font_Force_Hinting'>Font_Force_Hinting</a> only affects platforms that use FreeType as th…
1301 bool <a href='#SkPaint_isAutohinted'>isAutohinted</a>()const
1304 …s true if <a href='SkPaint_Reference#SkPaint'>SkPaint</a>::Hinting is set to <a href='undocumented…
1305 <a href='undocumented#SkFontHinting'>SkFontHinting</a>::<a href='#SkFontHinting_kFull'>kFull</a>, a…
1306 If true, instructs the <a href='SkFont_Reference#Font'>font</a> manager to always hint <a href='und…
1308 Equivalent to <a href='#SkPaint_getFlags'>getFlags</a>() masked with <a href='#SkPaint_kAutoHinting…
1312 <a href='#SkPaint_kAutoHinting_Flag'>kAutoHinting_Flag</a> state
1329 <a href='#SkPaint_setAutohinted'>setAutohinted</a> Hinting
1336 void <a href='#SkPaint_setAutohinted'>setAutohinted</a>(bool useAutohinter)
1339 Sets whether to always hint <a href='undocumented#Glyph'>glyphs</a>.
1340href='SkPaint_Reference#SkPaint'>SkPaint</a>::Hinting is set to <a href='undocumented#SkFontHintin…
1341href='#SkPaint_setAutohinted_useAutohinter'>useAutohinter</a> is set, instructs the <a href='undo…
1342href='#SkPaint_setAutohinted_useAutohinter'>useAutohinter</a> has no effect if <a href='SkPaint_Re…
1343 <a href='undocumented#SkFontHinting'>SkFontHinting</a>::<a href='#SkFontHinting_kSlight'>kSlight</a…
1345 Only affects platforms that use FreeType as the <a href='undocumented#Font_Manager'>font manager</…
1347 Sets <a href='#SkPaint_kAutoHinting_Flag'>kAutoHinting_Flag</a> if <a href='#SkPaint_setAutohinted_…
1348 Clears <a href='#SkPaint_kAutoHinting_Flag'>kAutoHinting_Flag</a> if <a href='#SkPaint_setAutohinte…
1353 <td>setting for <a href='#SkPaint_kAutoHinting_Flag'>kAutoHinting_Flag</a></td>
1363 <a href='#SkPaint_isAutohinted'>isAutohinted</a> Hinting
1369href='#Font_Embolden'>Font_Embolden</a> approximates the bold <a href='SkFont_Reference#Font'>font…
1370 is not available. Skia does not provide <a href='SkFont_Reference#Font'>font</a> substitution; it i…
1371 bold <a href='SkFont_Reference#Font'>font</a> face using the platform <a href='#Font_Manager'>Font_…
1373 Use <a href='#Paint_Text_Skew_X'>Text_Skew_X</a> to approximate an italic <a href='SkFont_Reference…
1377 the <a href='SkFont_Reference#Font_Engine'>font engine</a> to create the bold <a href='undocumente…
1378 by increasing the <a href='#Stroke_Width'>stroke width</a> and setting the <a href='#SkPaint_Style…
1380 <a href='#Font_Embolden'>Font_Embolden</a> is disabled by default.
1391 bool <a href='#SkPaint_isFakeBoldText'>isFakeBoldText</a>()const
1394 …e bold by increasing the stroke width when creating <a href='undocumented#Glyph'>glyph</a> <a href
1397 Equivalent to <a href='#SkPaint_getFlags'>getFlags</a>() masked with <a href='#SkPaint_kFakeBoldTex…
1401 <a href='#SkPaint_kFakeBoldText_Flag'>kFakeBoldText_Flag</a> state
1421 void <a href='#SkPaint_setFakeBoldText'>setFakeBoldText</a>(bool fakeBoldText)
1424href='#Stroke_Width'>stroke width</a> when creating <a href='undocumented#Glyph'>glyph</a> <a href
1426 Sets <a href='#SkPaint_kFakeBoldText_Flag'>kFakeBoldText_Flag</a> if <a href='#SkPaint_setFakeBoldT…
1427 Clears <a href='#SkPaint_kFakeBoldText_Flag'>kFakeBoldText_Flag</a> if <a href='#SkPaint_setFakeBol…
1432 <td>setting for <a href='#SkPaint_kFakeBoldText_Flag'>kFakeBoldText_Flag</a></td>
1452 <a href='#Filter_Quality'>Filter_Quality</a> trades speed for <a href='SkImage_Reference#Image'>ima…
1453 A lower <a href='#Filter_Quality'>Filter_Quality</a> draws faster, but has less fidelity.
1454 A higher <a href='#Filter_Quality'>Filter_Quality</a> draws slower, but looks better.
1455 If the <a href='SkImage_Reference#Image'>image</a> is drawn without scaling, the <a href='#Filter_Q…
1458 <a href='#Filter_Quality'>Filter_Quality</a> is used in <a href='SkPaint_Reference#Paint'>Paint</a>…
1461 …<td><a href='SkCanvas_Reference#SkCanvas'>SkCanvas</a>::<a href='#SkCanvas_drawBitmap'>drawBitmap<…
1463 …<td><a href='SkCanvas_Reference#SkCanvas'>SkCanvas</a>::<a href='#SkCanvas_drawBitmapRect'>drawBit…
1465 …<td><a href='SkCanvas_Reference#SkCanvas'>SkCanvas</a>::<a href='#SkCanvas_drawImage'>drawImage</a…
1467 …<td><a href='SkCanvas_Reference#SkCanvas'>SkCanvas</a>::<a href='#SkCanvas_drawImageRect'>drawImag…
1471href='SkPaint_Reference#Paint'>Paint</a> has a <a href='undocumented#Shader'>Shader</a> specializa…
1473 <a href='#Filter_Quality'>Filter_Quality</a> is <a href='undocumented#kNone_SkFilterQuality'>kNone_…
1484 <a href='undocumented#SkFilterQuality'>SkFilterQuality</a> <a href='#SkPaint_getFilterQuality'>getF…
1487 Returns <a href='undocumented#SkFilterQuality'>SkFilterQuality</a>, the <a href='SkImage_Reference#…
1488 draws faster; a higher setting looks better when the <a href='SkImage_Reference#Image'>image</a> is…
1492 one of: <a href='undocumented#kNone_SkFilterQuality'>kNone_SkFilterQuality</a>, <a href='undocument…
1494 <a href='undocumented#kMedium_SkFilterQuality'>kMedium_SkFilterQuality</a>, <a href='undocumented#k…
1513 void <a href='#SkPaint_setFilterQuality'>setFilterQuality</a>(<a href='undocumented#SkFilterQuality…
1516 Sets <a href='undocumented#SkFilterQuality'>SkFilterQuality</a>, the <a href='SkImage_Reference#Ima…
1517 draws faster; a higher setting looks better when the <a href='SkImage_Reference#Image'>image</a> is…
1518 Does not check to see if <a href='#SkPaint_setFilterQuality_quality'>quality</a> is valid.
1523 …<td>one of: <a href='undocumented#kNone_SkFilterQuality'>kNone_SkFilterQuality</a>, <a href='undoc…
1527 <a href='undocumented#kMedium_SkFilterQuality'>kMedium_SkFilterQuality</a>, <a href='undocumented#k…
1543 <a href='undocumented#SkFilterQuality'>SkFilterQuality</a> <a href='#Image_Scaling'>Image_Scaling</…
1551 | <a href='#SkPaint_getColor'>getColor</a> | returns <a href='#Color_Alpha'>Color_Alpha</a> and RGB…
1552 | <a href='#SkPaint_setColor'>setColor</a> | sets <a href='#Color_Alpha'>Color_Alpha</a> and RGB, o…
1554 <a href='SkColor_Reference#Color'>Color</a> specifies the red, blue, green, and <a href='#Color_Alp…
1559 <a href='SkColor_Reference#Color'>Color</a> is not <a href='undocumented#Premultiply'>Premultiplied…
1562 The bit positions of <a href='#Color_Alpha'>Color_Alpha</a> and RGB are independent of the bit
1563 positions on the output <a href='undocumented#Device'>device</a>, which may have more or fewer bits…
1566 | bit positions | <a href='#Color_Alpha'>Color_Alpha</a> | red | blue | green |
1579 <a href='SkColor_Reference#SkColor'>SkColor</a> <a href='#SkPaint_getColor'>getColor</a>()const
1582 Retrieves <a href='SkColor_Reference#Alpha'>alpha</a> and RGB, <a href='undocumented#Unpremultiply'…
1583href='SkColor_Reference#SkColorGetA'>SkColorGetA</a>(), <a href='SkColor_Reference#SkColorGetR'>Sk…
1584 a <a href='SkColor_Reference#Color'>color</a> component.
1588 <a href='undocumented#Unpremultiply'>unpremultiplied</a> ARGB
1604 <a href='#SkPaint_getColor4f'>getColor4f</a> <a href='SkColor_Reference#SkColor'>SkColor</a>
1611 <a href='SkColor4f_Reference#SkColor4f'>SkColor4f</a> <a href='#SkPaint_getColor4f'>getColor4f</a>(…
1614 …rieves <a href='SkColor_Reference#Alpha'>alpha</a> and RGB, <a href='undocumented#Unpremultiply'>u…
1619 <a href='undocumented#Unpremultiply'>unpremultiplied</a> RGBA
1635 <a href='#SkPaint_getColor'>getColor</a> <a href='SkColor_Reference#SkColor'>SkColor</a>
1642 void <a href='#SkPaint_setColor'>setColor</a>(<a href='SkColor_Reference#SkColor'>SkColor</a> <a hr…
1645 Sets <a href='SkColor_Reference#Alpha'>alpha</a> and RGB used when stroking and filling. The <a hre…
1646 <a href='undocumented#Unpremultiply'>unpremultiplied</a>, packing 8-bit components for <a href='SkC…
1651 <td><a href='undocumented#Unpremultiply'>unpremultiplied</a> ARGB</td>
1669 <a href='SkColor_Reference#SkColor'>SkColor</a> <a href='#SkPaint_setColor4f'>setColor4f</a> <a hre…
1676href='#SkPaint_setColor4f'>setColor4f</a>(const <a href='SkColor4f_Reference#SkColor4f'>SkColor4f<…
1679 Sets <a href='SkColor_Reference#Alpha'>alpha</a> and RGB used when stroking and filling. The <a hre…
1680 <a href='SkPoint_Reference#Point'>point</a> values, <a href='undocumented#Unpremultiply'>unpremulti…
1681 the <a href='#SkPaint_setColor4f_colorSpace'>colorSpace</a>. If <a href='#SkPaint_setColor4f_colorS…
1682 sRGB <a href='undocumented#Color_Space'>color space</a>.
1687 <td><a href='undocumented#Unpremultiply'>unpremultiplied</a> RGBA</td>
1690 …<td><a href='undocumented#SkColorSpace'>SkColorSpace</a> describing the encoding of <a href='#SkPa…
1708 <a href='SkColor_Reference#SkColor'>SkColor</a> <a href='#SkPaint_setColor'>setColor</a> <a href='#…
1712 <a href='#Color_Alpha'>Color_Alpha</a> sets the transparency independent of RGB: red, blue, and gre…
1719 uint8_t <a href='#SkPaint_getAlpha'>getAlpha</a>()const
1722 Retrieves <a href='SkColor_Reference#Alpha'>alpha</a> from the <a href='SkColor_Reference#Color'>co…
1726 <a href='SkColor_Reference#Alpha'>alpha</a> ranging from zero, fully transparent, to 255, fully opa…
1745 void <a href='#SkPaint_setAlpha'>setAlpha</a>(<a href='undocumented#U8CPU'>U8CPU</a> a)
1748 Replaces <a href='SkColor_Reference#Alpha'>alpha</a>, leaving RGB
1750 build. <a href='#SkPaint_setAlpha_a'>a</a> is <a href='#SkPaint_setAlpha_a'>a</a> value from zero t…
1751href='#SkPaint_setAlpha_a'>a</a> set to zero makes <a href='SkColor_Reference#Color'>color</a> ful…
1757 …<td><a href='SkColor_Reference#Alpha'>alpha</a> component of <a href='SkColor_Reference#Color'>col…
1778href='#SkPaint_setARGB'>setARGB</a>(<a href='undocumented#U8CPU'>U8CPU</a> a, <a href='undocumente…
1781 Sets <a href='SkColor_Reference#Color'>color</a> used when drawing solid fills. The <a href='SkColo…
1782 The <a href='SkColor_Reference#Color'>color</a> is <a href='undocumented#Unpremultiply'>unpremultip…
1787 …<td>amount of <a href='SkColor_Reference#Alpha'>alpha</a>, from fully transparent (0) to fully opa…
1814 <a href='#SkPaint_setColor'>setColor</a> <a href='SkColor_Reference#SkColorSetARGB'>SkColorSetARGB<…
1820 <a href='#SkPaint_Style'>Style</a> specifies if the geometry is filled, stroked, or both filled and…
1821 Some shapes ignore <a href='#SkPaint_Style'>Style</a> and are always drawn filled or stroked.
1825 Set <a href='#SkPaint_Style'>Style</a> to <a href='#SkPaint_kFill_Style'>kFill_Style</a> to fill th…
1830 Set <a href='#SkPaint_Style'>Style</a> to <a href='#SkPaint_kStroke_Style'>kStroke_Style</a> to str…
1833 <a href='#Paint_Stroke_Width'>Stroke_Width</a>. The area covered where the shape starts and stops i…
1834 The area covered where the shape turns a corner is described by <a href='#Paint_Stroke_Join'>Stroke…
1835 …ge.As <a href='#Paint_Stroke_Width'>Stroke_Width</a> gets smaller, the drawn <a href='SkPath_Refer…
1836 may have gaps, and if <a href='#SkPaint_kAntiAlias_Flag'>kAntiAlias_Flag</a> is set, <a href='#Colo…
1840 <a href='#Path_Fill_Type'>Path_Fill_Type</a> <a href='#Path_Effect'>Path_Effect</a> <a href='#Paint…
1846 <a href='#Paint_Stroke_Width'>Stroke_Width</a> of zero has a special meaning and switches drawing t…
1847 Hairline draws the thinnest continuous frame. If <a href='#SkPaint_kAntiAlias_Flag'>kAntiAlias_Flag…
1850href='SkPath_Reference#Path'>Path</a> drawing with Hairline may hit the same <a href='undocumented…
1851href='undocumented#Line'>lines</a> in one <a href='#Path_Overview_Contour'>Path_Contour</a> will d…
1852href='undocumented#Pixel'>pixel</a>. If <a href='#SkPaint_kAntiAlias_Flag'>kAntiAlias_Flag</a> is …
1858 <a href='#Path_Fill_Type'>Path_Fill_Type</a> <a href='#Path_Effect'>Path_Effect</a> <a href='#Paint…
1865 enum <a href='#SkPaint_Style'>Style</a> : uint8_t {
1866 <a href='#SkPaint_kFill_Style'>kFill_Style</a>,
1867 <a href='#SkPaint_kStroke_Style'>kStroke_Style</a>,
1868 <a href='#SkPaint_kStrokeAndFill_Style'>kStrokeAndFill_Style</a>,
1874 …static constexpr int <a href='#SkPaint_kStyleCount'>kStyleCount</a> = <a href='#SkPaint_kStrokeAnd…
1877 Set <a href='#SkPaint_Style'>Style</a> to fill, stroke, or both fill and stroke geometry.
1879 share all <a href='SkPaint_Reference#Paint'>paint</a> attributes; for instance, they are drawn with…
1881 Use <a href='#SkPaint_kStrokeAndFill_Style'>kStrokeAndFill_Style</a> to avoid hitting the same pixe…
1894href='SkRect_Reference#Rect'>Rect</a>, <a href='SkRegion_Reference#Region'>Region</a>, <a href='#R…
1895href='SkBitmap_Reference#Bitmap'>Bitmap</a>, <a href='SkImage_Reference#Image'>Image</a>, <a href=…
1896 <a href='#SkPaint_kFill_Style'>kFill_Style</a> is set, and ignore the set <a href='#SkPaint_Style'>…
1897 The <a href='#Path_Fill_Type'>Path_Fill_Type</a> specifies additional rules to fill the area outsid…
1899 <a href='#SkPaint_Style'>Style</a> is set to <a href='#SkPaint_kFill_Style'>kFill_Style</a> by defa…
1906href='SkRect_Reference#Rect'>Rect</a>, <a href='SkRegion_Reference#Region'>Region</a>, <a href='#R…
1907href='undocumented#Arc'>Arcs</a>, <a href='undocumented#Line'>Lines</a>, and <a href='SkPoint_Refe…
1908 and ignore the set <a href='#SkPaint_Style'>Style</a>.
1909 The stroke construction is unaffected by the <a href='#Path_Fill_Type'>Path_Fill_Type</a>.
1916href='SkRect_Reference#Rect'>Rect</a>, <a href='SkRegion_Reference#Region'>Region</a>, <a href='#R…
1917 <a href='SkPath_Reference#Path'>Path</a> is treated as if it is set to <a href='SkPath_Reference#Sk…
1918 and the set <a href='#Path_Fill_Type'>Path_Fill_Type</a> is ignored.
1925 May be used to verify that <a href='#SkPaint_Style'>Style</a> is a legal value.
1935 <a href='#SkPaint_Style'>Style</a> <a href='#SkPaint_getStyle'>getStyle</a>()const
1942 one of:<a href='#SkPaint_kFill_Style'>kFill_Style</a>, <a href='#SkPaint_kStroke_Style'>kStroke_Sty…
1958 <a href='#SkPaint_Style'>Style</a> <a href='#SkPaint_setStyle'>setStyle</a>
1965 void <a href='#SkPaint_setStyle'>setStyle</a>(<a href='#SkPaint_Style'>Style</a> style)
1969 Has no effect if <a href='#SkPaint_setStyle_style'>style</a> is not a legal <a href='SkPaint_Refere…
1974 …<td>one of: <a href='#SkPaint_kFill_Style'>kFill_Style</a>, <a href='#SkPaint_kStroke_Style'>kStro…
1984 <a href='#SkPaint_Style'>Style</a> <a href='#SkPaint_getStyle'>getStyle</a>
1990 <a href='#Paint_Stroke_Width'>Stroke_Width</a> sets the width for stroking. The width is the thickn…
1991 of the stroke perpendicular to the <a href='SkPath_Reference#Path_Direction'>path direction</a> wh…
1992 set to <a href='#SkPaint_kStroke_Style'>kStroke_Style</a> or <a href='#SkPaint_kStrokeAndFill_Style…
1995 or fully as needed. When the width equals zero, the <a href='SkPaint_Reference#Paint'>paint</a> ena…
1996 the stroke is always one <a href='undocumented#Pixel'>pixel</a> wide.
1998 The stroke dimensions are scaled by the <a href='SkCanvas_Reference#Canvas_Matrix'>canvas matrix</…
1999 remains one <a href='undocumented#Pixel'>pixel</a> wide regardless of scaling.
2001 The default width for the <a href='SkPaint_Reference#Paint'>paint</a> is zero.
2005 …e035c61cef33a624a652" gpu="true"><div>The pixels hit to represent thin <a href='undocumented#Line'…
2006 <a href='undocumented#Line'>line</a> and the platform implementation.
2014 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPaint_getStrokeWidth'>getStrokeWidth</a>()…
2017 Returns the thickness of the pen used by <a href='SkPaint_Reference#SkPaint'>SkPaint</a> to
2041 void <a href='#SkPaint_setStrokeWidth'>setStrokeWidth</a>(<a href='undocumented#SkScalar'>SkScalar<…
2044 Sets the thickness of the pen used by the <a href='SkPaint_Reference#Paint'>paint</a> to
2046 Has no effect if <a href='#SkPaint_setStrokeWidth_width'>width</a> is less than zero.
2071 <a href='#Paint_Miter_Limit'>Miter_Limit</a> specifies the maximum miter length,
2072 relative to the <a href='#Stroke_Width'>stroke width</a>.
2074 <a href='#Paint_Miter_Limit'>Miter_Limit</a> is used when the <a href='#Paint_Stroke_Join'>Stroke_J…
2075 is set to <a href='#SkPaint_kMiter_Join'>kMiter_Join</a>, and the <a href='#SkPaint_Style'>Style</a…
2076 or <a href='#SkPaint_kStrokeAndFill_Style'>kStrokeAndFill_Style</a>.
2078 If the miter at a corner exceeds this limit, <a href='#SkPaint_kMiter_Join'>kMiter_Join</a>
2079 is replaced with <a href='#SkPaint_kBevel_Join'>kBevel_Join</a>.
2081 <a href='#Paint_Miter_Limit'>Miter_Limit</a> can be computed from the corner angle using:
2082 <code><a href='#Miter_Limit'>miter limit</a> = 1 / sin ( angle / 2 )</code>.
2084 <a href='#Paint_Miter_Limit'>Miter_Limit</a> default value is 4.
2085 The default may be changed at compile time by setting <a href='undocumented#SkPaintDefaults_MiterLi…
2090 | <a href='#Miter_Limit'>miter limit</a> | angle in degrees |
2106 When the <a href='#Miter_Limit'>miter limit</a> is decreased slightly, the miter join is replaced
2115 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPaint_getStrokeMiter'>getStrokeMiter</a>()…
2138 <a href='#Paint_Miter_Limit'>Miter_Limit</a> <a href='#SkPaint_setStrokeMiter'>setStrokeMiter</a> <…
2145 void <a href='#SkPaint_setStrokeMiter'>setStrokeMiter</a>(<a href='undocumented#SkScalar'>SkScalar<…
2150 Has no effect if <a href='#SkPaint_setStrokeMiter_miter'>miter</a> is less than zero.
2155 <td>zero and greater <a href='#Miter_Limit'>miter limit</a></td>
2173 <a href='#Paint_Miter_Limit'>Miter_Limit</a> <a href='#SkPaint_getStrokeMiter'>getStrokeMiter</a> <…
2182 enum <a href='#SkPaint_Cap'>Cap</a> {
2183 <a href='#SkPaint_kButt_Cap'>kButt_Cap</a>,
2184 <a href='#SkPaint_kRound_Cap'>kRound_Cap</a>,
2185 <a href='#SkPaint_kSquare_Cap'>kSquare_Cap</a>,
2186 <a href='#SkPaint_kLast_Cap'>kLast_Cap</a> = <a href='#SkPaint_kSquare_Cap'>kSquare_Cap</a>,
2187 … <a href='#SkPaint_kDefault_Cap'>kDefault_Cap</a> = <a href='#SkPaint_kButt_Cap'>kButt_Cap</a>,
2193 …static constexpr int <a href='#SkPaint_kCapCount'>kCapCount</a> = <a href='#SkPaint_kLast_Cap'>kLa…
2196 <a href='#Paint_Stroke_Cap'>Stroke_Cap</a> draws at the beginning and end of an open <a href='#Path…
2215 Adds a <a href='undocumented#Circle'>circle</a> with a diameter equal to <a href='#Paint_Stroke_Wid…
2223 Adds a square with sides equal to <a href='#Paint_Stroke_Width'>Stroke_Width</a> at the beginning
2232 Equivalent to the largest value for <a href='#Paint_Stroke_Cap'>Stroke_Cap</a>.
2239 <a href='#Paint_Stroke_Cap'>Stroke_Cap</a> is set to <a href='#SkPaint_kButt_Cap'>kButt_Cap</a> by …
2246 May be used to verify that <a href='#Paint_Stroke_Cap'>Stroke_Cap</a> is a legal value.
2251 Stroke describes the area covered by a pen of <a href='#Paint_Stroke_Width'>Stroke_Width</a> as it
2252 follows the <a href='#Path_Overview_Contour'>Path_Contour</a>, moving parallel to the <a href='SkPa…
2254href='#Path_Overview_Contour'>Path_Contour</a> is not terminated by <a href='SkPath_Reference#SkPa…
2257 <a href='#Path_Overview_Contour'>Path_Contour</a> may start and end at the same <a href='SkPoint_Re…
2259 <a href='#SkPaint_kButt_Cap'>kButt_Cap</a> and <a href='#Path_Overview_Contour_Zero_Length'>Zero_Le…
2260href='#SkPaint_kRound_Cap'>kRound_Cap</a> and <a href='#Path_Overview_Contour_Zero_Length'>Zero_Le…
2261 at the <a href='SkPath_Overview#Contour'>contour</a> <a href='SkPoint_Reference#Point'>point</a>.
2262 <a href='#SkPaint_kSquare_Cap'>kSquare_Cap</a> and <a href='#Path_Overview_Contour_Zero_Length'>Zer…
2263 <a href='#Paint_Stroke_Width'>Stroke_Width</a> at the <a href='SkPath_Overview#Contour'>contour</a>…
2265 <a href='#Paint_Stroke_Cap'>Stroke_Cap</a> is <a href='#SkPaint_kButt_Cap'>kButt_Cap</a> by default.
2276 <a href='#SkPaint_Cap'>Cap</a> <a href='#SkPaint_getStrokeCap'>getStrokeCap</a>()const
2283 one of: <a href='#SkPaint_kButt_Cap'>kButt_Cap</a>, <a href='#SkPaint_kRound_Cap'>kRound_Cap</a>, <…
2299 <a href='#Paint_Stroke_Cap'>Stroke_Cap</a> <a href='#SkPaint_setStrokeCap'>setStrokeCap</a>
2306 void <a href='#SkPaint_setStrokeCap'>setStrokeCap</a>(<a href='#SkPaint_Cap'>Cap</a> cap)
2314 …<td>one of: <a href='#SkPaint_kButt_Cap'>kButt_Cap</a>, <a href='#SkPaint_kRound_Cap'>kRound_Cap</…
2318 has no effect if <a href='#SkPaint_setStrokeCap_cap'>cap</a> is not valid
2334 <a href='#Paint_Stroke_Cap'>Stroke_Cap</a> <a href='#SkPaint_getStrokeCap'>getStrokeCap</a>
2338 <a href='#Paint_Stroke_Join'>Stroke_Join</a> draws at the sharp corners of an open or closed <a hre…
2340 Stroke describes the area covered by a pen of <a href='#Paint_Stroke_Width'>Stroke_Width</a> as it
2341 follows the <a href='#Path_Overview_Contour'>Path_Contour</a>, moving parallel to the <a href='SkPa…
2343 If the <a href='SkPath_Overview#Contour'>contour</a> direction changes abruptly, because the tangen…
2344 to the end of a <a href='undocumented#Curve'>curve</a> within the <a href='SkPath_Overview#Contour'…
2345 the following <a href='undocumented#Curve'>curve</a>, the pair of <a href='undocumented#Curve'>curv…
2356 enum <a href='#SkPaint_Join'>Join</a> : uint8_t {
2357 <a href='#SkPaint_kMiter_Join'>kMiter_Join</a>,
2358 <a href='#SkPaint_kRound_Join'>kRound_Join</a>,
2359 <a href='#SkPaint_kBevel_Join'>kBevel_Join</a>,
2360 … <a href='#SkPaint_kLast_Join'>kLast_Join</a> = <a href='#SkPaint_kBevel_Join'>kBevel_Join</a>,
2361 …<a href='#SkPaint_kDefault_Join'>kDefault_Join</a> = <a href='#SkPaint_kMiter_Join'>kMiter_Join</a…
2367 …static constexpr int <a href='#SkPaint_kJoinCount'>kJoinCount</a> = <a href='#SkPaint_kLast_Join'>…
2370 <a href='#SkPaint_Join'>Join</a> specifies how corners are drawn when a shape is stroked. <a href='…
2372 stroked <a href='SkPath_Reference#Path'>path</a>.
2374 Choose miter join to draw sharp corners. Choose round join to draw a <a href='undocumented#Circle'>…
2375 radius equal to the <a href='#Stroke_Width'>stroke width</a> on top of the corner. Choose bevel jo…
2378 The <a href='#Fill_Path'>fill path</a> constructed to describe the stroked <a href='SkPath_Referen…
2379 not contain the actual join. For instance, a <a href='#Fill_Path'>fill path</a> constructed with r…
2380 not necessarily include <a href='undocumented#Circle'>circles</a> at each connected segment.
2392 Extends the outside corner to the extent allowed by <a href='#Paint_Miter_Limit'>Miter_Limit</a>.
2393 If the extension exceeds <a href='#Paint_Miter_Limit'>Miter_Limit</a>, <a href='#SkPaint_kBevel_Joi…
2400 Adds a <a href='undocumented#Circle'>circle</a> with a diameter of <a href='#Paint_Stroke_Width'>St…
2420 <a href='#Paint_Stroke_Join'>Stroke_Join</a> is set to <a href='#SkPaint_kMiter_Join'>kMiter_Join</…
2427 May be used to verify that <a href='#Paint_Stroke_Join'>Stroke_Join</a> is a legal value.
2438href='#SkPaint_setStrokeJoin'>setStrokeJoin</a> <a href='#SkPaint_getStrokeJoin'>getStrokeJoin</a>…
2445 <a href='#SkPaint_Join'>Join</a> <a href='#SkPaint_getStrokeJoin'>getStrokeJoin</a>()const
2452 one of: <a href='#SkPaint_kMiter_Join'>kMiter_Join</a>, <a href='#SkPaint_kRound_Join'>kRound_Join<…
2468 <a href='#Paint_Stroke_Join'>Stroke_Join</a> <a href='#SkPaint_setStrokeJoin'>setStrokeJoin</a>
2475 void <a href='#SkPaint_setStrokeJoin'>setStrokeJoin</a>(<a href='#SkPaint_Join'>Join</a> join)
2483 …<td>one of: <a href='#SkPaint_kMiter_Join'>kMiter_Join</a>, <a href='#SkPaint_kRound_Join'>kRound_…
2503 <a href='#Paint_Stroke_Join'>Stroke_Join</a> <a href='#SkPaint_getStrokeJoin'>getStrokeJoin</a>
2507 <a href='#Paint_Miter_Limit'>Miter_Limit</a>
2513href='#Paint_Fill_Path'>Fill_Path</a> creates a <a href='SkPath_Reference#Path'>Path</a> by applyi…
2515href='SkPaint_Reference#Paint'>Paint</a> contains <a href='#Path_Effect'>Path_Effect</a>, <a href=…
2516 replaces the destination <a href='SkPath_Reference#Path'>Path</a>. Otherwise, the source <a href='S…
2517 destination <a href='SkPath_Reference#Path'>Path</a>.
2519 Fill <a href='SkPath_Reference#Path'>Path</a> can request the <a href='#Path_Effect'>Path_Effect</a…
2520 the <a href='#Path_Effect'>Path_Effect</a> is not required to do so.
2522 If <a href='#SkPaint_Style'>Style</a> is <a href='#SkPaint_kStroke_Style'>kStroke_Style</a> or <a h…
2523href='#Paint_Stroke_Width'>Stroke_Width</a> is greater than zero, the <a href='#Paint_Stroke_Width…
2524 and <a href='#Paint_Miter_Limit'>Miter_Limit</a> operate on the destination <a href='SkPath_Referen…
2526 Fill <a href='SkPath_Reference#Path'>Path</a> can specify the precision used by <a href='#Paint_Str…
2528href='#SkPaint_Style'>Style</a> is <a href='#SkPaint_kStroke_Style'>kStroke_Style</a> and the <a h…
2533 <a href='#Paint_Style_Stroke'>Style_Stroke</a> <a href='#Paint_Stroke_Width'>Stroke_Width</a> <a hr…
2540href='#SkPaint_getFillPath'>getFillPath</a>(const <a href='SkPath_Reference#SkPath'>SkPath</a>& sr…
2543 Returns the filled equivalent of the stroked <a href='SkPath_Reference#Path'>path</a>.
2548 <td><a href='SkPath_Reference#SkPath'>SkPath</a> read to create a filled version</td>
2551 …<td>resulting <a href='SkPath_Reference#SkPath'>SkPath</a>; may be the same as <a href='#SkPaint_g…
2554 <td>optional limit passed to <a href='undocumented#SkPathEffect'>SkPathEffect</a></td>
2557 …<td>if > 1, increase precision, else if (0 < <a href='#SkPaint_getFillPath_resScale'>resScale</a> …
2561 to favor speed and <a href='undocumented#Size'>size</a>
2565 true if the <a href='SkPath_Reference#Path'>path</a> represents <a href='#Style_Fill'>style fill</…
2569 …ca4d1e14816baaf"><div>A very small <a href='SkPath_Reference#Quad'>Quad</a> stroke is turned into …
2570 At the lowest precision, the <a href='SkPath_Reference#Quad'>Quad</a> stroke is approximated by a r…
2571 At the highest precision, the filled <a href='SkPath_Reference#Path'>path</a> has high fidelity com…
2579 bool <a href='#SkPaint_getFillPath'>getFillPath</a>(const <a href='SkPath_Reference#SkPath'>SkPath<…
2582 Returns the filled equivalent of the stroked <a href='SkPath_Reference#Path'>path</a>.
2584href='#SkPaint_getFillPath_2_dst'>dst</a> with the <a href='#SkPaint_getFillPath_2_src'>src</a> <a…
2585 <a href='undocumented#SkPathEffect'>SkPathEffect</a>, if any, is not culled. <a href='#Stroke_Widt…
2590 <td><a href='SkPath_Reference#SkPath'>SkPath</a> read to create a filled version</td>
2593 …<td>resulting <a href='SkPath_Reference#SkPath'>SkPath</a> <a href='#SkPaint_getFillPath_2_dst'>ds…
2599 true if the <a href='SkPath_Reference#Path'>path</a> represents <a href='#Style_Fill'>style fill</…
2609 <a href='undocumented#Shader'>Shader</a> defines the colors used when drawing a shape.
2610 <a href='undocumented#Shader'>Shader</a> may be an <a href='SkImage_Reference#Image'>image</a>, a g…
2611 If <a href='SkPaint_Reference#Paint'>Paint</a> has no <a href='undocumented#Shader'>Shader</a>, the…
2613 <a href='undocumented#Shader'>Shader</a> is modulated by <a href='#Color_Alpha'>Color_Alpha</a> com…
2614href='undocumented#Shader'>Shader</a> object defines only <a href='#Color_Alpha'>Color_Alpha</a>, …
2617 …ansparency can be modified without altering <a href='undocumented#Shader'>Shader</a>, by changing …
2623 If <a href='undocumented#Shader'>Shader</a> generates only <a href='#Color_Alpha'>Color_Alpha</a> t…
2634 <a href='undocumented#SkShader'>SkShader</a>* <a href='#SkPaint_getShader'>getShader</a>()const
2637 Returns optional colors used when filling a <a href='SkPath_Reference#Path'>path</a>, such as a gra…
2639 Does not alter <a href='undocumented#SkShader'>SkShader</a> <a href='undocumented#SkRefCnt'>SkRefCn…
2643 <a href='undocumented#SkShader'>SkShader</a> if previously set, nullptr otherwise
2663 <a href='undocumented#sk_sp'>sk_sp</a>&lt;<a href='undocumented#SkShader'>SkShader</a>&gt; <a href=…
2666 Returns optional colors used when filling a <a href='SkPath_Reference#Path'>path</a>, such as a gra…
2668 Increases <a href='undocumented#SkShader'>SkShader</a> <a href='undocumented#SkRefCnt'>SkRefCnt</a>…
2672 <a href='undocumented#SkShader'>SkShader</a> if previously set, nullptr otherwise
2692 …oid <a href='#SkPaint_setShader'>setShader</a>(<a href='undocumented#sk_sp'>sk_sp</a>&lt;<a href='…
2695 Sets optional colors used when filling a <a href='SkPath_Reference#Path'>path</a>, such as a gradie…
2697href='undocumented#SkShader'>SkShader</a> to <a href='#SkPaint_setShader_shader'>shader</a>, decre…
2698 Increments <a href='#SkPaint_setShader_shader'>shader</a> <a href='undocumented#SkRefCnt'>SkRefCnt<…
2703 …<td>how geometry is filled with <a href='SkColor_Reference#Color'>color</a>; if nullptr, <a href='…
2715 <a href='#Color_Filter'>Color_Filter</a> alters the <a href='SkColor_Reference#Color'>color</a> use…
2716href='#Color_Filter'>Color_Filter</a> may apply <a href='#Blend_Mode'>Blend_Mode</a>, transform th…
2717 If <a href='SkPaint_Reference#Paint'>Paint</a> has no <a href='#Color_Filter'>Color_Filter</a>, the…
2719 …ansparency can be modified without altering <a href='#Color_Filter'>Color_Filter</a>, by changing …
2730 <a href='undocumented#SkColorFilter'>SkColorFilter</a>* <a href='#SkPaint_getColorFilter'>getColorF…
2733 Returns <a href='undocumented#SkColorFilter'>SkColorFilter</a> if set, or nullptr.
2734 Does not alter <a href='undocumented#SkColorFilter'>SkColorFilter</a> <a href='undocumented#SkRefCn…
2738 <a href='undocumented#SkColorFilter'>SkColorFilter</a> if previously set, nullptr otherwise
2758 <a href='undocumented#sk_sp'>sk_sp</a>&lt;<a href='undocumented#SkColorFilter'>SkColorFilter</a>&gt…
2761 Returns <a href='undocumented#SkColorFilter'>SkColorFilter</a> if set, or nullptr.
2762 Increases <a href='undocumented#SkColorFilter'>SkColorFilter</a> <a href='undocumented#SkRefCnt'>Sk…
2766 <a href='undocumented#SkColorFilter'>SkColorFilter</a> if set, or nullptr
2786 void <a href='#SkPaint_setColorFilter'>setColorFilter</a>(<a href='undocumented#sk_sp'>sk_sp</a>&lt…
2789 Sets <a href='undocumented#SkColorFilter'>SkColorFilter</a> to filter, decreasing <a href='undocume…
2790 <a href='undocumented#SkColorFilter'>SkColorFilter</a>. Pass nullptr to clear <a href='undocumented…
2792 Increments filter <a href='undocumented#SkRefCnt'>SkRefCnt</a> by one.
2797 <td><a href='undocumented#SkColorFilter'>SkColorFilter</a> to apply to subsequent draw</td>
2809 <a href='#Blend_Mode'>Blend_Mode</a> describes how <a href='SkColor_Reference#Color'>Color</a> comb…
2810 …setting, <a href='SkBlendMode_Reference#SkBlendMode'>SkBlendMode</a>::<a href='#SkBlendMode_kSrcOv…
2811 over the destination <a href='SkColor_Reference#Color'>color</a>.
2819 <a href='#Blend_Mode'>Blend_Mode</a>
2826 <a href='SkBlendMode_Reference#SkBlendMode'>SkBlendMode</a> <a href='#SkPaint_getBlendMode'>getBlen…
2829 Returns <a href='SkBlendMode_Reference#SkBlendMode'>SkBlendMode</a>.
2830 By default, returns <a href='SkBlendMode_Reference#SkBlendMode'>SkBlendMode</a>::<a href='#SkBlendM…
2834 mode used to combine source <a href='SkColor_Reference#Color'>color</a> with destination <a href='S…
2854 bool <a href='#SkPaint_isSrcOver'>isSrcOver</a>()const
2857 … true if <a href='SkBlendMode_Reference#SkBlendMode'>SkBlendMode</a> is <a href='SkBlendMode_Refer…
2861 true if <a href='SkBlendMode_Reference#SkBlendMode'>SkBlendMode</a> is <a href='SkBlendMode_Referen…
2881 void <a href='#SkPaint_setBlendMode'>setBlendMode</a>(<a href='SkBlendMode_Reference#SkBlendMode'>S…
2884 Sets <a href='SkBlendMode_Reference#SkBlendMode'>SkBlendMode</a> to <a href='#SkPaint_setBlendMode_…
2890 …<td><a href='SkBlendMode_Reference#SkBlendMode'>SkBlendMode</a> used to combine source <a href='Sk…
2911 <a href='#Path_Effect'>Path_Effect</a> modifies the <a href='SkPath_Reference#Path'>path</a> geomet…
2912 <a href='#Path_Effect'>Path_Effect</a> may implement dashing, custom fill effects and custom stroke…
2913 If <a href='SkPaint_Reference#Paint'>Paint</a> has no <a href='#Path_Effect'>Path_Effect</a>, the <…
2921 <a href='#Path_Effect'>Path_Effect</a>
2928 <a href='undocumented#SkPathEffect'>SkPathEffect</a>* <a href='#SkPaint_getPathEffect'>getPathEffec…
2931 Returns <a href='undocumented#SkPathEffect'>SkPathEffect</a> if set, or nullptr.
2932 Does not alter <a href='undocumented#SkPathEffect'>SkPathEffect</a> <a href='undocumented#SkRefCnt'…
2936 <a href='undocumented#SkPathEffect'>SkPathEffect</a> if previously set, nullptr otherwise
2956 <a href='undocumented#sk_sp'>sk_sp</a>&lt;<a href='undocumented#SkPathEffect'>SkPathEffect</a>&gt; …
2959 Returns <a href='undocumented#SkPathEffect'>SkPathEffect</a> if set, or nullptr.
2960 Increases <a href='undocumented#SkPathEffect'>SkPathEffect</a> <a href='undocumented#SkRefCnt'>SkRe…
2964 <a href='undocumented#SkPathEffect'>SkPathEffect</a> if previously set, nullptr otherwise
2984 void <a href='#SkPaint_setPathEffect'>setPathEffect</a>(<a href='undocumented#sk_sp'>sk_sp</a>&lt;<…
2987 Sets <a href='undocumented#SkPathEffect'>SkPathEffect</a> to <a href='#SkPaint_setPathEffect_pathEf…
2988 <a href='undocumented#SkPathEffect'>SkPathEffect</a>. Pass nullptr to leave the <a href='SkPath_Ref…
2990 Increments <a href='#SkPaint_setPathEffect_pathEffect'>pathEffect</a> <a href='undocumented#SkRefCn…
2995 <td>replace <a href='SkPath_Reference#SkPath'>SkPath</a> with a modification when drawn</td>
3007 <a href='#Mask_Filter'>Mask_Filter</a> uses coverage of the shape drawn to create <a href='#Mask_Al…
3008 <a href='#Mask_Filter'>Mask_Filter</a> takes a Mask, and returns a Mask.
3010 <a href='#Mask_Filter'>Mask_Filter</a> may change the geometry and transparency of the shape, such …
3011 creating a blur effect. Set <a href='#Mask_Filter'>Mask_Filter</a> to nullptr to prevent <a href='#…
3023 <a href='undocumented#SkMaskFilter'>SkMaskFilter</a>* <a href='#SkPaint_getMaskFilter'>getMaskFilte…
3026 Returns <a href='undocumented#SkMaskFilter'>SkMaskFilter</a> if set, or nullptr.
3027 Does not alter <a href='undocumented#SkMaskFilter'>SkMaskFilter</a> <a href='undocumented#SkRefCnt'…
3031 <a href='undocumented#SkMaskFilter'>SkMaskFilter</a> if previously set, nullptr otherwise
3051 <a href='undocumented#sk_sp'>sk_sp</a>&lt;<a href='undocumented#SkMaskFilter'>SkMaskFilter</a>&gt; …
3054 Returns <a href='undocumented#SkMaskFilter'>SkMaskFilter</a> if set, or nullptr.
3056 Increases <a href='undocumented#SkMaskFilter'>SkMaskFilter</a> <a href='undocumented#SkRefCnt'>SkRe…
3060 <a href='undocumented#SkMaskFilter'>SkMaskFilter</a> if previously set, nullptr otherwise
3080 void <a href='#SkPaint_setMaskFilter'>setMaskFilter</a>(<a href='undocumented#sk_sp'>sk_sp</a>&lt;<…
3083 Sets <a href='undocumented#SkMaskFilter'>SkMaskFilter</a> to <a href='#SkPaint_setMaskFilter_maskFi…
3084 <a href='undocumented#SkMaskFilter'>SkMaskFilter</a>. Pass nullptr to clear <a href='undocumented#S…
3085 <a href='undocumented#Mask_Alpha'>mask alpha</a> unaltered.
3087 Increments <a href='#SkPaint_setMaskFilter_maskFilter'>maskFilter</a> <a href='undocumented#SkRefCn…
3104 <a href='undocumented#Typeface'>Typeface</a> identifies the <a href='SkFont_Reference#Font'>font</a…
3105 <a href='undocumented#Typeface'>Typeface</a> may be specified by name, from a file, or from a <a hr…
3106 The default <a href='undocumented#Typeface'>Typeface</a> defers to the platform-specific default <a…
3118 <a href='undocumented#SkTypeface'>SkTypeface</a>* <a href='#SkPaint_getTypeface'>getTypeface</a>()c…
3121 Returns <a href='undocumented#SkTypeface'>SkTypeface</a> if set, or nullptr.
3122 Does not alter <a href='undocumented#SkTypeface'>SkTypeface</a> <a href='undocumented#SkRefCnt'>SkR…
3126 <a href='undocumented#SkTypeface'>SkTypeface</a> if previously set, nullptr otherwise
3146 <a href='undocumented#sk_sp'>sk_sp</a>&lt;<a href='undocumented#SkTypeface'>SkTypeface</a>&gt; <a h…
3149 Increases <a href='undocumented#SkTypeface'>SkTypeface</a> <a href='undocumented#SkRefCnt'>SkRefCnt…
3153 <a href='undocumented#SkTypeface'>SkTypeface</a> if previously set, nullptr otherwise
3173 …<a href='#SkPaint_setTypeface'>setTypeface</a>(<a href='undocumented#sk_sp'>sk_sp</a>&lt;<a href='…
3176href='undocumented#SkTypeface'>SkTypeface</a> to <a href='#SkPaint_setTypeface_typeface'>typeface<…
3177 Pass nullptr to clear <a href='undocumented#SkTypeface'>SkTypeface</a> and use the default <a href=…
3178 <a href='#SkPaint_setTypeface_typeface'>typeface</a> <a href='undocumented#SkRefCnt'>SkRefCnt</a> b…
3183 …<td><a href='SkFont_Reference#Font'>font</a> and style used to draw <a href='undocumented#Text'>te…
3195 <a href='#Image_Filter'>Image_Filter</a> operates on the <a href='undocumented#Pixel'>pixel</a> rep…
3196href='#Blend_Mode'>Blend_Mode</a> set to <a href='SkBlendMode_Reference#SkBlendMode'>SkBlendMode</…
3197 which is drawn to the <a href='undocumented#Device'>device</a> using the set <a href='#Blend_Mode'>…
3199 <a href='#Image_Filter'>Image_Filter</a> is higher level than <a href='#Mask_Filter'>Mask_Filter</a…
3200 …e on all channels of <a href='SkColor_Reference#Color'>Color</a>, while <a href='#Mask_Filter'>Mas…
3201 <a href='#Image_Filter'>Image_Filter</a> operates independently of and can be used in combination w…
3202 <a href='#Mask_Filter'>Mask_Filter</a>.
3213 <a href='undocumented#SkImageFilter'>SkImageFilter</a>* <a href='#SkPaint_getImageFilter'>getImageF…
3216 Returns <a href='undocumented#SkImageFilter'>SkImageFilter</a> if set, or nullptr.
3217 Does not alter <a href='undocumented#SkImageFilter'>SkImageFilter</a> <a href='undocumented#SkRefCn…
3221 <a href='undocumented#SkImageFilter'>SkImageFilter</a> if previously set, nullptr otherwise
3241 <a href='undocumented#sk_sp'>sk_sp</a>&lt;<a href='undocumented#SkImageFilter'>SkImageFilter</a>&gt…
3244 Returns <a href='undocumented#SkImageFilter'>SkImageFilter</a> if set, or nullptr.
3245 Increases <a href='undocumented#SkImageFilter'>SkImageFilter</a> <a href='undocumented#SkRefCnt'>Sk…
3249 <a href='undocumented#SkImageFilter'>SkImageFilter</a> if previously set, nullptr otherwise
3269 void <a href='#SkPaint_setImageFilter'>setImageFilter</a>(<a href='undocumented#sk_sp'>sk_sp</a>&lt…
3272 Sets <a href='undocumented#SkImageFilter'>SkImageFilter</a> to <a href='#SkPaint_setImageFilter_ima…
3273 …a href='undocumented#SkImageFilter'>SkImageFilter</a>. Pass nullptr to clear <a href='undocumented…
3276 Increments <a href='#SkPaint_setImageFilter_imageFilter'>imageFilter</a> <a href='undocumented#SkRe…
3281 <td>how <a href='SkImage_Reference#SkImage'>SkImage</a> is sampled when transformed</td>
3293 <a href='#Draw_Looper'>Draw_Looper</a> sets a modifier that communicates state from one <a href='#D…
3296 <a href='#Draw_Looper'>Draw_Looper</a> draws one or more times, modifying the <a href='SkCanvas_Ref…
3297 <a href='#Draw_Looper'>Draw_Looper</a> may be used to draw multiple colors or create a colored shad…
3298 Set <a href='#Draw_Looper'>Draw_Looper</a> to nullptr to prevent <a href='#Draw_Looper'>Draw_Looper…
3309 <a href='undocumented#SkDrawLooper'>SkDrawLooper</a>* <a href='#SkPaint_getDrawLooper'>getDrawLoope…
3312 Returns <a href='undocumented#SkDrawLooper'>SkDrawLooper</a> if set, or nullptr.
3313 Does not alter <a href='undocumented#SkDrawLooper'>SkDrawLooper</a> <a href='undocumented#SkRefCnt'…
3317 <a href='undocumented#SkDrawLooper'>SkDrawLooper</a> if previously set, nullptr otherwise
3337 <a href='undocumented#sk_sp'>sk_sp</a>&lt;<a href='undocumented#SkDrawLooper'>SkDrawLooper</a>&gt; …
3340 Returns <a href='undocumented#SkDrawLooper'>SkDrawLooper</a> if set, or nullptr.
3341 Increases <a href='undocumented#SkDrawLooper'>SkDrawLooper</a> <a href='undocumented#SkRefCnt'>SkRe…
3345 <a href='undocumented#SkDrawLooper'>SkDrawLooper</a> if previously set, nullptr otherwise
3365 void <a href='#SkPaint_setDrawLooper'>setDrawLooper</a>(<a href='undocumented#sk_sp'>sk_sp</a>&lt;<…
3368 Sets <a href='undocumented#SkDrawLooper'>SkDrawLooper</a> to <a href='#SkPaint_setDrawLooper_drawLo…
3369href='#SkPaint_setDrawLooper_drawLooper'>drawLooper</a>. Pass nullptr to clear <a href='undocume…
3372 Increments <a href='#SkPaint_setDrawLooper_drawLooper'>drawLooper</a> <a href='undocumented#SkRefCn…
3377 …<td>iterates through drawing one or more time, altering <a href='SkPaint_Reference#SkPaint'>SkPain…
3389 <a href='#Paint_Text_Size'>Text_Size</a> adjusts the overall <a href='#Text_Size'>text size</a> in…
3390 <a href='#Paint_Text_Size'>Text_Size</a> can be set to any positive value or zero.
3391 <a href='#Paint_Text_Size'>Text_Size</a> defaults to 12.
3392 Set <a href='undocumented#SkPaintDefaults_TextSize'>SkPaintDefaults_TextSize</a> at compile time to…
3403 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPaint_getTextSize'>getTextSize</a>()const
3406 Returns <a href='undocumented#Text'>text</a> <a href='undocumented#Size'>size</a> in <a href='SkPoi…
3410 typographic height of <a href='undocumented#Text'>text</a>
3421 void <a href='#SkPaint_setTextSize'>setTextSize</a>(<a href='undocumented#SkScalar'>SkScalar</a> te…
3424 Sets <a href='#Text_Size'>text size</a> in <a href='SkPoint_Reference#Point'>points</a>.
3425 Has no effect if <a href='#SkPaint_setTextSize_textSize'>textSize</a> is not greater than or equal …
3430 <td>typographic height of <a href='undocumented#Text'>text</a></td>
3442 <a href='#Paint_Text_Scale_X'>Text_Scale_X</a> adjusts the <a href='undocumented#Text'>text</a> hor…
3443 <a href='undocumented#Text'>Text</a> scaling approximates condensed and expanded type faces when th…
3445 <a href='#Paint_Text_Scale_X'>Text_Scale_X</a> can be set to any value.
3446 <a href='#Paint_Text_Scale_X'>Text_Scale_X</a> defaults to 1.
3457 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPaint_getTextScaleX'>getTextScaleX</a>()co…
3460 Returns <a href='undocumented#Text'>text</a> scale on x-axis.
3465 <a href='undocumented#Text'>text</a> horizontal scale
3476 void <a href='#SkPaint_setTextScaleX'>setTextScaleX</a>(<a href='undocumented#SkScalar'>SkScalar</a…
3479 Sets <a href='undocumented#Text'>text scale</a> on x-axis.
3485 <td><a href='undocumented#Text'>text</a> horizontal scale</td>
3497 <a href='#Paint_Text_Skew_X'>Text_Skew_X</a> adjusts the <a href='undocumented#Text'>text</a> horiz…
3498 <a href='undocumented#Text'>Text</a> skewing approximates italic and oblique type faces when the ac…
3500 <a href='#Paint_Text_Skew_X'>Text_Skew_X</a> can be set to any value.
3501 <a href='#Paint_Text_Skew_X'>Text_Skew_X</a> defaults to 0.
3512 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPaint_getTextSkewX'>getTextSkewX</a>()const
3515 Returns <a href='undocumented#Text'>text</a> skew on x-axis.
3531 void <a href='#SkPaint_setTextSkewX'>setTextSkewX</a>(<a href='undocumented#SkScalar'>SkScalar</a> …
3534 Sets <a href='undocumented#Text'>text skew</a> on x-axis.
3554 <div><fiddle-embed name="767fa4e7b6300e16a419f9881f0f9d3d"><div>First <a href='undocumented#Line'>l…
3555 Second <a href='undocumented#Line'>line</a> is encoded in UTF-16.
3556 Third <a href='undocumented#Line'>line</a> is encoded in UTF-32.
3557 Fourth <a href='undocumented#Line'>line</a> has 16-bit <a href='undocumented#Glyph'>glyph</a> indic…
3565 <a href='undocumented#SkTextEncoding'>SkTextEncoding</a> <a href='#SkPaint_getTextEncoding'>getText…
3568 …urns the <a href='undocumented#Text'>text</a> encoding. <a href='undocumented#Text'>Text</a> encod…
3569 to methods like <a href='#SkPaint_measureText'>measureText</a>() and <a href='SkCanvas_Reference#Sk…
3573 the <a href='undocumented#Text'>text</a> encoding
3593 void <a href='#SkPaint_setTextEncoding'>setTextEncoding</a>(<a href='undocumented#SkTextEncoding'>S…
3596href='#Text_Encoding'>text encoding</a>. <a href='undocumented#Text'>Text</a> <a href='#SkPaint_se…
3597 to methods like <a href='#SkPaint_measureText'>measureText</a>() and <a href='SkCanvas_Reference#Sk…
3602 <td>the new <a href='#Text_Encoding'>text encoding</a></td>
3629 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPaint_getFontMetrics'>getFontMetrics</a>(<…
3632 Returns <a href='undocumented#SkFontMetrics'>SkFontMetrics</a> associated with <a href='undocumente…
3633 …turn value is the recommended spacing between <a href='undocumented#Line'>lines</a>: the sum of <a…
3635 …f <a href='#SkPaint_getFontMetrics_metrics'>metrics</a> is not nullptr, <a href='undocumented#SkFo…
3636 Results are scaled by <a href='#Text_Size'>text size</a> but does not take into account
3637 dimensions required by <a href='#Text_Scale_X'>text scale x</a>, <a href='#Text_Skew_X'>text sk…
3638 <a href='#Style_Stroke'>style stroke</a>, and <a href='undocumented#SkPathEffect'>SkPathEffect</a>.
3643 <td>storage for <a href='undocumented#SkFontMetrics'>SkFontMetrics</a>; may be nullptr</td>
3649 recommended spacing between <a href='undocumented#Line'>lines</a>
3657 <a href='#Font_Size'>Font_Size</a> <a href='undocumented#Typeface'>Typeface</a> <a href='#Paint_Typ…
3664 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPaint_getFontSpacing'>getFontSpacing</a>()…
3667 Returns the recommended spacing between <a href='undocumented#Line'>lines</a>: the sum of metrics
3669 Result is scaled by <a href='undocumented#Text'>text</a> <a href='undocumented#Size'>size</a> but d…
3670 dimensions required by stroking and <a href='undocumented#SkPathEffect'>SkPathEffect</a>.
3671 Returns the same result as <a href='#SkPaint_getFontMetrics'>getFontMetrics</a>().
3675 recommended spacing between <a href='undocumented#Line'>lines</a>
3697href='#SkPaint_textToGlyphs'>textToGlyphs</a>(const void* <a href='undocumented#Text'>text</a>, si…
3700 Converts <a href='#SkPaint_textToGlyphs_text'>text</a> into <a href='undocumented#Glyph'>glyph</a> …
3701 Returns the number of <a href='undocumented#Glyph'>glyph</a> indices represented by <a href='#SkPai…
3702 <a href='undocumented#SkTextEncoding'>SkTextEncoding</a> specifies how <a href='#SkPaint_textToGlyp…
3703 <a href='#SkPaint_textToGlyphs_glyphs'>glyphs</a> may be nullptr, to compute the <a href='undocumen…
3705 Does not check <a href='#SkPaint_textToGlyphs_text'>text</a> for valid character codes or valid <a
3707 If <a href='#SkPaint_textToGlyphs_byteLength'>byteLength</a> equals zero, returns zero.
3708 If <a href='#SkPaint_textToGlyphs_byteLength'>byteLength</a> includes a partial character, the part…
3710 If <a href='undocumented#SkTextEncoding'>SkTextEncoding</a> is <a href='undocumented#kUTF8_SkTextEn…
3711 <a href='#SkPaint_textToGlyphs_text'>text</a> contains an invalid UTF-8 sequence, zero is returned.
3716 <td>character storage encoded with <a href='undocumented#SkTextEncoding'>SkTextEncoding</a></td>
3722 <td>storage for <a href='undocumented#Glyph'>glyph</a> indices; may be nullptr</td>
3728 number of <a href='#SkPaint_textToGlyphs_glyphs'>glyphs</a> represented by <a href='#SkPaint_textTo…
3739 int <a href='#SkPaint_countText'>countText</a>(const void* <a href='undocumented#Text'>text</a>, si…
3742 Returns the number of <a href='undocumented#Glyph'>glyphs</a> in <a href='#SkPaint_countText_text'>…
3743 Uses <a href='undocumented#SkTextEncoding'>SkTextEncoding</a> to count the <a href='undocumented#Gl…
3744 Returns the same result as <a href='#SkPaint_textToGlyphs'>textToGlyphs</a>().
3749 <td>character storage encoded with <a href='undocumented#SkTextEncoding'>SkTextEncoding</a></td>
3758 number of <a href='undocumented#Glyph'>glyphs</a> represented by <a href='#SkPaint_countText_text'>…
3777 bool <a href='#SkPaint_containsText'>containsText</a>(const void* <a href='undocumented#Text'>text<…
3780 Returns true if all <a href='#SkPaint_containsText_text'>text</a> corresponds to a non-zero <a href
3781 Returns false if any characters in <a href='#SkPaint_containsText_text'>text</a> are not supported …
3782 <a href='undocumented#SkTypeface'>SkTypeface</a>.
3784 If <a href='undocumented#SkTextEncoding'>SkTextEncoding</a> is <a href='undocumented#kGlyphID_SkTex…
3785 returns true if all <a href='undocumented#Glyph'>glyph</a> indices in <a href='#SkPaint_containsTex…
3786 …heck to see if <a href='#SkPaint_containsText_text'>text</a> contains valid <a href='undocumented#…
3788 Returns true if <a href='#SkPaint_containsText_byteLength'>byteLength</a> is zero.
3793 <td>array of characters or <a href='undocumented#Glyph'>glyphs</a></td>
3796 <td>number of bytes in <a href='#SkPaint_containsText_text'>text</a> array</td>
3802 true if all <a href='#SkPaint_containsText_text'>text</a> corresponds to a non-zero <a href='undocu…
3804 <div><a href='#SkPaint_containsText'>containsText</a> succeeds for degree symbol, but cannot find a…
3805 corresponding to the Unicode surrogate code <a href='SkPoint_Reference#Point'>point</a>.
3817 …a68cb3c8b81a5976c81ee004f559247"><div><a href='#SkPaint_containsText'>containsText</a> returns tru…
3818 that it corresponds to an entry in <a href='undocumented#Typeface'>Typeface</a>.
3833 <a href='#SkPaint_setTextEncoding'>setTextEncoding</a> <a href='undocumented#Typeface'>Typeface</a>
3840href='#SkPaint_glyphsToUnichars'>glyphsToUnichars</a>(const <a href='undocumented#SkGlyphID'>SkGly…
3843 Converts <a href='#SkPaint_glyphsToUnichars_glyphs'>glyphs</a> into <a href='#SkPaint_glyphsToUnich…
3844 <a href='undocumented#Glyph'>Glyph</a> values without direct Unicode equivalents are mapped to zero.
3845 Uses the <a href='undocumented#SkTypeface'>SkTypeface</a>, but is unaffected
3846href='undocumented#SkTextEncoding'>SkTextEncoding</a>; the <a href='#SkPaint_glyphsToUnichars_tex…
3848 Only supported on platforms that use FreeType as the <a href='SkFont_Reference#Font_Engine'>font e…
3853 <td>array of indices into <a href='SkFont_Reference#Font'>font</a></td>
3856 <td>length of <a href='undocumented#Glyph'>glyph</a> array</td>
3859 <td>storage for character codes, one per <a href='undocumented#Glyph'>glyph</a></td>
3863href='#SkPaint_glyphsToUnichars_text'>text</a> to <a href='#SkPaint_glyphsToUnichars_glyphs'>glyph…
3873href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPaint_measureText'>measureText</a>(const voi…
3876 Returns the advance width of <a href='#SkPaint_measureText_text'>text</a>.
3877 The advance is the normal distance to move before drawing additional <a href='#SkPaint_measureText_…
3878href='undocumented#SkTextEncoding'>SkTextEncoding</a> to decode <a href='#SkPaint_measureText_text…
3879 and <a href='#Text_Size'>text size</a>, <a href='#Text_Scale_X'>text scale x</a>, <a href='#Te…
3880 <a href='undocumented#SkPathEffect'>SkPathEffect</a> to scale the metrics and <a href='#SkPaint_mea…
3881 Returns the bounding box of <a href='#SkPaint_measureText_text'>text</a> if <a href='#SkPaint_measu…
3882 The bounding box is computed as if the <a href='#SkPaint_measureText_text'>text</a> was drawn at th…
3887 <td>character codes or <a href='undocumented#Glyph'>glyph</a> indices to be measured</td>
3890 <td>number of bytes of <a href='#SkPaint_measureText_text'>text</a> to measure</td>
3910 <a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPaint_measureText'>measureText</a>(const v…
3913 Returns the advance width of <a href='#SkPaint_measureText_2_text'>text</a>.
3914 The advance is the normal distance to move before drawing additional <a href='#SkPaint_measureText_…
3915href='undocumented#SkTextEncoding'>SkTextEncoding</a> to decode <a href='#SkPaint_measureText_2_te…
3916 and <a href='#Text_Size'>text size</a> to scale the metrics.
3917 Does not scale the advance or bounds by <a href='#Fake_Bold'>fake bold</a> or <a href='undocumente…
3922 <td>character codes or <a href='undocumented#Glyph'>glyph</a> indices to be measured</td>
3925 <td>number of bytes of <a href='#SkPaint_measureText_2_text'>text</a> to measure</td>
3951href='#SkPaint_getTextWidths'>getTextWidths</a>(const void* <a href='undocumented#Text'>text</a>, …
3954 …ves the advance and <a href='#SkPaint_getTextWidths_bounds'>bounds</a> for each <a href='undocumen…
3955 the <a href='undocumented#Glyph'>glyph</a> count in <a href='#SkPaint_getTextWidths_text'>text</a>.
3956 Both <a href='#SkPaint_getTextWidths_widths'>widths</a> and <a href='#SkPaint_getTextWidths_bounds'…
3957 …f <a href='#SkPaint_getTextWidths_widths'>widths</a> is not nullptr, <a href='#SkPaint_getTextWidt…
3958 …f <a href='#SkPaint_getTextWidths_bounds'>bounds</a> is not nullptr, <a href='#SkPaint_getTextWidt…
3959href='undocumented#SkTextEncoding'>SkTextEncoding</a> to decode <a href='#SkPaint_getTextWidths_te…
3960 and <a href='#Text_Size'>text size</a> to scale the <a href='#SkPaint_getTextWidths_widths'>widths…
3961 Does not scale the advance by <a href='#Fake_Bold'>fake bold</a> or <a href='undocumented#SkPathEf…
3962 Does include <a href='#Fake_Bold'>fake bold</a> and <a href='undocumented#SkPathEffect'>SkPathEffe…
3967 <td>character codes or <a href='undocumented#Glyph'>glyph</a> indices to be measured</td>
3970 <td>number of bytes of <a href='#SkPaint_getTextWidths_text'>text</a> to measure</td>
3973 …<td>returns <a href='#SkPaint_getTextWidths_text'>text</a> advances for each <a href='undocumented…
3976 …<td>returns <a href='#SkPaint_getTextWidths_bounds'>bounds</a> for each <a href='undocumented#Glyp…
3982 <a href='undocumented#Glyph'>glyph</a> count in <a href='#SkPaint_getTextWidths_text'>text</a>
3986 …<div>Bounds of <a href='undocumented#Glyph'>Glyphs</a> increase for stroked <a href='#SkPaint_getT…
3987 The underlines show the <a href='#SkPaint_getTextWidths_text'>text</a> advance, spaced to keep them…
3992 <a href='#Paint_Text_Path'>Text_Path</a> describes the geometry of <a href='undocumented#Glyph'>Gly…
3999href='#SkPaint_getTextPath'>getTextPath</a>(const void* <a href='undocumented#Text'>text</a>, size…
4002 Returns the geometry as <a href='SkPath_Reference#SkPath'>SkPath</a> equivalent to the drawn <a hre…
4003href='undocumented#SkTextEncoding'>SkTextEncoding</a> to decode <a href='#SkPaint_getTextPath_text…
4004href='#Text_Size'>text size</a>, <a href='#Fake_Bold'>fake bold</a>, and <a href='undocumented#Sk…
4005 All of the <a href='undocumented#Glyph'>glyph</a> <a href='SkPath_Reference#Path'>paths</a> are sto…
4006 Uses <a href='#SkPaint_getTextPath_x'>x</a>, <a href='#SkPaint_getTextPath_y'>y</a>, to position <a…
4011 <td>character codes or <a href='undocumented#Glyph'>glyph</a> indices</td>
4014 <td>number of bytes of <a href='#SkPaint_getTextPath_text'>text</a></td>
4017 <td>x-axis value of the origin of the <a href='#SkPaint_getTextPath_text'>text</a></td>
4020 <td>y-axis value of the origin of the <a href='#SkPaint_getTextPath_text'>text</a></td>
4023 <td>geometry of the <a href='undocumented#Glyph'>glyphs</a></td>
4029 …6f73e"><div><a href='undocumented#Text'>Text</a> is added to <a href='SkPath_Reference#Path'>Path<…
4038href='#SkPaint_getPosTextPath'>getPosTextPath</a>(const void* <a href='undocumented#Text'>text</a>…
4041 Returns the geometry as <a href='SkPath_Reference#SkPath'>SkPath</a> equivalent to the drawn <a hre…
4042href='undocumented#SkTextEncoding'>SkTextEncoding</a> to decode <a href='#SkPaint_getPosTextPath_t…
4043href='#Text_Size'>text size</a>, <a href='#Fake_Bold'>fake bold</a>, and <a href='undocumented#Sk…
4044 All of the <a href='undocumented#Glyph'>glyph</a> <a href='SkPath_Reference#Path'>paths</a> are sto…
4045 Uses <a href='#SkPaint_getPosTextPath_pos'>pos</a> array to position <a href='#SkPaint_getPosTextPa…
4046 <a href='#SkPaint_getPosTextPath_pos'>pos</a> contains a position for each <a href='undocumented#Gl…
4051 <td>character codes or <a href='undocumented#Glyph'>glyph</a> indices</td>
4054 <td>number of bytes of <a href='#SkPaint_getPosTextPath_text'>text</a></td>
4057 <td>positions of each <a href='undocumented#Glyph'>glyph</a></td>
4060 <td>geometry of the <a href='undocumented#Glyph'>glyphs</a></td>
4066 <div><fiddle-embed name="7f27c93472aa99a7542fb3493076f072"><div>Simplifies three <a href='undocumen…
4074 bool <a href='#SkPaint_nothingToDraw'>nothingToDraw</a>()const
4077 Returns true if <a href='SkPaint_Reference#SkPaint'>SkPaint</a> prevents all drawing;
4078 otherwise, the <a href='SkPaint_Reference#SkPaint'>SkPaint</a> may or may not allow drawing.
4080 Returns true if, for example, <a href='SkBlendMode_Reference#SkBlendMode'>SkBlendMode</a> combined …
4081 new <a href='SkColor_Reference#Alpha'>alpha</a> of zero.
4085 true if <a href='SkPaint_Reference#SkPaint'>SkPaint</a> prevents all drawing