This function is collecting I used the Internet to the, not to mention results, performance or something. Only to find it very easy to use. with a very long time, unfortunately do not know who. Really would like to thank the author. This function uses the midp2.0 of getRGB () function, efficiency, well, basically nothing was optimized. In addition, the following can be provided under a midp1.0 the zoom function, which is achieved using a variable picture. Unfortunately, this function is not written by me. reproduced in kobjects. However, relatively poor performance does, after all, so many points to draw Well, with the processing image data is not comparable.

/ * Copyright (c) 2002,2003, Stefan Haustein, Oberhausen, Rhld., Germany * * Permission is hereby granted, free of charge, to any person obtaining a copy * Of this software and associated documentation files (the "Software"), to deal * In the Software without restriction, including without limitation the rights * To use, copy, modify, merge, publish, distribute, sublicense, and / or * Sell copies of the Software, and to permit persons to whom the Software is * Furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * All copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS * IN THE SOFTWARE. * /

package org.kobjects.lcdui;

import javax.microedition.lcdui .*;

/ ** This class provides a single static method that allows to scale an image * /

To use them all at a glance, provide the original image object and the target width with Gaodu, it generates a new image, the image effect, and feel are similar, I think the first method better. In the J2ME platform, there is no need to seek the most extreme effects, just enough. Once again, thank the authors of these two functions.

If you are new to programming or are only contacted as flex development, perhaps you would BitmapData do not know, maybe you will have it dismissed. But as a senior as the developer, no matter the game or web application development. BitmapData is yo

Do curriculum design, write a sorting algorithm package, can be used to analyze several common sorting algorithms exchange, comparison and the number of mobile and so on. At the same time the way the data generated random, positive sequence, and reve

Test is divided into three areas: 1. Instantiated efficiency; 2. The method call efficiency; 3. Members of the GET variable called efficiency; 4. Member variable called SET Test environment: Windows 7 Sun Java 1.6 The first written test preparation c

http://bbs.9ria.com/viewthread.php?tid=70573&extra = A lot of people entangled in the question - what good sorting algorithm. What stable, unstable pile of problems. Idle today, take a look at several algorithms measured, reported results for everyon

As if you have some game development experience, that I believe you should know better, but the scene into sub-visual objects, the mouse will cause the sliding of Hurricane cpu; The main reason is that the traversal fp kept within the visual object.

Previous article about how to construct a simple cube, and set the color of the cube, then this chapter to learn to transform the operation of the cube. An article on the study also highlighted differences between the two Transform objects at, where