How about making the arc the only item in the path, and also trying
different ops: fill vs. stroke?
03.02.2011 19:41, Paul пишет:
Tried, no difference...
On Feb 3, 11:21 am, Kostya Vasilyev<[email protected]> wrote:
Paul,
Perhaps you could try path.arcTo(oval, 0, 180, *true*); ?
03.02.2011 19:03, Paul ?????:
Also, have tested this in both the emulator for Froyo, as well as on
Froyo hardware and the arcs are not being displayed. Looked through
the source for arcTo, which calls a native function in Path.cpp, and
there doesn't appear to be a reason the above input would fail, given
that the Path.cpp can draw the exact same oval using addOval().
Paul
On Feb 3, 10:19 am, Paul<[email protected]> wrote:
I am trying to add an arc to a path, but nthing gets drawn with each
call. I have ensured that the passed RectF oval is dimensioned
properly, and calls to Path.addOval(oval, Path.Direction.CW) work
perfectly, but calls to either of Path.addArc(oval, 0, 180) and
Path.arcTo(oval, 0, 180) fail (nothing gets drawn).
Any suggestions on what I might be doing wrong?
Thanks!
--
Kostya Vasilyev -- WiFi Manager + pretty widget --http://kmansoft.wordpress.com
--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com
--
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