From e8e62a4a032a80409114a37908b5f18ab0080848 Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Fri, 23 Jul 2010 18:55:21 -0700 Subject: Add text alignment support to drawText(). This change also integrates better support for RTL text. Change-Id: I6da8f5cf5dc28ca7cf1b22e27b0d853c919e8481 --- libs/hwui/OpenGLRenderer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/hwui/OpenGLRenderer.h') diff --git a/libs/hwui/OpenGLRenderer.h b/libs/hwui/OpenGLRenderer.h index 43e568f..248c9c3 100644 --- a/libs/hwui/OpenGLRenderer.h +++ b/libs/hwui/OpenGLRenderer.h @@ -110,7 +110,7 @@ public: float* positions, int count, SkShader::TileMode tileMode, SkMatrix* matrix, bool hasAlpha); - void drawText(const char* text, int count, float x, float y, SkPaint* paint); + void drawText(const char* text, int bytesCount, int count, float x, float y, SkPaint* paint); private: /** -- cgit v1.1