From 08895c48144cedaf81006803afe4a5a2becfdb92 Mon Sep 17 00:00:00 2001 From: Cary Clark Date: Thu, 1 Feb 2018 09:37:32 -0500 Subject: auto table generation Replace manually entered summary tables with ones that are populated and sorted by bookmaker. This introduces a slight regression for anonymous enums but fixes a lot of bugs and omissions. The format is #Topic somethingTopical #Populate ## where somethingTopical is one of Subtopics, Constructors, Constants, Classes_and_Structs, Members, Member_Functions, and Related_Functions. Fix the bad formatting in SkCanvas reference. The #Error tag was was corrupting the markdown table. Remove the tag and replace it with #NoExample. Next up: revise self-check to know about populated topics. TBR=caryclark@google.com Docs-Preview: https://skia.org/?cl=102080 Bug: skia:6898 Change-Id: Idef5d1c14c740c18a81d6a5106182788dd2a09e1 Reviewed-on: https://skia-review.googlesource.com/102080 Commit-Queue: Cary Clark Reviewed-by: Cary Clark --- docs/SkAutoCanvasRestore_Reference.bmh | 40 +++++++++------------------------- 1 file changed, 10 insertions(+), 30 deletions(-) (limited to 'docs/SkAutoCanvasRestore_Reference.bmh') diff --git a/docs/SkAutoCanvasRestore_Reference.bmh b/docs/SkAutoCanvasRestore_Reference.bmh index 361fb767ca..112d6310ee 100644 --- a/docs/SkAutoCanvasRestore_Reference.bmh +++ b/docs/SkAutoCanvasRestore_Reference.bmh @@ -1,44 +1,24 @@ #Topic Automatic_Canvas_Restore +#Subtopic Overview + #Subtopic Subtopics + #Populate + ## +## + #Class SkAutoCanvasRestore Stack helper class calls SkCanvas::restoreToCount() when SkAutoCanvasRestore goes out of scope. Use this to guarantee that the canvas is restored to a known state. -#Topic Overview - -#Subtopic Subtopics -#ToDo manually add subtopics ## -#Table -#Legend -# name # description ## -#Legend ## -# Constructors # functions that construct SkAutoCanvasRestore ## -# Member_Functions # static functions and member methods ## -#Table ## -#Subtopic ## - #Subtopic Constructors -#Table -#Legend -# name # description ## -#Legend ## -# SkAutoCanvasRestore(SkCanvas* canvas, bool doSave) # preserves Canvas save count ## -# ~SkAutoCanvasRestore() # restores Canvas to saved state ## -#Table ## -#Subtopic ## +#Populate +## #Subtopic Member_Functions -#Table -#Legend -# name # description ## -#Legend ## -# restore() # restores Canvas to saved state ## -#Table ## -#Subtopic ## - -#Topic Overview ## +#Populate +## #Method SkAutoCanvasRestore(SkCanvas* canvas, bool doSave) -- cgit v1.2.3