summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorLeon Scroggins III <scroggo@google.com>2020-04-29 13:46:00 -0400
committerLeon Scroggins <scroggo@google.com>2020-05-01 15:38:26 +0000
commit950f2aa8258e35a8d65e538c3c1da39005f3dd0e (patch)
treef54b3190b8f687b9b08ed6ec3c0e7d95c20ddc4d /tools/aapt2/java/JavaClassGenerator.cpp
parenta9eec3d8ed4385ff515f37d30c16b04484a0a2f5 (diff)
Fix setShadowLayer + drawTextOnPath
Bug: 140255441 Test: I49c468b0f4cc142e5d6b03f0aee917b3d85153f3 Fix two issues that prevented this combination from working: - make() the SkTextBlob once and reuse it for each iteration of the loop. This is necessary because make() resets the SkTextBlobBuilder, so a second call does nothing. - use the altered SkPaint, passed as a parameter to the lambda, rather than the Paint passed to apply_looper. Incidentally, reference mCanvas directly like the other methods, rather than calling asSkCanvas(), which returns mCanvas. Change-Id: I48ea1232b12df4f5f8afffc20c7dc8e5dc2bb511
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions