# HG changeset patch # User Thinker K.F. Li # Date 1258878194 -28800 # Node ID 099d6f26dc0534917d46a4433a505f47375f48d2 # Parent 64b994566efed3dfad9eb2938565f1c5afb50652 Change definition of redraw_man_new(). diff -r 64b994566efe -r 099d6f26dc05 dox/Android.h --- a/dox/Android.h Sun Nov 22 16:09:06 2009 +0800 +++ b/dox/Android.h Sun Nov 22 16:23:14 2009 +0800 @@ -82,11 +82,13 @@ * memory and calling initial function. For example, redraw_man_new() * is defined as a JNI method instead of redraw_man_init(). * \code - * native static int redraw_man_new(int cr, int backend); + * native static int redraw_man_new(Canvas cr, Canvas backend); * \endcode * First argument, rdman, of redraw_man_init() is replaced by a int * returned value of redraw_man_new(). cr and backend, mbe_t type by - * MadButterfly, are, now, int type by the JNI native method. + * MadButterfly, are, now, Canvas type by the JNI native method. The + * implementation of the JNI native mothod would retrieves the + * SkCanvas object, and casts it to mbe_t type. * * \section android_java_mb Java Likes MadButterfly *