crystalspace.jbind.impl.video.graph2d
Class csOffscreenCanvasCallback
java.lang.Object
crystalspace.jbind.impl.csNativeObject
crystalspace.jbind.impl.csutil.scf.csBase
crystalspace.jbind.impl.video.graph2d.csOffscreenCanvasCallback
- All Implemented Interfaces:
- iBase, iJPointer, iOffscreenCanvasCallback, iPointer
- public class csOffscreenCanvasCallback
- extends csBase
- implements iOffscreenCanvasCallback
- Author:
- Quentin Anciaux
| Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
csOffscreenCanvasCallback
public csOffscreenCanvasCallback(iPointer nPointer)
- Parameters:
nPointer -
getVersion
public int getVersion()
- Description copied from interface:
iBase
- Return the version of the interface
- Specified by:
getVersion in interface iBase- Specified by:
getVersion in class csBase
- See Also:
iBase.getVersion()
getName
public java.lang.String getName()
- Description copied from interface:
iBase
- Return the name of the interface
- Specified by:
getName in interface iBase- Specified by:
getName in class csBase
- See Also:
iBase.getName()
isNativePointerValidSafe
protected boolean isNativePointerValidSafe(long pointer)
- Specified by:
isNativePointerValidSafe in class csNativeObject
- See Also:
csNativeObject.isNativePointerValidSafe(long)
finishDraw
public void finishDraw(iGraphics2D canvas)
- Description copied from interface:
iOffscreenCanvasCallback
- FinishDraw has been called.
- Specified by:
finishDraw in interface iOffscreenCanvasCallback
- Parameters:
canvas - - See Also:
iOffscreenCanvasCallback.finishDraw(crystalspace.jbind.interfaces.ivideo.graph2d.iGraphics2D)
setRGB
public void setRGB(iGraphics2D canvas,
int idx,
int r,
int g,
int b)
- Description copied from interface:
iOffscreenCanvasCallback
- Palette entry has been modified.
- Specified by:
setRGB in interface iOffscreenCanvasCallback
- Parameters:
canvas - idx - r - g - b - - See Also:
iOffscreenCanvasCallback.setRGB(crystalspace.jbind.interfaces.ivideo.graph2d.iGraphics2D, int, int, int, int)