am 066e6bfd: Merge change 4792 into donut

Merge commit '066e6bfd01a5ddd4748eacdc82fee5374e2af929'

* commit '066e6bfd01a5ddd4748eacdc82fee5374e2af929':
  when we reset a paint, it should return to the state it was in when it was first created.
This commit is contained in:
Android (Google) Code Review
2009-06-19 14:49:44 -07:00
committed by The Android Open Source Project

View File

@@ -69,6 +69,8 @@ public:
static void reset(JNIEnv* env, jobject clazz, SkPaint* obj) {
obj->reset();
// utf16 is required for java
obj->setTextEncoding(SkPaint::kUTF16_TextEncoding);
}
static void assign(JNIEnv* env, jobject clazz, SkPaint* dst, const SkPaint* src) {