Re: [android-developers] Zoom on canvas.drawLine(), is that possible?

2011-01-09 Thread TreKing
On Sat, Jan 8, 2011 at 7:39 PM, kahken kah...@gmail.com wrote: How do I implement this? By doing a lot of math. And by programming. If you want a better, more detailed answer, you'll have to ask a better, more detailed question.

Re: [android-developers] Zoom on canvas.drawLine(), is that possible?

2011-01-09 Thread brian purgert
Yeah if you explain it better I bet I can answer your question because I'm doing alot of stuff like this right now. On Jan 9, 2011 9:36 PM, TreKing treking...@gmail.com wrote: On Sat, Jan 8, 2011 at 7:39 PM, kahken kah...@gmail.com wrote: How do I implement this? By doing a lot of math. And

Re: [android-developers] Zoom on canvas.drawLine(), is that possible?

2011-01-09 Thread brian purgert
Scale the entire canvas, On Jan 8, 2011 8:39 PM, kahken kah...@gmail.com wrote: Hi guys, I have a view object with series of lines drawn on it by using canvas.drawLine(). However, the lines were too big to be fitted on the screen. So, the lines have to be scaled down and user can zoom in and

[android-developers] Zoom on canvas.drawLine(), is that possible?

2011-01-08 Thread kahken
Hi guys, I have a view object with series of lines drawn on it by using canvas.drawLine(). However, the lines were too big to be fitted on the screen. So, the lines have to be scaled down and user can zoom in and zoom out on the lines. How do I implement this? Thanks in advance. -- You