How to draw in J2ME with float or double point?
I draw in J2ME with Canvas, but graphics 开发者_运维技巧support only integer. So how can I draw with float or double point ?
convert your points to relative integer. or, if your double points is 0<= points<1,
then, get the screen size say, width and height, then x = xx * width
and y = yy * height
精彩评论