skia2/docs
Cary Clark d98f78cd01 alternative no anonymous enums
Anonymous enums play havoc with documentation;
there's no name to refer to. It may be that all
enums may either be named or replaced with constexpr
without breaking anything. Try replacing all
anonymous enums in include/core to see what happens.

This names SkCanvas::SaveLayerFlagsSet but leaves
SkCanvas::SaveLayerFlags as a uint32_t, to reduce
risk as compared to review.skia.org/123584.

There's also some chance that external linkage will
break if some client refers to anonymous enum in a way
that could require its address: see
https://stackoverflow.com/questions/22867654/enum-vs-constexpr-for-actual-static-constants-inside-classes
(This CL does not require definitions + declarations)

Brought bookmaker docs in line with this change.
This also tripped over missing code in bookmaker
handling constexpr so added that as well.

R=reed@google.com,bsalomon@google.com

Docs-Preview: https://skia.org/?cl=123920
Docs-Preview: https://skia.org/?cl=123584
Bug: skia:6898
Change-Id: I14a342edcfd59e139ef9e4501f562417c4c60391
Reviewed-on: https://skia-review.googlesource.com/123920
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Cary Clark <caryclark@skia.org>
2018-04-26 17:11:53 +00:00
..
catalogHeader.txt cataloger 2017-10-31 20:09:25 +00:00
catalogTrailer.txt streamline doc menus 2017-11-01 14:23:50 +00:00
illustrations.bmh more imageinfo text and warnings and cleanup 2018-03-16 18:11:35 +00:00
markup.bmh bookmaker initial checkin 2017-07-28 15:30:38 +00:00
overview.bmh bookmaker initial checkin 2017-07-28 15:30:38 +00:00
SkAutoCanvasRestore_Reference.bmh fix bugs exposed by documenting SkImageInfo 2018-04-03 16:09:56 +00:00
SkBitmap_Reference.bmh remove SK_IGNORE_TO_STRING 2018-04-05 23:52:23 +00:00
SkCanvas_Reference.bmh alternative no anonymous enums 2018-04-26 17:11:53 +00:00
SkColor4f_Reference.bmh document SkColor.h 2018-04-16 16:26:20 +00:00
SkColor_Reference.bmh document SkColor.h 2018-04-16 16:26:20 +00:00
SkImage_Reference.bmh Support downscaling to max texture size when making cross-context images 2018-04-13 20:41:12 +00:00
SkImageInfo_Reference.bmh fix global method indentation 2018-04-03 20:02:25 +00:00
SkIPoint_Reference.bmh move SkIPoint16 to private header 2018-04-04 20:16:58 +00:00
SkIRect_Reference.bmh remove unused/dumb methods from SkRect 2018-04-11 19:40:57 +00:00
SkMatrix_Reference.bmh alternative no anonymous enums 2018-04-26 17:11:53 +00:00
SkPaint_Reference.bmh alternative no anonymous enums 2018-04-26 17:11:53 +00:00
SkPath_Reference.bmh fix bugs exposed by documenting SkImageInfo 2018-04-03 16:09:56 +00:00
SkPixmap_Reference.bmh more imageinfo text and warnings and cleanup 2018-03-16 18:11:35 +00:00
SkPoint_Reference.bmh fix bookmaker nightly 2018-02-06 15:20:25 +00:00
SkRect_Reference.bmh fix bm gm 2018-04-12 14:18:50 +00:00
SkSurface_Reference.bmh Revert "Delete getRenderTargetHandle call on SkSurface." 2018-04-14 18:08:12 +00:00
status.json document SkColor.h 2018-04-16 16:26:20 +00:00
undocumented.bmh document SkColor.h 2018-04-16 16:26:20 +00:00
usingBookmaker.bmh fix bookmaker nightly 2018-02-06 15:20:25 +00:00