我想为Galaxy Tab做一个应用程序,它允许我绘制图片...类似于MS Paint的东西(不要问我为什么:),所以第一步是:
win = Ti.UI.createWindow({
backgroundColor: 'black',
exitOnClose: true
});
image = Ti.UI.createImageView({
width: 200,
height: 200
});
image.addEventListener('touchmove', function(e){
//And here I need somehow to draw a pixel on image at e.x, e.y coordinates
// How can i do it?
});那么,我应该如何绘制一个像素呢?
发布于 2012-10-04 17:29:04
https://stackoverflow.com/questions/12722684
复制相似问题