summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorSeigo Nonaka <nona@google.com>2020-09-14 15:29:42 -0700
committerSeigo Nonaka <nona@google.com>2020-09-29 12:38:28 -0700
commitf3a1915b2e9d362d40991db4b1001c1790130f3c (patch)
treef8d506c35a55ce50321311225f7fa1bf1e93f4c2 /rs/java/android/renderscript/ProgramStore.java
parent08348e26e284781dd9754de2db6d4b0b7c084341 (diff)
Add TextShaper API
TextShaper API provides a primitive text layout result, e.g. what glyph is used etc. Here is the new APIs and its description - PositionedGlyphs This is a native instance backed object that gives layout information to developers. - GlyphStyle The glyph style is an object that holds the parameters that will be used for drawing. This object is a subset of the Paint object for avoiding creating lots of Paint copy. - TextShaper#shapeText This does a text shaping and gives TextShaper.Result. This is a native backed primitive shaping API. - StyledTextShaper This is a text shaper for a styled text. This will be the top-level developer facing API for shaping text. Bug: 168048923 Test: atest FontTest TextShaperTest StyledTextShaperTest Change-Id: I2e91d1ef8503b25b28efc94da7de7cad49c4c1a9
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions