skia2/include
caryclark 0449bcfb2f add helper to create fancy underlines
Add a couple of utility functions to SkPaint that return the bounds
of glyphs between a pair of lines.

The common use case envisioned generates the edges of descenders
between the top and bottom bounds of an underline to allow computing
a stroke that skips those descenders.

The implementation stores a linked list in each glyph containing
the bounds of the lines parallel to the advance and the outermost
intersections within those bounds.

When the glyph cache is constructed, the glyph path is intersected
with the bounds and the extreme min and max values within the bounds
is added to an intercept.

Share the text to path iter to construct the data.

Make a half-hearted attempt to support vertical text; while the
vertical implementation is complete; surrounding code (e.g. paint
align) has short-comings with vertical.

R=fmalita@chromium.org, reed@google.com

GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1654883003

Review URL: https://codereview.chromium.org/1654883003
2016-02-09 13:25:45 -08:00
..
android Move SkBitmapRegionDecoder to include/android and src/android 2015-11-13 06:11:09 -08:00
animator
c Documentation: C API comments 2015-09-01 10:45:09 -07:00
client/android Alter SkXfermode's asFragmentProcessor & asXPFactory contracts 2016-02-09 05:09:28 -08:00
codec Add SkAndroidCodec::getPixels 2016-02-04 06:14:24 -08:00
config Add Histogram Macros to Skia 2016-02-05 15:32:36 -08:00
core add helper to create fancy underlines 2016-02-09 13:25:45 -08:00
device/xps CMake, include/: changes to make fiddle 2.0 better 2015-12-01 09:02:49 -08:00
effects Alter SkXfermode's asFragmentProcessor & asXPFactory contracts 2016-02-09 05:09:28 -08:00
gpu Use skstd::remove_pointer_t in GrGLFunction 2016-02-09 08:28:54 -08:00
images remove SkInstCnt 2015-06-26 11:45:03 -07:00
pathops Revert of Revert of remove SK_SUPPORT_LEGACY_PATHOP_ENUMS (patchset #1 id:1 of https://codereview.chromium.org/1203983003/) 2015-06-26 10:23:07 -07:00
ports SkTArray to move when moving. 2016-02-09 09:14:28 -08:00
private Move Google3-specific stack limitation logic to template classes. 2016-02-05 07:02:38 -08:00
svg move SkTDict and SkTSearch into private 2016-01-03 18:36:05 -08:00
utils SK_SUPPORT_LEGACY_DRAWFLTER typo 2016-01-25 06:23:54 -08:00
views SampleApp: Remove SkWindow::setColorType 2016-01-18 01:18:35 -08:00
xml Move SkTemplates.h to private. 2015-08-19 11:56:48 -07:00