diff options
author | Cary Clark <caryclark@skia.org> | 2018-03-13 08:29:05 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-03-13 12:33:32 +0000 |
commit | 4ce53a6ffd3caa1da68d9d9c42d848cbb06f69fb (patch) | |
tree | 24cb72abd6af2be9e126dad38e0cd0bc3ee6a846 /site | |
parent | cc59c278ab0db657a828260800dfa85373c5e836 (diff) |
remove paint flatten unflatten from generated docs
No-Try: true
Docs-Preview: https://skia.org/?cl=114014
Bug: skia:6898
Change-Id: Ic53e3b9041576888a1d533cd9ef0f575e35cb0bc
Reviewed-on: https://skia-review.googlesource.com/114014
Commit-Queue: Cary Clark <caryclark@skia.org>
Reviewed-by: Cary Clark <caryclark@skia.org>
Diffstat (limited to 'site')
-rw-r--r-- | site/user/api/SkPaint_Reference.md | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/site/user/api/SkPaint_Reference.md b/site/user/api/SkPaint_Reference.md index f9df8fd384..587eeb2e05 100644 --- a/site/user/api/SkPaint_Reference.md +++ b/site/user/api/SkPaint_Reference.md @@ -143,7 +143,6 @@ Multiple colors are drawn either by using multiple paints or with objects like | <a href="#SkPaint_containsText">containsText</a> | returns if all text corresponds to <a href="undocumented#Glyph">Glyphs</a> | | <a href="#SkPaint_countText">countText</a> | returns number of <a href="undocumented#Glyph">Glyphs</a> in text | | <a href="#SkPaint_doComputeFastBounds">doComputeFastBounds</a> | returns bounds for quick reject tests | -| <a href="#SkPaint_flatten">flatten</a> | serializes into a buffer | | <a href="#SkPaint_getAlpha">getAlpha</a> | returns <a href="undocumented#Alpha">Color Alpha</a>, color opacity | | <a href="#SkPaint_getBlendMode">getBlendMode</a> | returns <a href="undocumented#Blend_Mode">Blend Mode</a>, how colors combine with <a href="undocumented#Device">Device</a> | | <a href="#SkPaint_getColor">getColor</a> | returns <a href="undocumented#Alpha">Color Alpha</a> and <a href="undocumented#RGB">Color RGB</a>, one drawing color | @@ -237,7 +236,6 @@ Multiple colors are drawn either by using multiple paints or with objects like | <a href="#SkPaint_setVerticalText">setVerticalText</a> | sets or clears <a href="#Vertical_Text">Vertical Text</a> | | <a href="#SkPaint_textToGlyphs">textToGlyphs</a> | converts text into glyph indices | | <a href="#SkPaint_toString">toString</a> | converts <a href="#Paint">Paint</a> to machine readable form | -| <a href="#SkPaint_unflatten">unflatten</a> | populates from a serialized stream | ## <a name="Initializers"></a> Initializers @@ -610,55 +608,6 @@ paint1.getHash() == paint2.getHash() --- -<a name="SkPaint_flatten"></a> -## flatten - -<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0"> -void flatten(SkWriteBuffer& buffer) const -</pre> - -Serializes <a href="#Paint">Paint</a> into a <a href="#SkPaint_flatten_buffer">buffer</a>. A companion <a href="#SkPaint_unflatten">unflatten</a> call -can reconstitute the paint at a later time. - -### Parameters - -<table> <tr> <td><a name="SkPaint_flatten_buffer"> <code><strong>buffer </strong></code> </a></td> <td> -<a href="undocumented#Write_Buffer">Write Buffer</a> receiving the flattened <a href="#Paint">Paint</a> data</td> - </tr> -</table> - ---- - -<a name="SkPaint_unflatten"></a> -## unflatten - -<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0"> -bool unflatten(SkReadBuffer& buffer) -</pre> - -Populates <a href="#Paint">Paint</a>, typically from a serialized stream, created by calling -<a href="#SkPaint_flatten">flatten</a> at an earlier time. - -<a href="undocumented#SkReadBuffer">SkReadBuffer</a> class is not public, so <a href="#SkPaint_unflatten">unflatten</a> cannot be meaningfully called -by the client. - -### Parameters - -<table> <tr> <td><a name="SkPaint_unflatten_buffer"> <code><strong>buffer </strong></code> </a></td> <td> -serialized data describing <a href="#Paint">Paint</a> content</td> - </tr> -</table> - -### Return Value - -false if the <a href="#SkPaint_unflatten_buffer">buffer</a> contains invalid data - -### See Also - -<a href="undocumented#SkReadBuffer">SkReadBuffer</a> - ---- - ## <a name="Hinting"></a> Hinting ## <a name="SkPaint_Hinting"></a> Enum SkPaint::Hinting |