BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/index.php)
-   Developer Forum (http://www.blackberryforums.com/forumdisplay.php?f=15)
-   -   graphics arc outer coordinates (http://www.blackberryforums.com/showthread.php?t=230993)

vladt 07-18-2010 05:11 PM

graphics arc outer coordinates
 
Hello. Is there a way to get outer coordinates of an arch where it intersects the bounding circle/ellipsis ? In a pie chart, I want to draw labels outside of each slice. To build a slice, I use graphics.fillArc, which takes the coordinates and dimentions of the rectangle, and starting and ending angles. So I would like to get the coordinates of where the lines of that arch touch the circle, so I can determine where to put the label.

Is that possible ? If there a different way to do this ?
Thanks.


All times are GMT -5. The time now is 06:46 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.