Uses of Class
org.eclipse.swt.graphics.ImageData
Package
Description
Provides support for managing resources such as SWT
fonts and images.
SWT graphics classes.
SWT internal classes
SWT Program support class.
-
Uses of ImageData in org.eclipse.e4.ui.workbench.renderers.swt
-
Uses of ImageData in org.eclipse.jface.resource
Modifier and TypeFieldDescriptionprotected static final ImageData
ImageDescriptor.DEFAULT_IMAGE_DATA
A small red square used to warn that an image cannot be created.Modifier and TypeMethodDescriptionCompositeImageDescriptor.getImageData()
Deprecated.CompositeImageDescriptor.getImageData
(int zoom) ImageDescriptor.getImageData()
Deprecated.UseImageDescriptor.getImageData(int)
instead.ImageDescriptor.getImageData
(int zoom) Creates and returns a new SWTImageData
object for this image descriptor.Modifier and TypeMethodDescriptionstatic ImageDescriptor
ImageDescriptor.createFromImageData
(ImageData data) Deprecated.protected final void
Deprecated.protected void
CompositeImageDescriptor.setImageData
(ImageData imageData) Deprecated.This method doesn't make sense and should never have been made API.Modifier and TypeMethodDescriptionint
CompositeImageDescriptor.CachedImageDataProvider.computeInPoints
(ToIntFunction<ImageData> function) Returns a computed value in SWT logical points. -
Uses of ImageData in org.eclipse.swt.graphics
Modifier and TypeFieldDescriptionImageLoader.data
the array of ImageData objects in this ImageLoader.ImageLoaderEvent.imageData
if theendOfImage
flag is false, then this is a partially complete copy of the currentImageData
, otherwise this is a completely loadedImageData
Modifier and TypeMethodDescriptionImage.getImageData()
Returns anImageData
based on the receiver.Image.getImageData
(int zoom) Returns anImageData
for the given zoom level based on the receiver.ImageDataProvider.getImageData
(int zoom) Returns the image data for the given zoom level.Image.getImageDataAtCurrentZoom()
Deprecated.This API doesn't serve the purpose in an environment having multiple monitors with different DPIs, hence deprecated.ImageData.getTransparencyMask()
Returns anImageData
which specifies the transparency mask information for the receiver.static ImageData
ImageData.internal_new
(int width, int height, int depth, PaletteData palette, int scanlinePad, byte[] data, int maskPad, byte[] maskData, byte[] alphaData, int alpha, int transparentPixel, int type, int x, int y, int disposalMethod, int delayTime) Invokes internal SWT functionality to create a new instance of this class.ImageLoader.load
(InputStream stream) Loads an array ofImageData
objects from the specified input stream.Loads an array ofImageData
objects from the file with the specified name.ImageData.scaledTo
(int width, int height) Returns a copy of the receiver which has been stretched or shrunk to the specified size.ModifierConstructorDescriptionConstructs a new cursor given a device, image data describing the desired cursor appearance, and the x and y coordinates of the hotspot (that is, the point within the area covered by the cursor which is considered to be where the on-screen pointer is "pointing").Constructs a new cursor given a device, image and mask data describing the desired cursor appearance, and the x and y coordinates of the hotspot (that is, the point within the area covered by the cursor which is considered to be where the on-screen pointer is "pointing").Constructs an instance of this class from the givenImageData
.Constructs an instance of this class, whose type isSWT.ICON
, from the two givenImageData
objects.ImageLoaderEvent
(ImageLoader source, ImageData imageData, int incrementCount, boolean endOfImage) Constructs a new instance of this class given the event source and the values to store in its fields. -
Uses of ImageData in org.eclipse.swt.internal
Modifier and TypeMethodDescriptionstatic ImageData
DPIUtil.autoScaleDown
(Device device, ImageData imageData) Auto-scale down ImageDatastatic ImageData
DPIUtil.autoScaleImageData
(Device device, ImageData imageData, int imageDataZoomFactor) Auto-scale ImageData to device zoom that are at given zoom factor.static ImageData
DPIUtil.autoScaleImageData
(Device device, ImageData imageData, int targetZoom, int currentZoom) Auto-scale image with ImageDatastatic ImageData
DPIUtil.autoScaleImageData
(Device device, DPIUtil.ElementAtZoom<ImageData> elementAtZoom, int targetZoom) static ImageData
DPIUtil.autoScaleUp
(Device device, ImageData imageData) Auto-scale up ImageData to device zoom that is at 100%.static ImageData
DPIUtil.autoScaleUp
(Device device, DPIUtil.ElementAtZoom<ImageData> elementAtZoom) DPIUtil.AutoScaleImageDataProvider.getImageData
(int zoom) Modifier and TypeMethodDescriptionstatic DPIUtil.ElementAtZoom<ImageData>
DPIUtil.validateAndGetImageDataAtZoom
(ImageDataProvider provider, int zoom) Gets ImageData that are appropriate for the specified zoom level together with the zoom level at which the image data are.Modifier and TypeMethodDescriptionstatic ImageData
DPIUtil.autoScaleDown
(Device device, ImageData imageData) Auto-scale down ImageDatastatic ImageData
DPIUtil.autoScaleImageData
(Device device, ImageData imageData, int imageDataZoomFactor) Auto-scale ImageData to device zoom that are at given zoom factor.static ImageData
DPIUtil.autoScaleImageData
(Device device, ImageData imageData, int targetZoom, int currentZoom) Auto-scale image with ImageDatastatic ImageData
DPIUtil.autoScaleUp
(Device device, ImageData imageData) Auto-scale up ImageData to device zoom that is at 100%.Modifier and TypeMethodDescriptionstatic ImageData
DPIUtil.autoScaleImageData
(Device device, DPIUtil.ElementAtZoom<ImageData> elementAtZoom, int targetZoom) static ImageData
DPIUtil.autoScaleUp
(Device device, DPIUtil.ElementAtZoom<ImageData> elementAtZoom) ModifierConstructorDescriptionAutoScaleImageDataProvider
(Device device, ImageData data, int zoom) -
Uses of ImageData in org.eclipse.swt.program
Modifier and TypeMethodDescriptionProgram.getImageData()
Returns the receiver's image data at 100% zoom level.Program.getImageData
(int zoom) Returns the receiver's image data based on the given zoom level.
CompositeImageDescriptor.getImageData(int)
instead.