Uses of Class
org.eclipse.swt.graphics.ImageData
Packages that use ImageData
Package
Description
SWT graphics classes.
SWT internal classes
SWT internal image loading/saving support classes.
SWT Program support class.
SWT widget public API classes.
-
Uses of ImageData in org.eclipse.swt.graphics
Fields in org.eclipse.swt.graphics declared as ImageDataModifier and TypeFieldDescriptionImageLoader.datathe array of ImageData objects in this ImageLoader.ImageLoaderEvent.imageDataif theendOfImageflag is false, then this is a partially complete copy of the currentImageData, otherwise this is a completely loadedImageDataMethods in org.eclipse.swt.graphics that return ImageDataModifier and TypeMethodDescription(package private) ImageDataImageData.colorMaskImage(int pixel) (package private) static ImageDataImageData.convertMask(ImageData mask) (package private) static ImageDataImageData.createGradientBand(int width, int height, boolean vertical, RGB fromRGB, RGB toRGB, int redBits, int greenBits, int blueBits) Creates an ImageData containing one band's worth of a gradient filled block.private ImageDataImage.drawWithImageGcDrawer(int width, int height, int zoom) Image.getImageData()Returns anImageDatabased on the receiver.Image.getImageData(int zoom) Returns anImageDatafor the given zoom level based on the receiver.default ImageDataImageDataAtSizeProvider.getImageData(int zoom) ImageDataAtSizeProvider.getImageData(int width, int height) Returns theImageDatafor the given width and height.ImageDataProvider.getImageData(int zoom) Returns the image data for the given zoom level.Image.getImageDataAtCurrentZoom()Deprecated, for removal: This API element is subject to removal in a future version.This API doesn't serve the purpose in an environment having multiple monitors with different DPIs, hence deprecated.ImageData.getTransparencyMask()Returns anImageDatawhich specifies the transparency mask information for the receiver.(package private) ImageDataImageData.getTransparencyMaskFromAlphaData()static ImageDataImageData.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.static ImageDataImageDataLoader.load(InputStream stream) static ImageDataImageLoader.load(InputStream stream) Loads an array ofImageDataobjects from the specified input stream.Loads an array ofImageDataobjects from the file with the specified name.static ImageDataImageDataLoader.loadBySize(InputStream stream, int width, int height) static ImageDataImageDataLoader.loadBySize(String filename, int width, int height) (package private) ImageDataImageLoader.loadBySize(InputStream stream, int width, int height) (package private) ImageDataImageLoader.loadBySize(String filename, int width, int height) ImageData.scaledTo(int width, int height) Returns a copy of the receiver which has been stretched or shrunk to the specified size.Methods in org.eclipse.swt.graphics that return types with arguments of type ImageDataModifier and TypeMethodDescriptionstatic DPIUtil.ElementAtZoom<ImageData> ImageDataLoader.loadByZoom(InputStream stream, int fileZoom, int targetZoom) static DPIUtil.ElementAtZoom<ImageData> ImageDataLoader.loadByZoom(String filename, int fileZoom, int targetZoom) (package private) List<DPIUtil.ElementAtZoom<ImageData>> ImageLoader.loadByZoom(InputStream stream, int fileZoom, int targetZoom) (package private) List<DPIUtil.ElementAtZoom<ImageData>> ImageLoader.loadByZoom(String filename, int fileZoom, int targetZoom) Image.CachedImageAtSize.loadImageDataAtExactSize(int targetWidth, int targetHeight) Methods in org.eclipse.swt.graphics with parameters of type ImageDataModifier and TypeMethodDescription(package private) static ImageDataImageData.convertMask(ImageData mask) static voidImage.drawAtSize(GC gc, ImageData imageData, int width, int height) IMPORTANT: This method is not part of the public API for Image.(package private) voidprivate voiddefault voidImageGcDrawer.postProcess(ImageData imageData) Executes post processing on ImageData.private voidCursor.setupCursorFromImageData(ImageData source, int hotspotX, int hotspotY) Constructors in org.eclipse.swt.graphics with parameters of type ImageDataModifierConstructorDescriptionConstructs 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").Deprecated.UseCursor(Device, ImageDataProvider, int, int)instead.Constructs an instance of this class from the givenImageData.privateConstructs an instance of this class, whose type isSWT.ICON, from the two givenImageDataobjects.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
Methods in org.eclipse.swt.internal that return ImageDataModifier and TypeMethodDescriptionstatic ImageDataDPIUtil.autoScaleImageData(Device device, ImageData imageData, float scaleFactor) static ImageDataDPIUtil.autoScaleImageData(Device device, ImageData imageData, int imageDataZoomFactor) Auto-scale ImageData to device zoom that are at given zoom factor.static ImageDataDPIUtil.autoScaleImageData(Device device, ImageData imageData, int targetWidth, int targetHeight) static ImageDataNativeImageLoader.load(InputStream streamAtZoom, ImageLoader imageLoader, int width, int height) private static ImageDataNativeImageLoader.pixbufToImageData(long pixbuf) Convert GdkPixbuf pointer to Java object ImageDatastatic ImageDataGtkDPIUtil.pointToPixel(Device device, ImageData imageData) Auto-scale up ImageData to device zoom that is at 100%.private static ImageDataDPIUtil.scaleImage(Device device, ImageData imageData, DPIUtil.ImageDrawFunction drawFunction, int scaledWidth, int scaledHeight) static ImageDataDPIUtil.scaleImageData(Device device, ImageData imageData, int targetZoom, int currentZoom) Auto-scale image with ImageDatastatic ImageDataDPIUtil.scaleImageData(Device device, DPIUtil.ElementAtZoom<ImageData> elementAtZoom, int targetZoom) Methods in org.eclipse.swt.internal that return types with arguments of type ImageDataModifier and TypeMethodDescriptionstatic List<DPIUtil.ElementAtZoom<ImageData>> NativeImageLoader.load(DPIUtil.ElementAtZoom<InputStream> streamAtZoom, ImageLoader imageLoader, int targetZoom) static 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.Methods in org.eclipse.swt.internal with parameters of type ImageDataModifier and TypeMethodDescriptionstatic ImageDataDPIUtil.autoScaleImageData(Device device, ImageData imageData, float scaleFactor) static ImageDataDPIUtil.autoScaleImageData(Device device, ImageData imageData, int imageDataZoomFactor) Auto-scale ImageData to device zoom that are at given zoom factor.static ImageDataDPIUtil.autoScaleImageData(Device device, ImageData imageData, int targetWidth, int targetHeight) voidstatic ImageDataGtkDPIUtil.pointToPixel(Device device, ImageData imageData) Auto-scale up ImageData to device zoom that is at 100%.voidTransparencyColorImageGcDrawer.postProcess(ImageData imageData) private static ImageDataDPIUtil.scaleImage(Device device, ImageData imageData, DPIUtil.ImageDrawFunction drawFunction, int scaledWidth, int scaledHeight) static ImageDataDPIUtil.scaleImageData(Device device, ImageData imageData, int targetZoom, int currentZoom) Auto-scale image with ImageDataMethod parameters in org.eclipse.swt.internal with type arguments of type ImageDataModifier and TypeMethodDescriptionstatic ImageDataDPIUtil.scaleImageData(Device device, DPIUtil.ElementAtZoom<ImageData> elementAtZoom, int targetZoom) -
Uses of ImageData in org.eclipse.swt.internal.image
Fields in org.eclipse.swt.internal.image declared as ImageDataModifier and TypeFieldDescription(package private) ImageDataPngEncoder.data(package private) ImageDataLZWCodec.image(package private) ImageDataTIFFDirectory.image(package private) ImageDataPNGFileFormat.imageDataMethods in org.eclipse.swt.internal.image that return ImageDataModifier and TypeMethodDescription(package private) ImageDataJPEGFileFormat.createImageData()static ImageDataFileFormat.load(InputStream is, ImageLoader loader, int width, int height) (package private) abstract ImageData[]FileFormat.StaticImageFileFormat.loadFromByteStream()(package private) ImageData[]GIFFileFormat.loadFromByteStream()Load the GIF image(s) stored in the input stream.(package private) static ImageData[]JPEGDecoder.loadFromByteStream(InputStream inputStream, ImageLoader loader) (package private) ImageData[]JPEGFileFormat.loadFromByteStream()(package private) ImageData[]OS2BMPFileFormat.loadFromByteStream()(package private) ImageData[]PNGFileFormat.loadFromByteStream()Load the PNG image from the byte stream.(package private) ImageData[]TIFFFileFormat.loadFromByteStream()(package private) ImageData[]WinBMPFileFormat.loadFromByteStream()(package private) ImageData[]WinICOFileFormat.loadFromByteStream()(package private) abstract ImageDataFileFormat.loadFromByteStreamBySize(int width, int height) (package private) ImageDataFileFormat.StaticImageFileFormat.loadFromByteStreamBySize(int width, int height) (package private) ImageDataSVGFileFormat.loadFromByteStreamBySize(int width, int height) FileFormat.loadFromStreamBySize(LEDataInputStream stream, int width, int height) (package private) ImageDataWinICOFileFormat.loadIcon(int[] iconHeader) Load one icon from the byte stream.SVGRasterizer.rasterizeSVG(InputStream stream, int zoom) Rasterizes an SVG image from the providedInputStreamusing the specified zoom.SVGRasterizer.rasterizeSVG(InputStream stream, int width, int height) Rasterizes an SVG image from the providedInputStreaminto a raster image of the specified width and height.TIFFDirectory.read(int[] nextIFDOffset) (package private) ImageDataGIFFileFormat.readImageBlock(PaletteData defaultPalette) Return a DeviceIndependentImage representing the image block at the current position in the input stream.Methods in org.eclipse.swt.internal.image that return types with arguments of type ImageDataModifier and TypeMethodDescriptionstatic List<DPIUtil.ElementAtZoom<ImageData>> FileFormat.load(DPIUtil.ElementAtZoom<InputStream> is, ImageLoader loader, int targetZoom) Read the specified input stream using the specified loader, and return the device independent image array represented by the stream.(package private) abstract List<DPIUtil.ElementAtZoom<ImageData>> FileFormat.loadFromByteStream(int fileZoom, int targetZoom) Format that do not implementFileFormat.StaticImageFileFormatMUST returnImageDatawith the specifiedtargetZoom.(package private) List<DPIUtil.ElementAtZoom<ImageData>> FileFormat.StaticImageFileFormat.loadFromByteStream(int fileZoom, int targetZoom) (package private) List<DPIUtil.ElementAtZoom<ImageData>> SVGFileFormat.loadFromByteStream(int fileZoom, int targetZoom) FileFormat.loadFromStream(LEDataInputStream stream, int fileZoom, int targetZoom) Read the specified input stream, and return the device independent image array represented by the stream.Methods in org.eclipse.swt.internal.image with parameters of type ImageDataModifier and TypeMethodDescription(package private) void(package private) voidJPEGFileFormat.convert4BitRGBToYCbCr(ImageData image) (package private) voidJPEGFileFormat.convert8BitRGBToYCbCr(ImageData image) (package private) voidJPEGFileFormat.convertImageToYCbCr(ImageData image) (package private) voidJPEGFileFormat.convertMultiRGBToYCbCr(ImageData image) (package private) voidWinBMPFileFormat.convertPixelsToBGR(ImageData image, byte[] dest) voidLZWCodec.decode(LEDataInputStream inputStream, ImageLoader loader, ImageData image, boolean interlaced, int depth) Decode the LZW-encoded bytes in the given byte stream into the given DeviceIndependentImage.(package private) voidTIFFDirectory.decodePixels(ImageData image) voidLZWCodec.encode(LEDataOutputStream byteStream, ImageData image) Encode the bytes into the given byte stream from the given DeviceIndependentImage.(package private) intAnswer the size in bytes of the file representation of the given icon(package private) booleanWinICOFileFormat.isValidIcon(ImageData i) (package private) voidPNGFileFormat.setImageDataValues(byte[] data, ImageData imageData) PNG supports some color types and bit depths that are unsupported by SWT.(package private) voidPNGFileFormat.setPixelData(byte[] data, ImageData imageData) SWT does not support greyscale as a color type.(package private) intOS2BMPFileFormat.unloadData(ImageData image, OutputStream out) Unload the given image's data into the given byte stream.(package private) intWinBMPFileFormat.unloadData(ImageData image, byte[] data, OutputStream out, int comp) Unload the given image's data into the given byte stream using the given compression strategy.(package private) intWinBMPFileFormat.unloadDataNoCompression(ImageData image, byte[] data, OutputStream out) Prepare the given image's data for unloading into a byte stream using no compression strategy.(package private) voidWinICOFileFormat.unloadIcon(ImageData icon) Unload a single icon(package private) voidWinICOFileFormat.unloadIconHeader(ImageData i) Unload the icon header for the given icon, calculating the offset.(package private) voidWinICOFileFormat.unloadMaskData(ImageData icon) Unload the mask data for an icon.(package private) voidWinICOFileFormat.unloadShapeData(ImageData icon) Unload the shape data for an icon.(package private) voidGIFFileFormat.writeGraphicsControlBlock(ImageData image) Write out a GraphicsControlBlock to describe the specified device independent image.Constructors in org.eclipse.swt.internal.image with parameters of type ImageData -
Uses of ImageData in org.eclipse.swt.program
Methods in org.eclipse.swt.program that return ImageDataModifier 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. -
Uses of ImageData in org.eclipse.swt.widgets
Methods in org.eclipse.swt.widgets with parameters of type ImageData