Module omix.api

Interface PaintDeviceInterface

All Superinterfaces:
QPaintDevice, QtObjectInterface
All Known Subinterfaces:
MoviePaintDeviceInterface

public interface PaintDeviceInterface
extends QPaintDevice
This interface must be implemented in order to realize an image export feature for Omix. The interface is derived from QPaintDeviceInterface. An implementing class must be derived from QPaintDevice or other QPaintDeviceInterface deriving Qt classes. Examples:
  • public class MyPaintDevice extends QPaintDevice implements PaintDeviceInterface
  • public class MyPrinter extends QPrinter implements PaintDeviceInterface
  • public class MyPixmap extends QPixmap implements PaintDeviceInterface
  • public class MyWidget extends QWidget implements PaintDeviceInterface
A class directly derived from QPaintDevice must deliver a custom subclass of QPaintEngine in QPaintDevice.paintEngine(). This paint engine must draw content into an image of the specific format. If plugin paint routine shall be able to export movies the MoviePaintDeviceInterface must be derived.
Since:
Omix 1.3.11
Author:
Dr. Peter Droste, Omix Visualization