Thursday, September 16, 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:



Review File Compression



DDSN analysis, PLM value for the DDSN



Screenshot Screenshot Effects Of Extraction



Compilation Of Various Source - Col



New Gallery And Cataloging Tools



Borrow money to make money doing business



Convert Quicktime To Windows Media



Baidu Cheating, Universally Condemned?



Call of operations of foreign carriers



Matroska Video File



Baidu Xing, Tencent DEATH?



To explain the reasons for the resignation of Jerry Yang blog published



IS Audit AND Supervision comparison



CONVERT avi to mp4 online



3g2 to MPG