| Modifier and Type | Field and Description |
|---|---|
static boolean |
IS_GTK |
| Constructor and Description |
|---|
CwtSwtImage(org.eclipse.swt.graphics.ImageData imageData) |
| Modifier and Type | Method and Description |
|---|---|
protected org.eclipse.swt.graphics.Image |
createSwtImage(org.eclipse.swt.graphics.Device device) |
void |
drawFromGraphicsContext(IGraphicsContext graphicsContext,
float x,
float y) |
int |
getHeight() |
org.eclipse.swt.graphics.Image |
getImage(org.eclipse.swt.graphics.Device device) |
org.eclipse.swt.graphics.ImageData |
getImageData() |
int |
getWidth() |
protected void |
setHeight(int paramHeight) |
protected void |
setWidth(int paramWidth) |
protected org.eclipse.swt.graphics.Image createSwtImage(org.eclipse.swt.graphics.Device device)
public void drawFromGraphicsContext(IGraphicsContext graphicsContext, float x, float y)
drawFromGraphicsContext in interface IImagepublic org.eclipse.swt.graphics.Image getImage(org.eclipse.swt.graphics.Device device)
public org.eclipse.swt.graphics.ImageData getImageData()
getImageData in interface ISwtImageprotected void setHeight(int paramHeight)
protected void setWidth(int paramWidth)