package jp.nyatla.nyartoolkit.core.raster.rgb;\r
\r
import jp.nyatla.nyartoolkit.NyARException;\r
-import jp.nyatla.nyartoolkit.core.rasterreader.INyARBufferReader;\r
+import jp.nyatla.nyartoolkit.core.raster.*;\r
import jp.nyatla.nyartoolkit.core.rasterreader.INyARRgbPixelReader;\r
-import jp.nyatla.nyartoolkit.core.rasterreader.NyARBufferReader;\r
-import jp.nyatla.nyartoolkit.core.types.NyARIntSize;\r
+import jp.nyatla.nyartoolkit.core.types.*;\r
\r
/*\r
* 真っ黒の矩形を定義する。\r
{\r
NyARException.notImplement(); \r
}\r
+ public void switchBuffer(Object i_ref_buffer) throws NyARException\r
+ {\r
+ NyARException.notImplement(); \r
+ } \r
\r
}\r
\r
private INyARRgbPixelReader _reader;\r
- private INyARBufferReader _buffer_reader;\r
\r
public NyARRgbRaster_Blank(int i_width, int i_height)\r
{\r
- super(new NyARIntSize(i_width,i_height));\r
+ super(new NyARIntSize(i_width,i_height),INyARRaster.BUFFERFORMAT_NULL_ALLZERO);\r
this._reader = new PixelReader();\r
- this._buffer_reader=new NyARBufferReader(null,INyARBufferReader.BUFFERFORMAT_NULL_ALLZERO);\r
return;\r
}\r
- public INyARRgbPixelReader getRgbPixelReader()\r
+ public INyARRgbPixelReader getRgbPixelReader() throws NyARException\r
{\r
return this._reader;\r
}\r
- public INyARBufferReader getBufferReader()\r
+ public Object getBuffer()\r
+ {\r
+ return null;\r
+ }\r
+ public boolean hasBuffer()\r
+ {\r
+ return false;\r
+ }\r
+ public void wrapBuffer(Object i_ref_buf) throws NyARException\r
{\r
- return this._buffer_reader;\r
+ NyARException.notImplement();\r
}\r
}\r