|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IImageViewport
| Method Summary | |
|---|---|
ViewportConfiguration |
getLastViewPort()
|
Dimension |
getMinimumSize()
Return the minimum size for this graphic. |
ViewportMode |
getMode()
|
Dimension |
getPreferedSize()
Return the prefered size for this graphic. |
void |
render(javax.media.opengl.GL gl,
javax.media.opengl.glu.GLU glu)
Renders the picture into the window, according to the viewport settings. |
void |
setViewPort(int width,
int height)
|
void |
setViewPort(int width,
int height,
float left,
float right)
Set the view port (size of the renderer). |
void |
setViewPort(ViewportConfiguration viewport)
|
void |
setViewportMode(ViewportMode mode)
|
| Method Detail |
|---|
void render(javax.media.opengl.GL gl,
javax.media.opengl.glu.GLU glu)
gl - glu - Dimension getMinimumSize()
Dimension getPreferedSize()
void setViewPort(int width,
int height)
ViewportMode getMode()
void setViewportMode(ViewportMode mode)
void setViewPort(int width,
int height,
float left,
float right)
width - the width of the target window.height - the height of the target window.left - the width's ratio where this subscreen starts in the target
window.right - the width's ratio where this subscreen stops in the target
window.
an - IllegalArgumentException if right is not greater than left.void setViewPort(ViewportConfiguration viewport)
ViewportConfiguration getLastViewPort()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||