skia2/include
Mike Klein 009f51e43f simplify SkTFitsIn, try 2
Originally we wrote this in C++14 constexpr,
but because this is used from public headers, we can't use
C++14 yet.  Now a somewhat sillier looking C++11 version.

All the old tests still pass, and one new added.
Updated the comments a bit for correctness and readability.

Change-Id: I99c01e1346c1a5a36278cc08f30538112e5259aa
Reviewed-on: https://skia-review.googlesource.com/134425
Commit-Queue: Mike Klein <mtklein@chromium.org>
Commit-Queue: Ben Wagner <bungeman@google.com>
Auto-Submit: Mike Klein <mtklein@chromium.org>
Reviewed-by: Ben Wagner <bungeman@google.com>
2018-06-13 13:50:51 +00:00
..
android Alternate between two SkBitmaps in SkAnimatedImage 2018-05-23 20:49:42 +00:00
atlastext move SkIPoint16 to private header 2018-04-04 20:16:58 +00:00
c C API: document sk_matrix_t 2017-03-21 18:04:34 +00:00
codec Remove ColorCodecBench 2018-05-23 15:20:21 +00:00
config remove unused parts of SkTypes.h 2018-06-08 23:53:57 +00:00
core Revert "SkTypes: extract SkTo" 2018-06-13 13:45:47 +00:00
effects rebase 2018-06-08 20:36:53 +00:00
encode Revert "Add an Option for orientation on JPEG encodes" 2017-10-18 18:09:47 +00:00
gpu Revert "SkTypes: extract SkTo" 2018-06-13 13:45:47 +00:00
pathops Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
ports Remove non-smart SkFontConfigInterface::SetGlobal. 2018-05-15 19:42:13 +00:00
private simplify SkTFitsIn, try 2 2018-06-13 13:50:51 +00:00
svg Add a SkWStream-based SkSVGCanvas factory 2017-09-19 20:33:19 +00:00
utils Revert "SkTypes: extract SkTo" 2018-06-13 13:45:47 +00:00
views [Viewer] Preserve gesture transformation matrix on slide/backend change 2018-01-05 18:18:39 +00:00