diff options
author | Cary Clark <caryclark@skia.org> | 2018-03-06 15:09:27 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-03-12 15:53:48 +0000 |
commit | 60ca8675e553ae4cb97d2a449fa92ad3b2bed38e (patch) | |
tree | fa48f42c08174ca908380c6844fd76e472bbc5d6 /docs | |
parent | c618a5b3e948efbafbbc7821addb674035b3d2ea (diff) |
make paint flatten unflatten private
SkPaint flatten and unflatten rely
on interfaces that are not public,
SkReadBuffer and SkWriteBuffer.
R=reed@google.com
Bug: skia:6172
Change-Id: I487af9f8931c78daf763c51d9e0d3ff8ff440b22
Reviewed-on: https://skia-review.googlesource.com/112561
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Cary Clark <caryclark@skia.org>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/SkPaint_Reference.bmh | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/docs/SkPaint_Reference.bmh b/docs/SkPaint_Reference.bmh index 323ced5b7c..1e564ee505 100644 --- a/docs/SkPaint_Reference.bmh +++ b/docs/SkPaint_Reference.bmh @@ -393,51 +393,6 @@ The hash returned is platform and implementation specific. ## -# ------------------------------------------------------------------------------ - -#Method void flatten(SkWriteBuffer& buffer) const - -#In Management -#Line # serializes into a buffer ## -Serializes Paint into a buffer. A companion unflatten() call -can reconstitute the paint at a later time. - -#Param buffer Write_Buffer receiving the flattened Paint data ## - -# why is flatten() public? -#Bug 6172 - -#NoExample -## - -## - -# ------------------------------------------------------------------------------ - -#Method bool unflatten(SkReadBuffer& buffer) - -#In Management -#Line # populates from a serialized stream ## -Populates Paint, typically from a serialized stream, created by calling -flatten() at an earlier time. - -SkReadBuffer class is not public, so unflatten() cannot be meaningfully called -by the client. - -#Param buffer serialized data describing Paint content ## - -#Return false if the buffer contains invalid data ## - -# why is unflatten() public? -#Bug 6172 - -#NoExample -## - -#SeeAlso SkReadBuffer - -## - #Subtopic Management ## # ------------------------------------------------------------------------------ |