skia2/include
Mike Klein b82c3d6ff2 simplify SkTFitsIn
Now that we're C++14, a constexpr SkTFitsIn() is a lot easier.
All the old tests still pass, and one new added.

Updated the comments a bit for correctness and readability.

Change-Id: I0f60e32e545fe4f2fb14e66a2bf25d562dbd680f
Reviewed-on: https://skia-review.googlesource.com/133831
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Mike Klein <mtklein@chromium.org>
2018-06-12 15:44:23 +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 SkTypes: extract SkTo 2018-06-12 15:03:21 +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 SkTypes: extract SkTo 2018-06-12 15:03:21 +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 2018-06-12 15:44:23 +00:00
svg Add a SkWStream-based SkSVGCanvas factory 2017-09-19 20:33:19 +00:00
utils SkTypes: extract SkTo 2018-06-12 15:03:21 +00:00
views [Viewer] Preserve gesture transformation matrix on slide/backend change 2018-01-05 18:18:39 +00:00