Created
August 19, 2014 06:29
-
-
Save mataanin/92b7c53709cfa85c8463 to your computer and use it in GitHub Desktop.
Drawing a scrolled bitmap.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override protected void dispatchDraw(Canvas canvas) { | |
super.dispatchDraw(canvas); | |
if (mDragMode && mBitmap != null) { | |
//Log.v("DG", "dispatchDraw matrix " + mMatrix); | |
canvas.drawBitmap(mBitmap, mMatrix, new Paint()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment