2014-12-25から1日間の記事一覧
568 static jfloat measureText_StringI(JNIEnv* env, jobject jpaint, jstring text, jint bidiFlags) { 569 NPE_CHECK_RETURN_ZERO(env, jpaint); 570 NPE_CHECK_RETURN_ZERO(env, text); 571 572 size_t textLength = env->GetStringLength(text); 573 if…
1060 public Typeface setTypeface(Typeface typeface) { 1061 long typefaceNative = 0; 1062 if (typeface != null) { 1063 typefaceNative = typeface.native_instance; 1064 } 1065 native_setTypeface(mNativePaint, typefaceNative); 1066 mTypeface =…