OSDN Git Service

[update]NyARToolKit
[nyartoolkit-and/nyartoolkit-and.git] / trunk / sample / sandbox / jp / nyatla / nyartoolkit / utils / j2se / NyARRGBRaster_BufferedImage.java
index b1e4a6b..6f61068 100644 (file)
@@ -1,3 +1,27 @@
+/* \r
+ * PROJECT: NyARToolkit(Extension)\r
+ * --------------------------------------------------------------------------------\r
+ * The NyARToolkit is Java edition ARToolKit class library.\r
+ * Copyright (C)2008-2010 Ryo Iizuka\r
+ *\r
+ * This program is free software: you can redistribute it and/or modify\r
+ * it under the terms of the GNU General Public License as published by\r
+ * the Free Software Foundation, either version 3 of the License, or\r
+ * (at your option) any later version.\r
+ * \r
+ * This program is distributed in the hope that it will be useful,\r
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
+ * GNU General Public License for more details.\r
+ *\r
+ * You should have received a copy of the GNU General Public License\r
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.\r
+ * \r
+ * For further information please contact.\r
+ *     http://nyatla.jp/nyatoolkit/\r
+ *     <airmail(at)ebony.plala.or.jp> or <nyatla(at)nyatla.jp>\r
+ * \r
+ */\r
 package jp.nyatla.nyartoolkit.utils.j2se;\r
 \r
 import jp.nyatla.nyartoolkit.NyARException;\r
@@ -22,14 +46,14 @@ public class NyARRGBRaster_BufferedImage extends NyARRgbRaster_BasicClass
        protected boolean _is_attached_buffer;\r
        public NyARRGBRaster_BufferedImage(int i_width, int i_height,boolean i_is_alloc) throws NyARException\r
        {\r
-               super( new NyARIntSize(i_width,i_height),NyARBufferType.OBJECT_Java_BufferedImage);\r
+               super(i_width,i_height,NyARBufferType.OBJECT_Java_BufferedImage);\r
                if(!initInstance(this._size,i_is_alloc)){\r
                        throw new NyARException();\r
                }\r
        }\r
        public NyARRGBRaster_BufferedImage(int i_width, int i_height) throws NyARException\r
        {\r
-               super( new NyARIntSize(i_width,i_height),NyARBufferType.OBJECT_Java_BufferedImage);\r
+               super(i_width,i_height,NyARBufferType.OBJECT_Java_BufferedImage);\r
                if(!initInstance(this._size,true)){\r
                        throw new NyARException();\r
                }\r