aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/illustrations.bmh
diff options
context:
space:
mode:
authorGravatar Cary Clark <caryclark@skia.org>2018-05-16 07:07:07 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-05-16 11:35:24 +0000
commit682c58da482155213e8cd2834b57bc6541e510a0 (patch)
tree63d666ea9ec0c2e765557e61e9ec5fc78ad9747f /docs/illustrations.bmh
parent4c2a34e4804e5affa8447b590578a359bad2caf8 (diff)
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 <caryclark@skia.org> Auto-Submit: Cary Clark <caryclark@skia.org> Reviewed-by: Cary Clark <caryclark@skia.org>
Diffstat (limited to 'docs/illustrations.bmh')
-rw-r--r--docs/illustrations.bmh10
1 files changed, 5 insertions, 5 deletions
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