skia2/docs
Hal Canary 83c2f70b51 Compile all fiddle examples locally
Motivation: it would be a good idea if the API documentation examples
were checked into the skia repository, so we could make sure they
compile as part of the commit queue.

Fiddle would make/update a named fiddle each time it gets a new
commit of Skia, extracted from the code in the examples/ directory.
The docs would point at those named fiddles.  Named fiddles have urls
in the form:

    https://fiddle.skia.org/c/@Bitmap_000

Then we would stick a link to the example into the header documentation
like this:

    /** Allocates the pixel memory for the bitmap, given its dimensions
        and SkColorType. Returns true on success, where success means
        either setPixels() or setPixelRef() was called.

        @param bitmap  SkBitmap containing SkImageInfo as input, and
                       SkPixelRef as output
        @return        true if SkPixelRef was allocated

        @example       https://fiddle.skia.org/c/@Bitmap_000
    */
    bool allocPixelRef(SkBitmap* bitmap) override;

There are still around 200 disabled examples that need to be fixed
(these result from API changes since the author left).

Change-Id: I14a31348a9ccaaa31f65424b91e3a3533d2583a7
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/198824
Commit-Queue: Hal Canary <halcanary@google.com>
Reviewed-by: Leon Scroggins <scroggo@google.com>
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
2019-03-15 15:19:18 +00:00
..
examples Compile all fiddle examples locally 2019-03-15 15:19:18 +00:00
catalogHeader.txt Documentation refresh 2018-05-16 11:35:24 +00:00
catalogTrailer.txt streamline doc menus 2017-11-01 14:23:50 +00:00
illustrations.bmh fix bookmaker 2019-01-07 21:06:29 +00:00
markup.bmh Documentation refresh 2018-05-16 11:35:24 +00:00
overview.bmh bookmaker initial checkin 2017-07-28 15:30:38 +00:00
SkAutoCanvasRestore_Reference.bmh Update examples to use SkFont 2019-02-14 13:29:34 +00:00
SkBitmap_Reference.bmh bookmaker does deprecated 2018-11-15 14:08:45 +00:00
SkBlendMode_Overview.bmh Generate bookmaker indices 2018-10-08 19:24:31 +00:00
SkBlendMode_Reference.bmh docs with more pop 2018-10-31 16:45:32 +00:00
SkCanvas_Reference.bmh update docs for backdrop 2019-02-22 16:07:25 +00:00
SkColor4f_Reference.bmh fix docs for fitsInBytes 2019-03-01 16:48:59 +00:00
SkColor_Reference.bmh Update examples to use SkFont 2019-02-14 13:29:34 +00:00
SkDynamicMemoryWStream_Reference.bmh Generate bookmaker indices 2018-10-08 19:24:31 +00:00
SkFILEStream_Reference.bmh docs with more pop 2018-10-31 16:45:32 +00:00
SkFILEWStream_Reference.bmh Generate bookmaker indices 2018-10-08 19:24:31 +00:00
SkFont_Reference.bmh remove docs for containsText 2019-02-01 16:54:27 +00:00
SkImage_Reference.bmh Update examples to use SkFont 2019-02-14 13:29:34 +00:00
SkImageInfo_Reference.bmh Update examples to use SkFont 2019-02-14 13:29:34 +00:00
SkIPoint_Reference.bmh Update bookmaker 2018-11-29 18:17:30 +00:00
SkIRect_Reference.bmh Check every word in docs 2018-11-08 13:27:57 +00:00
SkMatrix_Reference.bmh Update examples to use SkFont 2019-02-14 13:29:34 +00:00
SkMemoryStream_Reference.bmh bookmaker does deprecated 2018-11-15 14:08:45 +00:00
SkPaint_Reference.bmh remove mention of SkPaintDefaults_Flags 2019-02-26 22:54:24 +00:00
SkPath_Overview.bmh Generate bookmaker indices 2018-10-08 19:24:31 +00:00
SkPath_Reference.bmh bookmaker does deprecated 2018-11-15 14:08:45 +00:00
SkPicture_Reference.bmh docs with more pop 2018-10-31 16:45:32 +00:00
SkPixmap_Reference.bmh Update color space API in examples 2019-01-28 21:09:46 +00:00
SkPoint_Reference.bmh Update bookmaker 2018-11-29 18:17:30 +00:00
SkRect_Reference.bmh bookmaker does deprecated 2018-11-15 14:08:45 +00:00
SkRegion_Reference.bmh Update bookmaker 2018-11-29 18:17:30 +00:00
SkRRect_Reference.bmh Check every word in docs 2018-11-08 13:27:57 +00:00
SkStream_Reference.bmh bookmaker does deprecated 2018-11-15 14:08:45 +00:00
SkSurface_Reference.bmh Fix bookmaker dox for SkSurface::MakeRenderTarget 2019-02-19 22:46:17 +00:00
SkTextBlob_Reference.bmh fix bookmaker 2019-01-07 21:06:29 +00:00
SkTextBlobBuilder_Reference.bmh bookmaker nightly fix 2018-12-06 18:03:08 +00:00
SkWStream_Reference.bmh Generate bookmaker indices 2018-10-08 19:24:31 +00:00
spelling.txt fix bookmaker 2019-01-07 21:06:29 +00:00
status.json Update bookmaker 2018-11-29 18:17:30 +00:00
undocumented.bmh remove mention of SkPaintDefaults_Flags 2019-02-26 22:54:24 +00:00
usingBookmaker.bmh bookmaker does deprecated 2018-11-15 14:08:45 +00:00