From 682c58da482155213e8cd2834b57bc6541e510a0 Mon Sep 17 00:00:00 2001 From: Cary Clark Date: Wed, 16 May 2018 07:07:07 -0400 Subject: Documentation refresh - add links to types within methods - add check to see that all references and definitions match - add style to tables to make them easier to read - use https everywhere - remove trailing spaces - move overview inside class - split class and struct in summary tables - add missing #Line - clean up SkImageInfo constant documentation - work on SkColor documentation - allow common phrases to take different parameters - add more flexibility to generated tables - tighten token parent requirements - generalize deprecated and example interfaces - detect inner constructors R=caryclark@google.com Docs-Preview: https://skia.org/?cl=121799 Bug: skia:6898 Change-Id: Ia75a23740b80259460916890b310e2a9f024962a Reviewed-on: https://skia-review.googlesource.com/121799 Commit-Queue: Cary Clark Auto-Submit: Cary Clark Reviewed-by: Cary Clark --- docs/illustrations.bmh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'docs/illustrations.bmh') diff --git a/docs/illustrations.bmh b/docs/illustrations.bmh index 48b844ac78..ef528adf60 100644 --- a/docs/illustrations.bmh +++ b/docs/illustrations.bmh @@ -1,6 +1,6 @@ #Topic Illustrations -#Subtopic Image_Info_Color_Type_BGR_565 +#Subtopic Image_Info_Color_Type_RGB_565 #Example #Width 415 #Height 250 @@ -43,7 +43,7 @@ void draw(SkCanvas* canvas) { canvas->drawLine(5 + e[0] * 20, yPos + i * 15, 5 + e[count] * 20, yPos + i * 15, p); } }; - SkScalar edges[] = { 0, 5, 11, 16, + SkScalar edges[] = { 0, 5, 11, 16, 0, 3, 8, 0, 5, 8 }; const char* labels[] = { "red", "green", "blue" }; @@ -54,7 +54,7 @@ void draw(SkCanvas* canvas) { ## ## -#Subtopic Image_Info_Color_Type_ABGR_4444 +#Subtopic Image_Info_Color_Type_ARGB_4444 #Example #Width 415 #Height 250 @@ -156,7 +156,7 @@ void draw(SkCanvas* canvas) { ## ## -#Subtopic Image_Info_Color_Type_RGB_888x +#Subtopic Image_Info_Color_Type_RGB_888 #Example #Width 812 #Height 365 @@ -323,7 +323,7 @@ void draw(SkCanvas* canvas) { ## ## -#Subtopic Image_Info_Color_Type_RGB_101010x +#Subtopic Image_Info_Color_Type_RGB_101010 #Example #Width 812 #Height 380 -- cgit v1.2.3