Public Member Functions | |
native void | paint (Graphics g) |
Native entry point for painting. | |
native long | get_window_handle (Graphics g) |
Native entry point which gets the underlying native window handle associated with the awt canvas. | |
Static Package Functions | |
[static initializer] |
HCanvas manages the connection between HOOPS/3dGS driver instance and a java.awt canvas, and is meant to be used as the base canvas in HOOPS-Java applications that are only using HOOPS/3dGS It contains native entry points for the paint and get_window_handle methods
native void com.techsoft.hoops.HCanvas.paint | ( | Graphics | g | ) |
Native entry point for painting.
It will use only HOOPS/3dGS calls to redraw the scene
g | Provides the graphics context for the painting |
Reimplemented in com.techsoft.hoops.HJCanvas.
native long com.techsoft.hoops.HCanvas.get_window_handle | ( | Graphics | g | ) |
Native entry point which gets the underlying native window handle associated with the awt canvas.
This native window handle is required by HOOPS/3dGS in order to connect to the canvas
g | Provides the graphics context for the painting |