0
您好,我正在嘗試在屏幕上放置一些位圖並旋轉它們。我能得到這個做將位圖放置在動態壁紙中
canvas.drawBitmap(pic2, rotatePic, null);
rotatePic
工作是
postRotate(5, pic2.getHieght()/2, pic2.getWidth()/2)
這個旋轉的知情同意,並把它放在0, 0
矩陣,從而將它放在我試圖
Bitmap topPic = Bitmap.createBitmap(pic2, 0, 0, pic2.getWidth(),
pic2.getHeight(), rotatePic, false);
餘處與
canvas.drawBitmap(topPic, 200, 100, null);
它把它correctley但不再旋轉correctley它看起來是彈跳和紡紗我試過寄託都
@joe:我知道我的回覆已經很晚了,但如果你能分享你是如何解決這個問題的話,它對所有人都是有用的。:) – c05mic 2011-10-19 04:38:02