public class SWTGraphics extends LWJGLGraphics
| Modifier and Type | Class and Description |
|---|---|
static class |
SWTGraphics.Hack |
defaultRenderTarget, gl, viewSize| Constructor and Description |
|---|
SWTGraphics(SWTPlatform splat,
org.eclipse.swt.widgets.Composite comp) |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.swt.opengl.GLCanvas |
canvas() |
IDimension |
screenSize() |
void |
setSize(int width,
int height,
boolean fullscreen) |
layoutText, layoutText, registerFontcreateCanvas, createCanvas, createTexture, createTexture, queueForDispose, scalepublic SWTGraphics(SWTPlatform splat, org.eclipse.swt.widgets.Composite comp)
public org.eclipse.swt.opengl.GLCanvas canvas()
public IDimension screenSize()
screenSize in class Graphicspublic void setSize(int width,
int height,
boolean fullscreen)
setSize in class JavaGraphicsCopyright © 2017. All Rights Reserved.