Update markdown files
Automatic commit by the Housekeeper-Nightly-Bookmaker bot. TBR=rmistry@google.com NO_MERGE_BUILDS Change-Id: Iaae2223a7e928917ddfd0dc51c097ffbc986f85a Reviewed-on: https://skia-review.googlesource.com/139382 Commit-Queue: <skia-bookmaker@skia-swarming-bots.iam.gserviceaccount.com> Reviewed-by: <skia-bookmaker@skia-swarming-bots.iam.gserviceaccount.com>
This commit is contained in:
parent
e72c144af6
commit
44bad2e86a
@ -1299,7 +1299,7 @@ maximum pixels per row
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="03a9e08082a23a98de17c3e24871d61a">
|
||||
<div><fiddle-embed name="e09a6a12869a8ac21e9c2af98a5bb686">
|
||||
|
||||
#### Example Output
|
||||
|
||||
@ -1453,7 +1453,7 @@ true if drawing has no effect
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="95cb08b8c8db3af3b2c9ad56ae7d6bc1">
|
||||
<div><fiddle-embed name="daacf43394ce4045a362a48b5774deed">
|
||||
|
||||
#### Example Output
|
||||
|
||||
@ -1872,7 +1872,7 @@ true if all pixels have opaque values or <a href='SkImageInfo_Reference#Color_Ty
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="8b26507690b71462f44642b911890bbf">
|
||||
<div><fiddle-embed name="9df1baa17658fbd0c419780f26fd854f">
|
||||
|
||||
#### Example Output
|
||||
|
||||
@ -1980,7 +1980,7 @@ integral size of <a href='#SkBitmap_width'>width</a> and <a href='#SkBitmap_heig
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="d13d787c1e36f515319fc998411c1d91"></fiddle-embed></div>
|
||||
<div><fiddle-embed name="647056bcc12c27fb4413f212f33a2898"></fiddle-embed></div>
|
||||
|
||||
### See Also
|
||||
|
||||
@ -3303,7 +3303,7 @@ pixel converted to <a href='undocumented#Unpremultiply'>Unpremultiplied</a> <a h
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="a1af7696ae0cdd6f379546dd1f211b7a">
|
||||
<div><fiddle-embed name="193d1f6d8a43b7a8e9f27ba21de38617">
|
||||
|
||||
#### Example Output
|
||||
|
||||
|
@ -900,7 +900,7 @@ making destination lighter or darker, depending on source.
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="6e0be0766b8ca320da51640326e608b3"></fiddle-embed></div>
|
||||
<div><fiddle-embed name="ac93f30dff13f8a8bb31398de370863b"></fiddle-embed></div>
|
||||
|
||||
## <a name='Difference'>Difference</a>
|
||||
|
||||
|
@ -838,7 +838,7 @@ storage of <a href='undocumented#Raster_Surface'>Raster Surface</a></td>
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="dd92db963af190e849894038f39b598a"><div>The actual output depends on the installed fonts.
|
||||
<div><fiddle-embed name="ca37b4231b21eb8296cb19ba9e0c781b"><div>The actual output depends on the installed fonts.
|
||||
</div>
|
||||
|
||||
#### Example Output
|
||||
@ -2422,7 +2422,7 @@ contents of the previous <a href='#Layer'>Layer</a>.
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="ee8c0b120234e27364f8c9a786cf8f89"><div><a href='#Canvas'>Canvas</a> <a href='#Layer'>Layer</a> captures a red <a href='SkPaint_Reference#Anti_Alias'>Anti Aliased</a> circle and a blue <a href='undocumented#Alias'>Aliased</a> circle scaled
|
||||
<div><fiddle-embed name="fe80fd80b98a20823db7fb9a077243c7"><div><a href='#Canvas'>Canvas</a> <a href='#Layer'>Layer</a> captures a red <a href='SkPaint_Reference#Anti_Alias'>Anti Aliased</a> circle and a blue <a href='undocumented#Alias'>Aliased</a> circle scaled
|
||||
up by four. After drawing another red circle without scaling on top, the <a href='#Layer'>Layer</a> is
|
||||
transferred to the main canvas.
|
||||
</div></fiddle-embed></div>
|
||||
@ -2543,7 +2543,7 @@ may be nullptr</td>
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="9b7fa2fe855642ffff6538829db15328">
|
||||
<div><fiddle-embed name="30d70aec4de17c831dba71e03dc9664a">
|
||||
|
||||
#### Example Output
|
||||
|
||||
@ -2726,7 +2726,7 @@ the result with <a href='#Matrix'>Matrix</a>.
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="faa5dfa466f6e16c07c124d971f32679"></fiddle-embed></div>
|
||||
<div><fiddle-embed name="7d0d801ef13c6c6da51e840c22ac15b0"></fiddle-embed></div>
|
||||
|
||||
### See Also
|
||||
|
||||
@ -2799,7 +2799,7 @@ transforming the result with <a href='#Matrix'>Matrix</a>.
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="00ae8984856486bdb626d0ed6587855a"></fiddle-embed></div>
|
||||
<div><fiddle-embed name="bcf5baea1c66a957d5ffd7b54bbbfeff"></fiddle-embed></div>
|
||||
|
||||
### See Also
|
||||
|
||||
@ -3019,7 +3019,7 @@ before it is combined with <a href='#Clip'>Clip</a>.
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="6a614faa0fbcf19958b5559c19b02d0f"></fiddle-embed></div>
|
||||
<div><fiddle-embed name="babd0e12db21a88c74d4e88aa40268ab"></fiddle-embed></div>
|
||||
|
||||
### See Also
|
||||
|
||||
@ -3049,7 +3049,7 @@ Resulting <a href='#Clip'>Clip</a> is <a href='undocumented#Alias'>Aliased</a>;
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="00ae8984856486bdb626d0ed6587855a"></fiddle-embed></div>
|
||||
<div><fiddle-embed name="13bbc5fa5597a6cd4d704b419dbc66d9"></fiddle-embed></div>
|
||||
|
||||
### See Also
|
||||
|
||||
@ -3359,7 +3359,7 @@ Resulting <a href='#Clip'>Clip</a> is <a href='undocumented#Alias'>Aliased</a>;
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="20571cc23e3146deaa09046b64cc0aef"><div>region is unaffected by canvas rotation; iRect is affected by canvas rotation.
|
||||
<div><fiddle-embed name="7bb57c0e456c5fda2c2cca4abb68b19e"><div>region is unaffected by canvas rotation; iRect is affected by canvas rotation.
|
||||
Both clips are <a href='undocumented#Alias'>Aliased</a>; this is not noticeable on <a href='undocumented#Region'>Region</a> clip because it
|
||||
aligns to pixel boundaries.
|
||||
</div></fiddle-embed></div>
|
||||
@ -5448,7 +5448,7 @@ and so on; or nullptr</td>
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="95ccfc2a89ce593e6b7a9f992a844bc0"><div>The two leftmost <a href='#SkCanvas_drawBitmapNine_bitmap'>bitmap</a> draws has four corners and sides to the left and right of <a href='#SkCanvas_drawBitmapNine_center'>center</a>.
|
||||
<div><fiddle-embed name="e99e7be0d8f67dfacbecf85df585433d"><div>The two leftmost <a href='#SkCanvas_drawBitmapNine_bitmap'>bitmap</a> draws has four corners and sides to the left and right of <a href='#SkCanvas_drawBitmapNine_center'>center</a>.
|
||||
The leftmost <a href='#SkCanvas_drawBitmapNine_bitmap'>bitmap</a> draw scales the width of corners proportionately to fit.
|
||||
The third and fourth draw corners are not scaled; the sides and <a href='#SkCanvas_drawBitmapNine_center'>center</a> are scaled to
|
||||
fill the remaining space.
|
||||
@ -5686,7 +5686,7 @@ and so on; or nullptr</td>
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="8b26507690b71462f44642b911890bbf"><div>The two leftmost <a href='#SkCanvas_drawBitmapLattice_bitmap'>bitmap</a> draws has four corners and sides to the left and right of center.
|
||||
<div><fiddle-embed name="c5bfa944e17ba4a4400dc799f032069c"><div>The two leftmost <a href='#SkCanvas_drawBitmapLattice_bitmap'>bitmap</a> draws has four corners and sides to the left and right of center.
|
||||
The leftmost <a href='#SkCanvas_drawBitmapLattice_bitmap'>bitmap</a> draw scales the width of corners proportionately to fit.
|
||||
The third and fourth draw corners are not scaled; the sides are scaled to
|
||||
fill the remaining space; the center is transparent.
|
||||
|
@ -396,7 +396,7 @@ blue byte
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="9ee27675284faea375611dc88123a2c5"></fiddle-embed></div>
|
||||
<div><fiddle-embed name="7481a948e34672720337a631830586dd"></fiddle-embed></div>
|
||||
|
||||
### See Also
|
||||
|
||||
|
@ -845,7 +845,7 @@ and <a href='#SkIRect_sort'>sort</a> to reverse <a href='#SkIRect_fTop'>fTop</a>
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="df8160dd7ac8aa4b40fce7286fe49952">
|
||||
<div><fiddle-embed name="6ea461e71f7fc80605818fbf493caa63">
|
||||
|
||||
#### Example Output
|
||||
|
||||
|
@ -760,7 +760,7 @@ Each component encodes a floating point value using <a href='https://en.wikipedi
|
||||
Meaningful colors are represented by the range 0.0 to 1.0, although smaller
|
||||
and larger values may be useful when used in combination with <a href='undocumented#Transfer_Mode'>Transfer Mode</a>.
|
||||
|
||||
![Color_Type_RGBA_F32](https://fiddle.skia.org/i/b26119f9312d5f5d4011bf2dac94fafe_raster.png "")
|
||||
![Color_Type_RGBA_F32](https://fiddle.skia.org/i/812cf26d91b1cdcd2c6b9438a8172518_raster.png "")
|
||||
|
||||
If paired with <a href='#kPremul_SkAlphaType'>kPremul_SkAlphaType</a>: blue, green, and red components are
|
||||
<a href='undocumented#Premultiply'>Premultiplied</a> by the alpha value. If blue, green, or red is greater than alpha,
|
||||
@ -1380,7 +1380,7 @@ created <a href='#Image_Info'>Image Info</a>
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="9f47f9c2a99473f5b1113db48096d586"></fiddle-embed></div>
|
||||
<div><fiddle-embed name="9c6edd836c573a0fd232d2b8aa11a678"></fiddle-embed></div>
|
||||
|
||||
### See Also
|
||||
|
||||
@ -1806,7 +1806,7 @@ Returns <a href='#Color_Type'>Color Type</a>, one of: <a href='#kUnknown_SkColor
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="a98993a66616ae406d8bdc54adfb1411">
|
||||
<div><fiddle-embed name="06ecc3ce7f35cc7f930cbc2a662e3105">
|
||||
|
||||
#### Example Output
|
||||
|
||||
@ -2163,7 +2163,7 @@ created <a href='#Image_Info'>Image Info</a>
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="3ac267b08b12dc83c95f91d8dd5d70ee"></fiddle-embed></div>
|
||||
<div><fiddle-embed name="9a85bb62fe3d877b18fb7f952c4fa7f7"></fiddle-embed></div>
|
||||
|
||||
### See Also
|
||||
|
||||
@ -2493,7 +2493,7 @@ true if <a href='#Image_Info'>Image Info</a> is not equal to <a href='#SkImageIn
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="8c039fde0a476ac1aa62bf9de5d61c77">
|
||||
<div><fiddle-embed name="963789ac8498d4e505748ab3b15cdaa5">
|
||||
|
||||
#### Example Output
|
||||
|
||||
@ -2638,7 +2638,7 @@ true if <a href='#SkImageInfo_validRowBytes_rowBytes'>rowBytes</a> is large enou
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="60ee3eb747474f5781b0f0dd3a17a866">
|
||||
<div><fiddle-embed name="c6b0f6a3f493cb08d9abcdefe12de245">
|
||||
|
||||
#### Example Output
|
||||
|
||||
|
@ -996,7 +996,7 @@ created <a href='#Image'>Image</a>, or nullptr
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="45bca8747b8f49b5be34b520897ef048"></fiddle-embed></div>
|
||||
<div><fiddle-embed name="374e245d91cd729eca48fd20e631fdf3"></fiddle-embed></div>
|
||||
|
||||
### See Also
|
||||
|
||||
@ -1540,7 +1540,7 @@ is drawn, depending on the capabilities of the <a href='SkSurface_Reference#Surf
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="daacf43394ce4045a362a48b5774deed"></fiddle-embed></div>
|
||||
<div><fiddle-embed name="4468d573f42af6f5e234be10a5453bb2"></fiddle-embed></div>
|
||||
|
||||
### See Also
|
||||
|
||||
@ -1707,7 +1707,7 @@ transforming <a href='#Image'>Image</a> before <a href='SkCanvas_Reference#Matri
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="2e2acc21d7774df7e0940a30ad2ca99e"></fiddle-embed></div>
|
||||
<div><fiddle-embed name="10172fca71b9dbdcade772513ffeb27e"></fiddle-embed></div>
|
||||
|
||||
### See Also
|
||||
|
||||
@ -2300,7 +2300,7 @@ partial or full <a href='#Image'>Image</a>, or nullptr
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="13bbc5fa5597a6cd4d704b419dbc66d9"></fiddle-embed></div>
|
||||
<div><fiddle-embed name="b26119f9312d5f5d4011bf2dac94fafe"></fiddle-embed></div>
|
||||
|
||||
### See Also
|
||||
|
||||
@ -2582,7 +2582,7 @@ true if <a href='SkBitmap_Reference#Bitmap'>Bitmap</a> was created
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="78374702fa113076ddc6070053ab5cd4" gpu="true"></fiddle-embed></div>
|
||||
<div><fiddle-embed name="54e8525a592f05623c33b375aebc90c1" gpu="true"></fiddle-embed></div>
|
||||
|
||||
### See Also
|
||||
|
||||
|
@ -895,7 +895,7 @@ set if <a href='#Matrix'>Matrix</a> has perspective</td>
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="ba19b36df8cd78586f3dff54e2d4c093">
|
||||
<div><fiddle-embed name="5acc77eba0cb4d00bbf3a8f4db0c0aee">
|
||||
|
||||
#### Example Output
|
||||
|
||||
@ -2316,7 +2316,7 @@ Sets vertical skew factor.
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="b418d15df9829aefcc6aca93a37428bb"></fiddle-embed></div>
|
||||
<div><fiddle-embed name="31a4c575499e76def651eb65994876f0"></fiddle-embed></div>
|
||||
|
||||
### See Also
|
||||
|
||||
@ -2342,7 +2342,7 @@ Sets horizontal skew factor.
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="c7177a6fbc1545be95a5ebca87e0cd0d"></fiddle-embed></div>
|
||||
<div><fiddle-embed name="c2fec0746f88ca34d7dce59dd9bdef9e"></fiddle-embed></div>
|
||||
|
||||
### See Also
|
||||
|
||||
@ -4633,7 +4633,7 @@ Matrix * pt = |D E F| |y| = |Ax+By+C Dx+Ey+F Gx+Hy+I| = ------- , -------
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="9e50185d502dc6903783679a84106089"></fiddle-embed></div>
|
||||
<div><fiddle-embed name="400facce23d417bc5043c5f58404afbd"></fiddle-embed></div>
|
||||
|
||||
### See Also
|
||||
|
||||
@ -5266,7 +5266,7 @@ true if <a href='#Matrix'>Matrix</a> <a href='#SkMatrix_equal_operator_a'>a</a>
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="3902859150b0f0c4aeb1f25d00434baa">
|
||||
<div><fiddle-embed name="897230ecfb36095486beca324fd369f9">
|
||||
|
||||
#### Example Output
|
||||
|
||||
@ -5588,7 +5588,7 @@ const invalid <a href='#Matrix'>Matrix</a>
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="af0b72360c1c7a25b4754bfa47011dd5">
|
||||
<div><fiddle-embed name="13adba0ecf5f82247cf051b4fa4d8a9c">
|
||||
|
||||
#### Example Output
|
||||
|
||||
|
@ -993,7 +993,7 @@ shallow copy of <a href='#SkPaint_copy_const_SkPaint_paint'>paint</a>
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="8b26507690b71462f44642b911890bbf">
|
||||
<div><fiddle-embed name="b99971ad0ef243d617925289d963b62d">
|
||||
|
||||
#### Example Output
|
||||
|
||||
@ -1671,7 +1671,7 @@ Equivalent to <a href='#SkPaint_getFlags'>getFlags</a> masked with <a href='#SkP
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="d7d5f4f7da7acd5104a652f490c6f7b8">
|
||||
<div><fiddle-embed name="b932a2bd68455fb0af2e7a1ed19e36b3">
|
||||
|
||||
#### Example Output
|
||||
|
||||
@ -1706,7 +1706,7 @@ Clears <a href='#SkPaint_kAntiAlias_Flag'>kAntiAlias Flag</a> if <a href='#SkPai
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="c2ff148374d01cbef845b223e725905c">
|
||||
<div><fiddle-embed name="c40979a3b92a30cfb7bae36abcc1d805">
|
||||
|
||||
#### Example Output
|
||||
|
||||
@ -1739,7 +1739,7 @@ Some platform implementations may ignore dithering. SetSK_IGNORE_GPU_DITHERto ig
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="35915a2273be1076f00f2e47998ce808"><div>Dithering in the bottom half more closely approximates the requested color by
|
||||
<div><fiddle-embed name="8b26507690b71462f44642b911890bbf"><div>Dithering in the bottom half more closely approximates the requested color by
|
||||
alternating nearby colors from pixel to pixel.
|
||||
</div></fiddle-embed></div>
|
||||
|
||||
@ -2936,7 +2936,7 @@ zero for <a href='#Style_Hairline'>Hairline</a>, greater than zero for pen thick
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="99aa73f64df8bbf06e656cd891a81b9e">
|
||||
<div><fiddle-embed name="85436c71aab5410767fc688ab0573e09">
|
||||
|
||||
#### Example Output
|
||||
|
||||
@ -3071,7 +3071,7 @@ Has no effect if <a href='#SkPaint_setStrokeMiter_miter'>miter</a> is less than
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="700b284dbc97785c6a9c9636088713ad">
|
||||
<div><fiddle-embed name="897230ecfb36095486beca324fd369f9">
|
||||
|
||||
#### Example Output
|
||||
|
||||
@ -3360,7 +3360,7 @@ one of: <a href='#SkPaint_kMiter_Join'>kMiter Join</a>, <a href='#SkPaint_kRound
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="756345484fd48ca0ea7b6cec350f73b8">
|
||||
<div><fiddle-embed name="31bf751d0a8ddf176b871810820d8199">
|
||||
|
||||
#### Example Output
|
||||
|
||||
@ -3844,7 +3844,7 @@ Does not alter <a href='undocumented#Path_Effect'>Path Effect</a> <a href='undoc
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="211a1b14bfa6c4332082c8eab4fbc5fd">
|
||||
<div><fiddle-embed name="a654fd0b73f424859ae6c95e03f55099">
|
||||
|
||||
#### Example Output
|
||||
|
||||
@ -4114,7 +4114,7 @@ can operate on all channels of <a href='SkColor_Reference#Color'>Color</a>, whil
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="ac93f30dff13f8a8bb31398de370863b"></fiddle-embed></div>
|
||||
<div><fiddle-embed name="ece04ee3d3761e3425f37c8f06f054c1"></fiddle-embed></div>
|
||||
|
||||
<a name='SkPaint_getImageFilter'></a>
|
||||
## getImageFilter
|
||||
@ -4132,7 +4132,7 @@ Does not alter <a href='undocumented#Image_Filter'>Image Filter</a> <a href='und
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="c11f8eaa1dd149bc18db21e23ce26904">
|
||||
<div><fiddle-embed name="6a614faa0fbcf19958b5559c19b02d0f">
|
||||
|
||||
#### Example Output
|
||||
|
||||
@ -4500,7 +4500,7 @@ Has no effect if <a href='#SkPaint_setTextSize_textSize'>textSize</a> is not gre
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="257c9473db7a2b3a0fb2b9e2431e59a6"></fiddle-embed></div>
|
||||
<div><fiddle-embed name="6510c9e2f57b83c47e67829e7a68d493"></fiddle-embed></div>
|
||||
|
||||
---
|
||||
|
||||
@ -4514,7 +4514,7 @@ is not available.
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="59c1025b8116ec1d3b55f4f6306d1e37"></fiddle-embed></div>
|
||||
<div><fiddle-embed name="d13d787c1e36f515319fc998411c1d91"></fiddle-embed></div>
|
||||
|
||||
<a name='SkPaint_getTextScaleX'></a>
|
||||
## getTextScaleX
|
||||
@ -5317,7 +5317,7 @@ union of bounds of all <a href='undocumented#Glyph'>Glyphs</a>
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="b14d9debfe87295373b44a179992a999">
|
||||
<div><fiddle-embed name="facaddeec7943bc491988e345e27e65f">
|
||||
|
||||
#### Example Output
|
||||
|
||||
@ -5505,7 +5505,7 @@ Only supported on platforms that use FreeType as the <a href='undocumented#Engin
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="c12686b0b3e0a87d0a248bbfc57e9492"><div>Convert UTF-8 <a href='#SkPaint_glyphsToUnichars_text'>text</a> to <a href='#SkPaint_glyphsToUnichars_glyphs'>glyphs</a>; then convert <a href='#SkPaint_glyphsToUnichars_glyphs'>glyphs</a> to Unichar code points.
|
||||
<div><fiddle-embed name="febdbfac6cf4cde69837643be2e1f6dd"><div>Convert UTF-8 <a href='#SkPaint_glyphsToUnichars_text'>text</a> to <a href='#SkPaint_glyphsToUnichars_glyphs'>glyphs</a>; then convert <a href='#SkPaint_glyphsToUnichars_glyphs'>glyphs</a> to Unichar code points.
|
||||
</div></fiddle-embed></div>
|
||||
|
||||
---
|
||||
@ -5970,7 +5970,7 @@ number of intersections; may be zero
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="c989cf16c7f8849874eb008cd701af76"></fiddle-embed></div>
|
||||
<div><fiddle-embed name="f2229dd5c8e76f9e12fafe59b61353c8"></fiddle-embed></div>
|
||||
|
||||
---
|
||||
|
||||
|
@ -62,7 +62,7 @@ remains open. An open <a href='#Contour'>Contour</a>, stroked, draws <a href='Sk
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="7a1f39b12d2cd8b7f5b1190879259cb2"><div><a href='#Path'>Path</a> is drawn stroked, with an open <a href='#Contour'>Contour</a> and a closed <a href='#Contour'>Contour</a>.
|
||||
<div><fiddle-embed name="35915a2273be1076f00f2e47998ce808"><div><a href='#Path'>Path</a> is drawn stroked, with an open <a href='#Contour'>Contour</a> and a closed <a href='#Contour'>Contour</a>.
|
||||
</div></fiddle-embed></div>
|
||||
|
||||
## <a name='Contour_Zero_Length'>Contour Zero Length</a>
|
||||
@ -1518,7 +1518,7 @@ unmodified by the original <a href='#SkPath_FillType'>FillType</a>.
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="400facce23d417bc5043c5f58404afbd"><div><a href='#Path'>Path</a> drawn normally and through its inverse touches every pixel once.
|
||||
<div><fiddle-embed name="5449f65fd7673273b0b57807fd3117ff"><div><a href='#Path'>Path</a> drawn normally and through its inverse touches every pixel once.
|
||||
</div></fiddle-embed></div>
|
||||
|
||||
### See Also
|
||||
@ -1939,7 +1939,7 @@ true if caller will alter <a href='#Path'>Path</a> after drawing
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="c722ebe8ac991d77757799ce29e509e1">
|
||||
<div><fiddle-embed name="af4c5acc7a91e7f23c2af48018903ad4">
|
||||
|
||||
#### Example Output
|
||||
|
||||
@ -2409,7 +2409,7 @@ the actual number of <a href='#SkPath_getVerbs_verbs'>verbs</a> in the path
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="c989cf16c7f8849874eb008cd701af76">
|
||||
<div><fiddle-embed name="f1fedbb89da9c2a33a91805175663012">
|
||||
|
||||
#### Example Output
|
||||
|
||||
@ -2955,7 +2955,7 @@ Function name stands for "relative move to".
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="862cc026601a41a58df49c0b9f0d7777"></fiddle-embed></div>
|
||||
<div><fiddle-embed name="63e32dec4b2d8440b427f368bf8313a4"></fiddle-embed></div>
|
||||
|
||||
### See Also
|
||||
|
||||
@ -2988,7 +2988,7 @@ Adds <a href='undocumented#Line'>Line</a> from <a href='#Last_Point'>Last Point<
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="e311cdd451edacec33b50cc22a4dd5dc"></fiddle-embed></div>
|
||||
<div><fiddle-embed name="01ad6be9b7d15a2217daea273eb3d466"></fiddle-embed></div>
|
||||
|
||||
### See Also
|
||||
|
||||
@ -3052,7 +3052,7 @@ Function name stands for "relative line to".
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="379fc375e011050b54ed9df83c0996a7"></fiddle-embed></div>
|
||||
<div><fiddle-embed name="6e0be0766b8ca320da51640326e608b3"></fiddle-embed></div>
|
||||
|
||||
### See Also
|
||||
|
||||
@ -3068,7 +3068,7 @@ and then curves to an end <a href='SkPoint_Reference#Point'>Point</a>.
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="78ad51fa1cd33eb84a6f99061e56e067"></fiddle-embed></div>
|
||||
<div><fiddle-embed name="94ad244056dc80ecd87daae004266334"></fiddle-embed></div>
|
||||
|
||||
<a href='#Quad'>Quad</a> is a special case of <a href='#Conic'>Conic</a> where <a href='#Conic_Weight'>Conic Weight</a> is set to one.
|
||||
|
||||
@ -3562,7 +3562,7 @@ Function name stands for "relative cubic to".
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="31bf751d0a8ddf176b871810820d8199"></fiddle-embed></div>
|
||||
<div><fiddle-embed name="19f0cfc7eeba8937fe19446ec0b5f932"></fiddle-embed></div>
|
||||
|
||||
### See Also
|
||||
|
||||
@ -3664,7 +3664,7 @@ of <a href='#Arc'>Arc</a>. Angles greater than -360 and less than 360 are treate
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="d8be8b6e59de244e4cbf58ec9554557b"><div><a href='#SkPath_arcTo'>arcTo</a> continues a previous contour when <a href='#SkPath_arcTo_forceMoveTo'>forceMoveTo</a> is false and when <a href='#Path'>Path</a>
|
||||
<div><fiddle-embed name="5f02890edaa10cb5e1a4243a82b6a382"><div><a href='#SkPath_arcTo'>arcTo</a> continues a previous contour when <a href='#SkPath_arcTo_forceMoveTo'>forceMoveTo</a> is false and when <a href='#Path'>Path</a>
|
||||
is not empty.
|
||||
</div></fiddle-embed></div>
|
||||
|
||||
@ -3694,7 +3694,7 @@ The length of <a href='SkPoint_Reference#Vector'>Vector</a> from (<a href='#SkPa
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="01d2ddfd539ab86a86989e210640dffc"></fiddle-embed></div>
|
||||
<div><fiddle-embed name="daacf43394ce4045a362a48b5774deed"></fiddle-embed></div>
|
||||
|
||||
<a href='#Arc'>Arc</a> sweep is always less than 180 degrees. If <a href='#SkPath_arcTo_2_radius'>radius</a> is zero, or if
|
||||
tangents are nearly parallel, <a href='#SkPath_arcTo'>arcTo</a> appends <a href='undocumented#Line'>Line</a> from last <a href='#Path'>Path</a> <a href='SkPoint_Reference#Point'>Point</a> to (<a href='#SkPath_arcTo_2_x1'>x1</a>, <a href='#SkPath_arcTo_2_y1'>y1</a>).
|
||||
@ -4791,7 +4791,7 @@ Has no effect if <a href='#SkPath_addPoly_count'>count</a> is less than one.
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="182b3999772f330f3b0b891b492634ae"></fiddle-embed></div>
|
||||
<div><fiddle-embed name="3476b553e7b547b604a3f6969f02d933"></fiddle-embed></div>
|
||||
|
||||
### See Also
|
||||
|
||||
@ -4974,7 +4974,7 @@ Reversed <a href='#SkPath_reverseAddPath_src'>src</a> always appends a new <a hr
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="862cc026601a41a58df49c0b9f0d7777"></fiddle-embed></div>
|
||||
<div><fiddle-embed name="5e8513f073db09acde3ff616f6426e3d"></fiddle-embed></div>
|
||||
|
||||
### See Also
|
||||
|
||||
@ -5067,7 +5067,7 @@ Offset <a href='#Point_Array'>Point Array</a> by (<a href='#SkPath_offset_2_dx'>
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="5188d77585715db30bef228f2dfbcccd"></fiddle-embed></div>
|
||||
<div><fiddle-embed name="3ce3db36235d80dbac4d39504cf756da"></fiddle-embed></div>
|
||||
|
||||
### See Also
|
||||
|
||||
|
@ -189,7 +189,7 @@ incomplete
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="882e8e0103048009a25cfc20400492f7"></fiddle-embed></div>
|
||||
<div><fiddle-embed name="5acc77eba0cb4d00bbf3a8f4db0c0aee"></fiddle-embed></div>
|
||||
|
||||
### See Also
|
||||
|
||||
@ -457,7 +457,7 @@ incomplete
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="a98993a66616ae406d8bdc54adfb1411"></fiddle-embed></div>
|
||||
<div><fiddle-embed name="882e8e0103048009a25cfc20400492f7"></fiddle-embed></div>
|
||||
|
||||
### See Also
|
||||
|
||||
|
@ -597,7 +597,7 @@ pixel width in <a href='SkImageInfo_Reference#Image_Info'>Image Info</a>
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="babd0e12db21a88c74d4e88aa40268ab">
|
||||
<div><fiddle-embed name="f68617b7153a20b2ed3d7f9ed5c6e5e4">
|
||||
|
||||
#### Example Output
|
||||
|
||||
@ -694,7 +694,7 @@ Returns <a href='SkImageInfo_Reference#Alpha_Type'>Alpha Type</a>, one of: <a hr
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="070b1a60232be499eb10c6ea62371804">
|
||||
<div><fiddle-embed name="374e245d91cd729eca48fd20e631fdf3">
|
||||
|
||||
#### Example Output
|
||||
|
||||
@ -963,7 +963,7 @@ true if all pixels have opaque values or <a href='SkImageInfo_Reference#Color_Ty
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="55e0431adc6c5b1987ebb8123cc10342">
|
||||
<div><fiddle-embed name="6ef37d5be03d0bfaec992dbb5a94c66f">
|
||||
|
||||
#### Example Output
|
||||
|
||||
|
@ -277,7 +277,7 @@ Sets <a href='#SkPoint_fX'>fX</a> to x, <a href='#SkPoint_fY'>fY</a> to y. Used
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="d8be8b6e59de244e4cbf58ec9554557b">
|
||||
<div><fiddle-embed name="d266e70977847001f7c42f8a2513bee7">
|
||||
|
||||
#### Example Output
|
||||
|
||||
|
@ -821,7 +821,7 @@ corner radii to zero and sets type to <a href='#SkRRect_kEmpty_Type'>kEmpty Type
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="daacf43394ce4045a362a48b5774deed"><div>Nothing blue is drawn because rrect is set to empty.
|
||||
<div><fiddle-embed name="59c1025b8116ec1d3b55f4f6306d1e37"><div>Nothing blue is drawn because rrect is set to empty.
|
||||
</div></fiddle-embed></div>
|
||||
|
||||
### See Also
|
||||
|
@ -473,7 +473,7 @@ bounds (0, 0, 0, 0)
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="2e262d0ac4b8ef51695e0525fc3ecdf6">
|
||||
<div><fiddle-embed name="85436c71aab5410767fc688ab0573e09">
|
||||
|
||||
#### Example Output
|
||||
|
||||
@ -1105,7 +1105,7 @@ and <a href='#SkRect_sort'>sort</a> to reverse <a href='#SkRect_fTop'>fTop</a> a
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="3cfc24b011aef1ca8ccb57c05711620c">
|
||||
<div><fiddle-embed name="7145dc17ebce4f54e892102f6c98e811">
|
||||
|
||||
#### Example Output
|
||||
|
||||
@ -2428,7 +2428,7 @@ If <a href='#SkRect_outset_dy'>dy</a> is negative, makes <a href='#Rect'>Rect</a
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="861f873ba660af8c8bf8b0b83d829cf4">
|
||||
<div><fiddle-embed name="35915a2273be1076f00f2e47998ce808">
|
||||
|
||||
#### Example Output
|
||||
|
||||
|
@ -1856,7 +1856,7 @@ converting to <a href='#Surface'>Surface</a> colorType() and <a href='#Surface'>
|
||||
|
||||
### Example
|
||||
|
||||
<div><fiddle-embed name="d77790dd3bc9f678fa4f582347fb8fba"></fiddle-embed></div>
|
||||
<div><fiddle-embed name="7481a948e34672720337a631830586dd"></fiddle-embed></div>
|
||||
|
||||
### See Also
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user