aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/atlastext
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2017-11-20 13:13:01 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-11-20 18:33:38 +0000
commit0c1c2b39dd93100542236b23546ed0b855816a49 (patch)
tree2f84e885f100bab54a5dc60c5565a639fa12b8d5 /include/atlastext
parent999ec57291dc7cf1d8e3a745627670e6cadc1c12 (diff)
Make SkAtlasTextTarget use glyph IDs
Bug: skia: Change-Id: Idefd69f02f62fea22c41a3476676773221c3ae81 Reviewed-on: https://skia-review.googlesource.com/73700 Reviewed-by: Ben Wagner <bungeman@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'include/atlastext')
-rw-r--r--include/atlastext/SkAtlasTextTarget.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/atlastext/SkAtlasTextTarget.h b/include/atlastext/SkAtlasTextTarget.h
index 0859afde39..a9d5dd5dca 100644
--- a/include/atlastext/SkAtlasTextTarget.h
+++ b/include/atlastext/SkAtlasTextTarget.h
@@ -31,8 +31,8 @@ public:
* Enqueues a text draw in the target. The meaning of 'color' here is interpreted by the
* client's SkAtlasTextRenderer when it actually renders the text.
*/
- virtual void drawText(const void* text, size_t byteLength, SkScalar x, SkScalar y,
- uint32_t color, const SkAtlasTextFont& font) = 0;
+ virtual void drawText(const SkGlyphID*, int glyphCnt, SkScalar x, SkScalar y, uint32_t color,
+ const SkAtlasTextFont& font) = 0;
/** Issues all queued text draws to SkAtlasTextRenderer. */
virtual void flush() = 0;