remove mention of SkMetaData
Bug: skia: Change-Id: I0f3fff0d29192e5ce9f1504ed54d032f9ffee77c Reviewed-on: https://skia-review.googlesource.com/c/189285 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com> Auto-Submit: Mike Reed <reed@google.com>
This commit is contained in:
parent
f7c6dfabef
commit
0c74d7d928
@ -327,35 +327,6 @@ void draw(SkCanvas* canvas) {
|
||||
#Line # metrics and attributes ##
|
||||
##
|
||||
|
||||
#Method SkMetaData& getMetaData()
|
||||
#In Property
|
||||
#In Utility
|
||||
#Line # associates additional data with the canvas ##
|
||||
#Populate
|
||||
|
||||
#Example
|
||||
const char* kHelloMetaData = "HelloMetaData";
|
||||
SkCanvas canvas;
|
||||
SkMetaData& metaData = canvas.getMetaData();
|
||||
SkDebugf("before: %s\n", metaData.findString(kHelloMetaData));
|
||||
metaData.setString(kHelloMetaData, "Hello!");
|
||||
SkDebugf("during: %s\n", metaData.findString(kHelloMetaData));
|
||||
metaData.removeString(kHelloMetaData);
|
||||
SkDebugf("after: %s\n", metaData.findString(kHelloMetaData));
|
||||
|
||||
#StdOut
|
||||
before: (null)
|
||||
during: Hello!
|
||||
after: (null)
|
||||
#StdOut ##
|
||||
##
|
||||
|
||||
#SeeAlso SkMetaData
|
||||
|
||||
##
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
#Method SkImageInfo imageInfo() const
|
||||
#In Property
|
||||
#Line # returns Image_Info for Canvas ##
|
||||
|
Loading…
Reference in New Issue
Block a user