Yeap. Thank you for information.

On May 3, 7:06 am, Mark Murphy <mmur...@commonsware.com> wrote:
> freeanderson wrote:
> > Hi.
>
> > Currently android.graphics.path is JNI.
> > It has a good performance. Working well.
> > But I think it need to be added more features to Path.
>
> > It's like this:
>
> > Path p = new Path();
> > p.load(stream);
> > p.save(stream);
>
> > The reason is simple. Imagine you want to load TrueType font and to
> > build it up to Path for drawing.
> > Now, you have to parse a TrueType font file every each time if you
> > can't use path.load().
> > That means, you can't manage glyph cache with Path object.
> > Not only Path, but there would be more (graphical) objects to be
> > needed load()/save().
>
> > Of course, I tried to use ObjectInputStream.
> > But it's too slow and it didn't work correctly.
> > And critically Path data file is too big
> > For example, to save Alphabet 'S' glyph require about 3KByte. It's
> > useless.
>
> > So I suggest Path.load(), save().
> > Please consider these features for next version of Android.
>
> I would strongly encourage you to post these sorts of suggestions 
> tohttp://b.android.com.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> Warescription: Three Android Books, Plus Updates, $35/Year
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to