On Mon, Jun 27, 2011 at 12:57 PM, New Developer <security@isscp.com> wrote:
> I'm using the following type of code to do panning and zooming on my own
> extension of an ImageView
> setBackgroundColor(Color.BLACK);
> matrix.postScale(newfactor , newfactor , mid.x , mid.y);
> setImageMatrix(matrix);
>
> Now I want to be able to draw lines on top of this image = = matrix
> currently I'm using
> mPaint.setColor(Color.BLUE);
> canvas.drawLine(pointA.x, pointA.y, pointB.x, pointB.y, mPaint);
> However this won't show up,
> so my question is How can I draw a line to the matrix variable used for
> zooming and panning ?
> Also I'm looking for tutorials on LayerDrawable if you know of any
> Thanks in advance
>
>
>
>
> --
> 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+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
--
~ Jeremiah:9:23-24
Android 2D MMORPG: http://solrpg.com/, http://www.youtube.com/user/revoltingx
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment