222 /* |
222 /* |
223 * Class Image |
223 * Class Image |
224 */ |
224 */ |
225 public static final native int Image_New(int deviceHandle, int width, int height); |
225 public static final native int Image_New(int deviceHandle, int width, int height); |
226 public static final native int Image_NewFromData(int deviceHandle, ImageData data); |
226 public static final native int Image_NewFromData(int deviceHandle, ImageData data); |
|
227 public static final native int Image_NewFromTheme(int deviceHandle, int id); |
227 public static final native void Image_Dispose(int deviceHandle, int handle); |
228 public static final native void Image_Dispose(int deviceHandle, int handle); |
228 public static final native Rectangle Image_GetBounds(int handle); |
229 public static final native Rectangle Image_GetBounds(int handle); |
229 public static final native ImageData Image_GetData(int handle); |
230 public static final native ImageData Image_GetData(int handle); |
230 public static final native void Image_AddRef(int handle); |
231 public static final native void Image_AddRef(int handle); |
231 public static final native void Image_RemoveRef(int handle); |
232 public static final native void Image_RemoveRef(int handle); |
|
233 public static final native int Image_Scale(int deviceHandle, int srcImageHandle, int destWidth, int destHeight, boolean keepAspectRatio); |
232 |
234 |
233 /* |
235 /* |
234 * Class Link |
236 * Class Link |
235 */ |
237 */ |
236 public static final native int Link_New(Link peer, int parentComposite, int style); |
238 public static final native int Link_New(Link peer, int parentComposite, int style); |