> Looks like your code only need 1 path anyway.

Here's what I'm trying to accomplish:

I've created a SVG-File with some text converted to paths which I
parse in Android.
I animate the drawing of the paths so to get the impression of
handwriting.
In order to do that, I use the (growing) first and the last part of
the respective path using

pathMeasure.getSegment();

This works well except that each segment is closed, meaning an
unwanted
additional lineTo is added to the end of the segment.

My guess:

A path added to another path with path.addPath(otherPath) will always
be closed automatically,
meaning, addPath adds a lineTo() to the end of the segment.
This is bad, if you try to assemble a path from pieces of other parts.

Is there a way to avoid this behaviour?


Thanks, R.




Am 12.07.2011 09:26, schrieb gjs:
> Hi,
>
> Looks like your code only need 1 path anyway.
>
> Regards

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to