Package de.intarsys.cwt.swt.image
Class CwtSwtImage
java.lang.Object
de.intarsys.cwt.swt.image.CwtSwtImage
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.eclipse.swt.graphics.Image
createSwtImage
(org.eclipse.swt.graphics.Device device) void
drawFromGraphicsContext
(IGraphicsContext graphicsContext, float x, float y) int
org.eclipse.swt.graphics.Image
getImage
(org.eclipse.swt.graphics.Device device) org.eclipse.swt.graphics.ImageData
int
getWidth()
protected void
setHeight
(int paramHeight) protected void
setWidth
(int paramWidth)
-
Field Details
-
IS_GTK
public static final boolean IS_GTK
-
-
Constructor Details
-
CwtSwtImage
public CwtSwtImage(org.eclipse.swt.graphics.ImageData imageData)
-
-
Method Details
-
createSwtImage
protected org.eclipse.swt.graphics.Image createSwtImage(org.eclipse.swt.graphics.Device device) -
drawFromGraphicsContext
- Specified by:
drawFromGraphicsContext
in interfaceIImage
-
getHeight
public int getHeight() -
getImage
public org.eclipse.swt.graphics.Image getImage(org.eclipse.swt.graphics.Device device) -
getImageData
public org.eclipse.swt.graphics.ImageData getImageData()- Specified by:
getImageData
in interfaceISwtImage
-
getWidth
public int getWidth() -
setHeight
protected void setHeight(int paramHeight) -
setWidth
protected void setWidth(int paramWidth)
-