javauis/eswt_akn/org.eclipse.ercp.swt.s60/src/org/eclipse/swt/internal/symbian/OS.java
branchRCL_3
changeset 83 26b2b12093af
parent 66 2455ef1f5bbc
equal deleted inserted replaced
77:7cee158cb8cd 83:26b2b12093af
   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 int Image_NewFromTheme(int deviceHandle, int id);
       
   228     public static final native int Image_NewFromSvgBuf(int deviceHandle, byte[] svgBuf, int width, int height);
       
   229     public static final native int Image_NewFromSvgFile(int deviceHandle, String svgFile, int width, int height);
   228     public static final native void Image_Dispose(int deviceHandle, int handle);
   230     public static final native void Image_Dispose(int deviceHandle, int handle);
   229     public static final native Rectangle Image_GetBounds(int handle);
   231     public static final native Rectangle Image_GetBounds(int handle);
   230     public static final native ImageData Image_GetData(int handle);
   232     public static final native ImageData Image_GetData(int handle);
   231     public static final native void Image_AddRef(int handle);
   233     public static final native void Image_AddRef(int handle);
   232     public static final native void Image_RemoveRef(int handle);
   234     public static final native void Image_RemoveRef(int handle);
   477 
   479 
   478     /*
   480     /*
   479      * Class ImageDecoder
   481      * Class ImageDecoder
   480      */
   482      */
   481     public static final native int ImageDataLoader_New();
   483     public static final native int ImageDataLoader_New();
   482     public static final native ImageData[] ImageDataLoader_DecodeImage(int handle,String fileName);
   484     public static final native ImageData[] ImageDataLoader_DecodeImage(int handle, String fileName);
   483     public static final native ImageData[] ImageDataLoader_DecodeWholeImageFromBuffer(int handle,byte[] buffer);
   485     public static final native ImageData[] ImageDataLoader_DecodeWholeImageFromBuffer(int handle, byte[] buffer);
   484     public static final native void ImageDataLoader_EncodeImage(int handle,ImageData imageData, int format, String fileName);
   486     public static final native void ImageDataLoader_EncodeImage(int handle, ImageData imageData, int format, String fileName);
   485     public static final native void ImageDataLoader_EncodeImageToStream(int handle,ImageData imageData,int  format, OutputStream stream);
   487     public static final native void ImageDataLoader_EncodeImageToStream(int handle, ImageData imageData, int format, OutputStream stream);
   486     public static final native void ImageDataLoader_Dispose(int handle);
   488     public static final native void ImageDataLoader_Dispose(int handle);
   487     public static final native void ImageDataLoader_StartImageDecoding(int handle, byte[] buffer);
       
   488     public static final native void ImageDataLoader_AppendData(int handle, byte[] buffer);
       
   489     public static final native ImageData[] ImageDataLoader_GetImageData(int handle);
       
   490     public static final native int ImageDataLoader_GetLogicalScreenHeight(int handle);
   489     public static final native int ImageDataLoader_GetLogicalScreenHeight(int handle);
   491     public static final native int ImageDataLoader_GetLogicalScreenWidth(int handle);
   490     public static final native int ImageDataLoader_GetLogicalScreenWidth(int handle);
   492 
   491 
   493     /*
   492     /*
   494      * General
   493      * General