skia2/modules
Florin Malita 132d47c90d [skottie] Path support for paragraph text
In addition to single line (point) text, AE also supports path layout
for paragraph text.

At a high level, the paragraph box top is mapped to the path (following
alignment rules), and each glyph is displaced along its path positioning
vector, post orientation.

The main difference compared to point text, is that the distance on path
is based on the fragment position relative to the paragraph left edge.

The paragraph box also plays a role in alignment: left/center/right
aligns with path start/mid/end.

This includes a tangential optimization: instead of validating cached
contour data in each PathInfo::getMatrix() call, we only check once at
a higher level (onSync) -- to avoid performing a shape vector comparison
for each fragment.

Change-Id: I2c31ce3b0a525a3cd2d4525abcf88d5fc943bb6e
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/457656
Commit-Queue: Florin Malita <fmalita@google.com>
Reviewed-by: Ben Wagner <bungeman@google.com>
Reviewed-by: Jorge Betancourt <jmbetancourt@google.com>
2021-10-11 15:26:00 +00:00
..
androidkit [JetSki] bind drawGlyphs to JetSki for Text rendering 2021-09-22 19:38:13 +00:00
audioplayer implement SkAudioPLayer for Android 2020-12-15 00:12:48 +00:00
canvaskit [canvaskit] Update SKP and RTShader examples 2021-09-30 13:00:30 +00:00
particles Remove blend and colorFilter sksl modules 2021-08-31 17:35:19 +00:00
pathkit Fix some master -> main references in docs 2021-09-27 14:52:24 +00:00
skottie [skottie] Path support for paragraph text 2021-10-11 15:26:00 +00:00
skparagraph Reland "Reland "Small changes for SkText that are not in experimental directory"" 2021-09-15 15:31:14 +00:00
skplaintexteditor Reland "Add format-specifier warnings to SkDebugf." 2021-06-25 17:57:43 +00:00
skresources ResourceProviderProxyBase should forward loadAudioAsset() 2021-02-09 01:24:04 +00:00
sksg Pass CTM to path effects (experimental) 2021-07-13 18:42:55 +00:00
skshaper Reland "Experimental ICU runtime linking" 2021-07-27 19:51:31 +00:00
skunicode Reland "Reland "Small changes for SkText that are not in experimental directory"" 2021-09-15 15:31:14 +00:00
svg Reland "Fix compilation w/ "skia_enable_svg = false" (take 2)" 2021-09-01 17:54:08 +00:00