Monday, October 18, 2010

J2ME in the divide and rule



Switching two pictures, if a new picture from the inside out, a rectangular display, you can use to set a setClip drawn rectangle.

However, now he came back, from the outside, a rectangular box shows, but no such method which J2ME, how do?

With, let's give him a divide and rule, a setClip not, we can be in multiple Well. On the present situation, from the four directions, in four setClip.

g.setClip (0, 0, currentGridWidth, screenHeight);

doPaintInterludeEffect (g);

g.setClip (screenWidth - currentGridWidth, 0, currentGridWidth,

screenHeight);

doPaintInterludeEffect (g);

g.setClip (scnWidth_Half - currentGridWidth, 0,

currentGridWidth, screenHeight);

doPaintInterludeEffect (g);

g.setClip (scnWidth_Half + currentGridWidth, 0,

currentGridWidth, screenHeight);

doPaintInterludeEffect (g);







Recommended links:



DAT to MPEG



Town and only "limited earnings"



Longhorn Beta1 only compatible with two kinds of graphics chips



blackberry bold 9000 or iphone



Picked File Sharing Or Peer to Peer



Lu Morrison: leading subordinates to MAKE decisions



Spring scene PHOTOS using Photoshop will be processed into autumn scenery



Yuan Meng: UBUNTU 9.10 new version of the debut



Blog you need To fundamentalism



File Compression Specialist



VOB To MP4



Quit After the resignation as you have to leave like a gentleman



MKV to MOV



Farewell babyface, iSee 1 minute to CREATE face-lift effect



No comments:

Post a Comment