- All Superinterfaces:
PaintDeviceInterface
,QPaintDevice
,QtObjectInterface
public interface MoviePaintDeviceInterface extends PaintDeviceInterface
This interface must be implemented in order to realize
a movie export feature for Omix.
An implementing class must be derived from
QPaintDevice
. Examples:
- public class MyPaintDevice extends QPaintDevice implements PaintDeviceInterface
- public class MyPrinter extends QPrinter implements PaintDeviceInterface
- public class MyPixmap extends QPixmap implements PaintDeviceInterface
QPaintEngine
in QPaintDevice.paintEngine()
.
This paint engine must draw content into a movie file of the specific format.- Since:
- Omix 1.3.11
- Author:
- Dr. Peter Droste, Omix Visualization
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.qt.gui.QPaintDevice
QPaintDevice.Impl, QPaintDevice.MemberAccess, QPaintDevice.PaintDeviceMetric
-
Method Summary
Modifier and Type Method Description void
closeFrame()
Indicates the end of the currently being painted frame of the movie.default void
setFramesPerSecond(int framesPerSecond)
set frame per second.default void
setInfiniteLoop(boolean infiniteLoop)
set infinite loopMethods inherited from interface omix.plugin.paint.PaintDeviceInterface
save, setCompression, setGamma, setQuality, setText
Methods inherited from interface io.qt.gui.QPaintDevice
colorCount, depth, devicePixelRatio, devicePixelRatioF, height, heightMM, logicalDpiX, logicalDpiY, paintEngine, paintingActive, physicalDpiX, physicalDpiY, width, widthMM
-
Method Details
-
closeFrame
Indicates the end of the currently being painted frame of the movie.- Throws:
PaintException
-
setFramesPerSecond
default void setFramesPerSecond(int framesPerSecond)set frame per second.- Parameters:
framesPerSecond
-- Since:
- Omix 1.9.15
-
setInfiniteLoop
default void setInfiniteLoop(boolean infiniteLoop)set infinite loop- Parameters:
infiniteLoop
-- Since:
- Omix 1.9.15
-