From 60ca8675e553ae4cb97d2a449fa92ad3b2bed38e Mon Sep 17 00:00:00 2001 From: Cary Clark Date: Tue, 6 Mar 2018 15:09:27 -0500 Subject: 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 Commit-Queue: Cary Clark --- docs/SkPaint_Reference.bmh | 45 --------------------------------------------- 1 file changed, 45 deletions(-) (limited to 'docs') 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 ## # ------------------------------------------------------------------------------ -- cgit v1.2.3