All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.gui.QPaintEngine Maven / Gradle / Ivy

There is a newer version: 6.8.0
Show newest version
package io.qt.gui;

import io.qt.*;


/**
 * 

Abstract definition of how QPainter draws to a given device on a given platform

*

Java wrapper for Qt class QPaintEngine

*/ public abstract class QPaintEngine extends QtObject { static { QtJambi_LibraryUtilities.initialize(); } @NativeAccess private static final class ConcreteWrapper extends QPaintEngine { @NativeAccess private ConcreteWrapper(QPrivateConstructor p) { super(p); } @Override @QtUninvokable public boolean begin(io.qt.gui.@Nullable QPaintDevice pdev){ return begin_native_QPaintDevice_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pdev)); } @QtUninvokable private native boolean begin_native_QPaintDevice_ptr(long __this__nativeId, long pdev); @Override @QtUninvokable public void drawPixmap(io.qt.core.@NonNull QRectF r, io.qt.gui.@NonNull QPixmap pm, io.qt.core.@NonNull QRectF sr){ drawPixmap_native_cref_QRectF_cref_QPixmap_cref_QRectF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(r), QtJambi_LibraryUtilities.internal.checkedNativeId(pm), QtJambi_LibraryUtilities.internal.checkedNativeId(sr)); } @QtUninvokable private native void drawPixmap_native_cref_QRectF_cref_QPixmap_cref_QRectF(long __this__nativeId, long r, long pm, long sr); @Override @QtUninvokable public boolean end(){ return end_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean end_native(long __this__nativeId); @Override @QtUninvokable public io.qt.gui.QPaintEngine.@NonNull Type type(){ return io.qt.gui.QPaintEngine.Type.resolve(type_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int type_native_constfct(long __this__nativeId); @Override @QtUninvokable public void updateState(io.qt.gui.@StrictNonNull QPaintEngineState state){ java.util.Objects.requireNonNull(state, "Argument 'state': null not expected."); updateState_native_cref_QPaintEngineState(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(state)); } @QtUninvokable private native void updateState_native_cref_QPaintEngineState(long __this__nativeId, long state); } /** *

Java wrapper for Qt enum QPaintEngine::DirtyFlag

* * @see DirtyFlags */ public enum DirtyFlag implements QtFlagEnumerator { /** *

Representing QPaintEngine::DirtyPen

*/ DirtyPen(1), /** *

Representing QPaintEngine::DirtyBrush

*/ DirtyBrush(2), /** *

Representing QPaintEngine::DirtyBrushOrigin

*/ DirtyBrushOrigin(4), /** *

Representing QPaintEngine::DirtyFont

*/ DirtyFont(8), /** *

Representing QPaintEngine::DirtyBackground

*/ DirtyBackground(16), /** *

Representing QPaintEngine::DirtyBackgroundMode

*/ DirtyBackgroundMode(32), /** *

Representing QPaintEngine::DirtyTransform

*/ DirtyTransform(64), /** *

Representing QPaintEngine::DirtyClipRegion

*/ DirtyClipRegion(128), /** *

Representing QPaintEngine::DirtyClipPath

*/ DirtyClipPath(256), /** *

Representing QPaintEngine::DirtyHints

*/ DirtyHints(512), /** *

Representing QPaintEngine::DirtyCompositionMode

*/ DirtyCompositionMode(1024), /** *

Representing QPaintEngine::DirtyClipEnabled

*/ DirtyClipEnabled(2048), /** *

Representing QPaintEngine::DirtyOpacity

*/ DirtyOpacity(4096), /** *

Representing QPaintEngine::AllDirty

*/ AllDirty(65535); static { QtJambi_LibraryUtilities.initialize(); } private DirtyFlag(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Create a QFlags of the enum entry. * @return QFlags */ public @NonNull DirtyFlags asFlags() { return new DirtyFlags(value); } /** * Combines this entry with other enum entry. * @param e enum entry * @return new flag */ public @NonNull DirtyFlags combined(@NonNull DirtyFlag e) { return asFlags().setFlag(e, true); } /** * Excludes other enum entry from a flag of this entry. * @param e enum entry * @return new flag */ public @NonNull DirtyFlags cleared(@NonNull DirtyFlag e) { return asFlags().setFlag(e, false); } /** * Creates a new {@link DirtyFlags} from the entries. * @param values entries * @return new flag */ public static @NonNull DirtyFlags flags(@Nullable DirtyFlag @NonNull... values) { return new DirtyFlags(values); } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull DirtyFlag resolve(int value) { switch (value) { case 1: return DirtyPen; case 2: return DirtyBrush; case 4: return DirtyBrushOrigin; case 8: return DirtyFont; case 16: return DirtyBackground; case 32: return DirtyBackgroundMode; case 64: return DirtyTransform; case 128: return DirtyClipRegion; case 256: return DirtyClipPath; case 512: return DirtyHints; case 1024: return DirtyCompositionMode; case 2048: return DirtyClipEnabled; case 4096: return DirtyOpacity; case 65535: return AllDirty; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** * {@link QFlags} type for enum {@link DirtyFlag} */ public static final class DirtyFlags extends QFlags implements Comparable { private static final long serialVersionUID = 0x5c9a59fc12d6c4e4L; static { QtJambi_LibraryUtilities.initialize(); } /** * Creates a new DirtyFlags where the flags in args are set. * @param args enum entries */ public DirtyFlags(@Nullable DirtyFlag @NonNull... args){ super(args); } /** * Creates a new DirtyFlags with given value. * @param value */ public DirtyFlags(int value) { super(value); } /** * Combines this flags with enum entry. * @param e enum entry * @return new DirtyFlags */ @Override public final @NonNull DirtyFlags combined(@StrictNonNull DirtyFlag e){ return new DirtyFlags(value() | e.value()); } /** * Sets the flag e * @param e enum entry * @return this */ public final @NonNull DirtyFlags setFlag(@Nullable DirtyFlag e){ return setFlag(e, true); } /** * Sets or clears the flag flag * @param e enum entry * @param on set (true) or clear (false) * @return this */ public final @NonNull DirtyFlags setFlag(@Nullable DirtyFlag e, boolean on){ if (on) { setValue(value() | e.value()); }else { setValue(value() & ~e.value()); } return this; } /** * Returns an array of flag objects represented by this DirtyFlags. * @return array of enum entries */ @Override public final @NonNull DirtyFlag @NonNull[] flags(){ return super.flags(DirtyFlag.values()); } /** * {@inheritDoc} */ @Override public final @NonNull DirtyFlags clone(){ return new DirtyFlags(value()); } /** * {@inheritDoc} */ @Override public final int compareTo(@StrictNonNull DirtyFlags other){ return Integer.compare(value(), other.value()); } } /** *

Java wrapper for Qt enum QPaintEngine::PaintEngineFeature

* * @see PaintEngineFeatures */ public enum PaintEngineFeature implements QtFlagEnumerator { /** *

Representing QPaintEngine::PrimitiveTransform

*/ PrimitiveTransform(1), /** *

Representing QPaintEngine::PatternTransform

*/ PatternTransform(2), /** *

Representing QPaintEngine::PixmapTransform

*/ PixmapTransform(4), /** *

Representing QPaintEngine::PatternBrush

*/ PatternBrush(8), /** *

Representing QPaintEngine::LinearGradientFill

*/ LinearGradientFill(16), /** *

Representing QPaintEngine::RadialGradientFill

*/ RadialGradientFill(32), /** *

Representing QPaintEngine::ConicalGradientFill

*/ ConicalGradientFill(64), /** *

Representing QPaintEngine::AlphaBlend

*/ AlphaBlend(128), /** *

Representing QPaintEngine::PorterDuff

*/ PorterDuff(256), /** *

Representing QPaintEngine::PainterPaths

*/ PainterPaths(512), /** *

Representing QPaintEngine::Antialiasing

*/ Antialiasing(1024), /** *

Representing QPaintEngine::BrushStroke

*/ BrushStroke(2048), /** *

Representing QPaintEngine::ConstantOpacity

*/ ConstantOpacity(4096), /** *

Representing QPaintEngine::MaskedBrush

*/ MaskedBrush(8192), /** *

Representing QPaintEngine::PerspectiveTransform

*/ PerspectiveTransform(16384), /** *

Representing QPaintEngine::BlendModes

*/ BlendModes(32768), /** *

Representing QPaintEngine::ObjectBoundingModeGradients

*/ ObjectBoundingModeGradients(65536), /** *

Representing QPaintEngine::RasterOpModes

*/ RasterOpModes(131072), /** *

Representing QPaintEngine::PaintOutsidePaintEvent

*/ PaintOutsidePaintEvent(536870912), /** *

Representing QPaintEngine::AllFeatures

*/ AllFeatures(-1); static { QtJambi_LibraryUtilities.initialize(); } private PaintEngineFeature(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Create a QFlags of the enum entry. * @return QFlags */ public @NonNull PaintEngineFeatures asFlags() { return new PaintEngineFeatures(value); } /** * Combines this entry with other enum entry. * @param e enum entry * @return new flag */ public @NonNull PaintEngineFeatures combined(@NonNull PaintEngineFeature e) { return asFlags().setFlag(e, true); } /** * Excludes other enum entry from a flag of this entry. * @param e enum entry * @return new flag */ public @NonNull PaintEngineFeatures cleared(@NonNull PaintEngineFeature e) { return asFlags().setFlag(e, false); } /** * Creates a new {@link PaintEngineFeatures} from the entries. * @param values entries * @return new flag */ public static @NonNull PaintEngineFeatures flags(@Nullable PaintEngineFeature @NonNull... values) { return new PaintEngineFeatures(values); } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull PaintEngineFeature resolve(int value) { switch (value) { case 1: return PrimitiveTransform; case 2: return PatternTransform; case 4: return PixmapTransform; case 8: return PatternBrush; case 16: return LinearGradientFill; case 32: return RadialGradientFill; case 64: return ConicalGradientFill; case 128: return AlphaBlend; case 256: return PorterDuff; case 512: return PainterPaths; case 1024: return Antialiasing; case 2048: return BrushStroke; case 4096: return ConstantOpacity; case 8192: return MaskedBrush; case 16384: return PerspectiveTransform; case 32768: return BlendModes; case 65536: return ObjectBoundingModeGradients; case 131072: return RasterOpModes; case 536870912: return PaintOutsidePaintEvent; case -1: return AllFeatures; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** * {@link QFlags} type for enum {@link PaintEngineFeature} */ public static final class PaintEngineFeatures extends QFlags implements Comparable { private static final long serialVersionUID = 0xbba1f1b2a0f546e7L; static { QtJambi_LibraryUtilities.initialize(); } /** * Creates a new PaintEngineFeatures where the flags in args are set. * @param args enum entries */ public PaintEngineFeatures(@Nullable PaintEngineFeature @NonNull... args){ super(args); } /** * Creates a new PaintEngineFeatures with given value. * @param value */ public PaintEngineFeatures(int value) { super(value); } /** * Combines this flags with enum entry. * @param e enum entry * @return new PaintEngineFeatures */ @Override public final @NonNull PaintEngineFeatures combined(@StrictNonNull PaintEngineFeature e){ return new PaintEngineFeatures(value() | e.value()); } /** * Sets the flag e * @param e enum entry * @return this */ public final @NonNull PaintEngineFeatures setFlag(@Nullable PaintEngineFeature e){ return setFlag(e, true); } /** * Sets or clears the flag flag * @param e enum entry * @param on set (true) or clear (false) * @return this */ public final @NonNull PaintEngineFeatures setFlag(@Nullable PaintEngineFeature e, boolean on){ if (on) { setValue(value() | e.value()); }else { setValue(value() & ~e.value()); } return this; } /** * Returns an array of flag objects represented by this PaintEngineFeatures. * @return array of enum entries */ @Override public final @NonNull PaintEngineFeature @NonNull[] flags(){ return super.flags(PaintEngineFeature.values()); } /** * {@inheritDoc} */ @Override public final @NonNull PaintEngineFeatures clone(){ return new PaintEngineFeatures(value()); } /** * {@inheritDoc} */ @Override public final int compareTo(@StrictNonNull PaintEngineFeatures other){ return Integer.compare(value(), other.value()); } } /** *

Java wrapper for Qt enum QPaintEngine::PolygonDrawMode

*/ public enum PolygonDrawMode implements QtEnumerator { /** *

Representing QPaintEngine::OddEvenMode

*/ OddEvenMode(0), /** *

Representing QPaintEngine::WindingMode

*/ WindingMode(1), /** *

Representing QPaintEngine::ConvexMode

*/ ConvexMode(2), /** *

Representing QPaintEngine::PolylineMode

*/ PolylineMode(3); static { QtJambi_LibraryUtilities.initialize(); } private PolygonDrawMode(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull PolygonDrawMode resolve(int value) { switch (value) { case 0: return OddEvenMode; case 1: return WindingMode; case 2: return ConvexMode; case 3: return PolylineMode; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QPaintEngine::Type

*/ @QtExtensibleEnum public enum Type implements QtEnumerator { /** *

Representing QPaintEngine::X11

*/ X11(0), /** *

Representing QPaintEngine::Windows

*/ Windows(1), /** *

Representing QPaintEngine::QuickDraw

*/ QuickDraw(2), /** *

Representing QPaintEngine::CoreGraphics

*/ CoreGraphics(3), /** *

Representing QPaintEngine::MacPrinter

*/ MacPrinter(4), /** *

Representing QPaintEngine::QWindowSystem

*/ QWindowSystem(5), /** *

Representing QPaintEngine::OpenGL

*/ OpenGL(6), /** *

Representing QPaintEngine::Picture

*/ Picture(7), /** *

Representing QPaintEngine::SVG

*/ SVG(8), /** *

Representing QPaintEngine::Raster

*/ Raster(9), /** *

Representing QPaintEngine::Direct3D

*/ Direct3D(10), /** *

Representing QPaintEngine::Pdf

*/ Pdf(11), /** *

Representing QPaintEngine::OpenVG

*/ OpenVG(12), /** *

Representing QPaintEngine::OpenGL2

*/ OpenGL2(13), /** *

Representing QPaintEngine::PaintBuffer

*/ PaintBuffer(14), /** *

Representing QPaintEngine::Blitter

*/ Blitter(15), /** *

Representing QPaintEngine::Direct2D

*/ Direct2D(16), /** *

Representing QPaintEngine::User

*/ User(50), /** *

Representing QPaintEngine::MaxUser

*/ MaxUser(100); static { QtJambi_LibraryUtilities.initialize(); } private Type(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry * @throws QNoSuchEnumValueException if value not existent in the enum */ public static @NonNull Type resolve(int value) { switch (value) { case 0: return X11; case 1: return Windows; case 2: return QuickDraw; case 3: return CoreGraphics; case 4: return MacPrinter; case 5: return QWindowSystem; case 6: return OpenGL; case 7: return Picture; case 8: return SVG; case 9: return Raster; case 10: return Direct3D; case 11: return Pdf; case 12: return OpenVG; case 13: return OpenGL2; case 14: return PaintBuffer; case 15: return Blitter; case 16: return Direct2D; case 50: return User; case 100: return MaxUser; default: return QtJambi_LibraryUtilities.internal.resolveEnum(Type.class, value, null); } } /** * Returns the corresponding enum entry for the given value and name. * @param value * @param name * @return enum entry * @throws QNoSuchEnumValueException if value not existent in the enum or name does not match. */ public static @NonNull Type resolve(int value, @Nullable String name) { if(name==null || name.isEmpty()) return resolve(value); else return QtJambi_LibraryUtilities.internal.resolveEnum(Type.class, value, name); } private final int value; } /** *

See QPaintEngine::QPaintEngine(QPaintEngine::PaintEngineFeatures)

*/ public QPaintEngine(io.qt.gui.QPaintEngine.@NonNull PaintEngineFeatures features){ super((QPrivateConstructor)null); initialize_native(this, features); } private native static void initialize_native(QPaintEngine instance, io.qt.gui.QPaintEngine.PaintEngineFeatures features); /** *

See QPaintEngine::clearDirty(QPaintEngine::DirtyFlags)

*/ @QtUninvokable public final void clearDirty(io.qt.gui.QPaintEngine.@NonNull DirtyFlags df){ clearDirty_native_QPaintEngine_DirtyFlags(QtJambi_LibraryUtilities.internal.nativeId(this), df.value()); } @QtUninvokable private native void clearDirty_native_QPaintEngine_DirtyFlags(long __this__nativeId, int df); /** *

See QPaintEngine::hasFeature(QPaintEngine::PaintEngineFeatures)const

*/ @QtUninvokable public final boolean hasFeature(io.qt.gui.QPaintEngine.@NonNull PaintEngineFeatures feature){ return hasFeature_native_QPaintEngine_PaintEngineFeatures_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), feature.value()); } @QtUninvokable private native boolean hasFeature_native_QPaintEngine_PaintEngineFeatures_constfct(long __this__nativeId, int feature); /** *

See QPaintEngine::isActive()const

*/ @QtUninvokable public final boolean isActive(){ return isActive_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isActive_native_constfct(long __this__nativeId); /** *

See QPaintEngine::isExtended()const

*/ @QtUninvokable public final boolean isExtended(){ return isExtended_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isExtended_native_constfct(long __this__nativeId); /** *

See QPaintEngine::paintDevice()const

*/ @QtUninvokable public final io.qt.gui.@Nullable QPaintDevice paintDevice(){ return paintDevice_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QPaintDevice paintDevice_native_constfct(long __this__nativeId); /** *

See QPaintEngine::painter()const

*/ @QtUninvokable public final io.qt.gui.@Nullable QPainter painter(){ return painter_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QPainter painter_native_constfct(long __this__nativeId); /** *

See QPaintEngine::setActive(bool)

*/ @QtUninvokable public final void setActive(boolean newState){ setActive_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), newState); } @QtUninvokable private native void setActive_native_bool(long __this__nativeId, boolean newState); /** *

See QPaintEngine::setDirty(QPaintEngine::DirtyFlags)

*/ @QtUninvokable public final void setDirty(io.qt.gui.QPaintEngine.@NonNull DirtyFlags df){ setDirty_native_QPaintEngine_DirtyFlags(QtJambi_LibraryUtilities.internal.nativeId(this), df.value()); } @QtUninvokable private native void setDirty_native_QPaintEngine_DirtyFlags(long __this__nativeId, int df); /** *

See QPaintEngine::setSystemClip(QRegion)

*/ @QtUninvokable public final void setSystemClip(io.qt.gui.@NonNull QRegion baseClip){ setSystemClip_native_cref_QRegion(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(baseClip)); } @QtUninvokable private native void setSystemClip_native_cref_QRegion(long __this__nativeId, long baseClip); /** *

See QPaintEngine::setSystemRect(QRect)

*/ @QtUninvokable public final void setSystemRect(io.qt.core.@NonNull QRect rect){ setSystemRect_native_cref_QRect(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rect)); } @QtUninvokable private native void setSystemRect_native_cref_QRect(long __this__nativeId, long rect); /** *

See QPaintEngine::syncState()

*/ @QtUninvokable public final void syncState(){ syncState_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native void syncState_native(long __this__nativeId); /** *

See QPaintEngine::systemClip()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QRegion systemClip(){ return systemClip_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QRegion systemClip_native_constfct(long __this__nativeId); /** *

See QPaintEngine::systemRect()const

*/ @QtUninvokable public final io.qt.core.@NonNull QRect systemRect(){ return systemRect_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QRect systemRect_native_constfct(long __this__nativeId); /** *

See QPaintEngine::testDirty(QPaintEngine::DirtyFlags)

*/ @QtUninvokable public final boolean testDirty(io.qt.gui.QPaintEngine.@NonNull DirtyFlags df){ return testDirty_native_QPaintEngine_DirtyFlags(QtJambi_LibraryUtilities.internal.nativeId(this), df.value()); } @QtUninvokable private native boolean testDirty_native_QPaintEngine_DirtyFlags(long __this__nativeId, int df); /** *

See QPaintEngine::begin(QPaintDevice*)

*/ @QtUninvokable public abstract boolean begin(io.qt.gui.@Nullable QPaintDevice pdev); @QtUninvokable private native boolean begin_native_QPaintDevice_ptr(long __this__nativeId, long pdev); /** *

See QPaintEngine::coordinateOffset()const

*/ @QtUninvokable public io.qt.core.@NonNull QPoint coordinateOffset(){ return coordinateOffset_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QPoint coordinateOffset_native_constfct(long __this__nativeId); /** *

See QPaintEngine::createPixmap(QSize)

*/ @QtUninvokable public io.qt.gui.@NonNull QPixmap createPixmap(io.qt.core.@NonNull QSize size){ return createPixmap_native_QSize(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(size)); } @QtUninvokable private native io.qt.gui.QPixmap createPixmap_native_QSize(long __this__nativeId, long size); /** *

See QPaintEngine::createPixmapFromImage(QImage,Qt::ImageConversionFlags)

*/ @QtUninvokable public io.qt.gui.@NonNull QPixmap createPixmapFromImage(io.qt.gui.@NonNull QImage image, io.qt.core.Qt.@NonNull ImageConversionFlags flags){ return createPixmapFromImage_native_QImage_Qt_ImageConversionFlags(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(image), flags.value()); } @QtUninvokable private native io.qt.gui.QPixmap createPixmapFromImage_native_QImage_Qt_ImageConversionFlags(long __this__nativeId, long image, int flags); /** *

See QPaintEngine::drawEllipse(QRect)

*/ @QtUninvokable public void drawEllipse(io.qt.core.@NonNull QRect r){ drawEllipse_native_cref_QRect(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(r)); } @QtUninvokable private native void drawEllipse_native_cref_QRect(long __this__nativeId, long r); /** *

See QPaintEngine::drawEllipse(QRectF)

*/ @QtUninvokable public void drawEllipse(io.qt.core.@NonNull QRectF r){ drawEllipse_native_cref_QRectF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(r)); } @QtUninvokable private native void drawEllipse_native_cref_QRectF(long __this__nativeId, long r); /** *

See QPaintEngine::drawImage(QRectF,QImage,QRectF,Qt::ImageConversionFlags)

*/ @QtUninvokable public void drawImage(io.qt.core.@NonNull QRectF r, io.qt.gui.@NonNull QImage pm, io.qt.core.@NonNull QRectF sr, io.qt.core.Qt.@NonNull ImageConversionFlags flags){ drawImage_native_cref_QRectF_cref_QImage_cref_QRectF_Qt_ImageConversionFlags(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(r), QtJambi_LibraryUtilities.internal.checkedNativeId(pm), QtJambi_LibraryUtilities.internal.checkedNativeId(sr), flags.value()); } @QtUninvokable private native void drawImage_native_cref_QRectF_cref_QImage_cref_QRectF_Qt_ImageConversionFlags(long __this__nativeId, long r, long pm, long sr, int flags); /** *

See QPaintEngine::drawLines(const QLine*,int)

*/ @QtUninvokable public void drawLines(io.qt.core.@NonNull QLine... lines){ drawLines_native_const_QLine_ptr_int(QtJambi_LibraryUtilities.internal.nativeId(this), lines); } @QtUninvokable private native void drawLines_native_const_QLine_ptr_int(long __this__nativeId, io.qt.core.QLine[] lines); /** *

See QPaintEngine::drawLines(const QLineF*,int)

*/ @QtUninvokable public void drawLines(io.qt.core.@NonNull QLineF... lines){ drawLines_native_const_QLineF_ptr_int(QtJambi_LibraryUtilities.internal.nativeId(this), lines); } @QtUninvokable private native void drawLines_native_const_QLineF_ptr_int(long __this__nativeId, io.qt.core.QLineF[] lines); /** *

See QPaintEngine::drawPath(QPainterPath)

*/ @QtUninvokable public void drawPath(io.qt.gui.@NonNull QPainterPath path){ drawPath_native_cref_QPainterPath(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(path)); } @QtUninvokable private native void drawPath_native_cref_QPainterPath(long __this__nativeId, long path); /** *

See QPaintEngine::drawPixmap(QRectF,QPixmap,QRectF)

*/ @QtUninvokable public abstract void drawPixmap(io.qt.core.@NonNull QRectF r, io.qt.gui.@NonNull QPixmap pm, io.qt.core.@NonNull QRectF sr); @QtUninvokable private native void drawPixmap_native_cref_QRectF_cref_QPixmap_cref_QRectF(long __this__nativeId, long r, long pm, long sr); /** *

See QPaintEngine::drawPoints(const QPoint*,int)

*/ @QtUninvokable public void drawPoints(io.qt.core.@NonNull QPoint... points){ drawPoints_native_const_QPoint_ptr_int(QtJambi_LibraryUtilities.internal.nativeId(this), points); } @QtUninvokable private native void drawPoints_native_const_QPoint_ptr_int(long __this__nativeId, io.qt.core.QPoint[] points); /** *

See QPaintEngine::drawPoints(const QPointF*,int)

*/ @QtUninvokable public void drawPoints(io.qt.core.@NonNull QPointF... points){ drawPoints_native_const_QPointF_ptr_int(QtJambi_LibraryUtilities.internal.nativeId(this), points); } @QtUninvokable private native void drawPoints_native_const_QPointF_ptr_int(long __this__nativeId, io.qt.core.QPointF[] points); /** *

See QPaintEngine::drawPolygon(const QPoint*,int,QPaintEngine::PolygonDrawMode)

*/ @QtUninvokable public void drawPolygon(io.qt.core.@NonNull QPoint[] points, io.qt.gui.QPaintEngine.@NonNull PolygonDrawMode mode){ drawPolygon_native_const_QPoint_ptr_int_QPaintEngine_PolygonDrawMode(QtJambi_LibraryUtilities.internal.nativeId(this), points, mode.value()); } @QtUninvokable private native void drawPolygon_native_const_QPoint_ptr_int_QPaintEngine_PolygonDrawMode(long __this__nativeId, io.qt.core.QPoint[] points, int mode); /** *

See QPaintEngine::drawPolygon(const QPointF*,int,QPaintEngine::PolygonDrawMode)

*/ @QtUninvokable public void drawPolygon(io.qt.core.@NonNull QPointF[] points, io.qt.gui.QPaintEngine.@NonNull PolygonDrawMode mode){ drawPolygon_native_const_QPointF_ptr_int_QPaintEngine_PolygonDrawMode(QtJambi_LibraryUtilities.internal.nativeId(this), points, mode.value()); } @QtUninvokable private native void drawPolygon_native_const_QPointF_ptr_int_QPaintEngine_PolygonDrawMode(long __this__nativeId, io.qt.core.QPointF[] points, int mode); /** *

See QPaintEngine::drawRects(const QRect*,int)

*/ @QtUninvokable public void drawRects(io.qt.core.@NonNull QRect... rects){ drawRects_native_const_QRect_ptr_int(QtJambi_LibraryUtilities.internal.nativeId(this), rects); } @QtUninvokable private native void drawRects_native_const_QRect_ptr_int(long __this__nativeId, io.qt.core.QRect[] rects); /** *

See QPaintEngine::drawRects(const QRectF*,int)

*/ @QtUninvokable public void drawRects(io.qt.core.@NonNull QRectF... rects){ drawRects_native_const_QRectF_ptr_int(QtJambi_LibraryUtilities.internal.nativeId(this), rects); } @QtUninvokable private native void drawRects_native_const_QRectF_ptr_int(long __this__nativeId, io.qt.core.QRectF[] rects); /** *

See QPaintEngine::drawTextItem(QPointF,QTextItem)

*/ @QtUninvokable public void drawTextItem(io.qt.core.@NonNull QPointF p, io.qt.gui.@StrictNonNull QTextItem textItem){ java.util.Objects.requireNonNull(textItem, "Argument 'textItem': null not expected."); drawTextItem_native_cref_QPointF_cref_QTextItem(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p), QtJambi_LibraryUtilities.internal.checkedNativeId(textItem)); } @QtUninvokable private native void drawTextItem_native_cref_QPointF_cref_QTextItem(long __this__nativeId, long p, long textItem); /** *

See QPaintEngine::drawTiledPixmap(QRectF,QPixmap,QPointF)

*/ @QtUninvokable public void drawTiledPixmap(io.qt.core.@NonNull QRectF r, io.qt.gui.@NonNull QPixmap pixmap, io.qt.core.@NonNull QPointF s){ drawTiledPixmap_native_cref_QRectF_cref_QPixmap_cref_QPointF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(r), QtJambi_LibraryUtilities.internal.checkedNativeId(pixmap), QtJambi_LibraryUtilities.internal.checkedNativeId(s)); } @QtUninvokable private native void drawTiledPixmap_native_cref_QRectF_cref_QPixmap_cref_QPointF(long __this__nativeId, long r, long pixmap, long s); /** *

See QPaintEngine::end()

*/ @QtUninvokable public abstract boolean end(); @QtUninvokable private native boolean end_native(long __this__nativeId); /** *

See QPaintEngine::type()const

*/ @QtUninvokable public abstract io.qt.gui.QPaintEngine.@NonNull Type type(); @QtUninvokable private native int type_native_constfct(long __this__nativeId); /** *

See QPaintEngine::updateState(QPaintEngineState)

*/ @QtUninvokable public abstract void updateState(io.qt.gui.@StrictNonNull QPaintEngineState state); @QtUninvokable private native void updateState_native_cref_QPaintEngineState(long __this__nativeId, long state); /** *

See QPaintEngine::extended

*/ @QtUninvokable protected final void setExtended(boolean extended){ setExtended_native_uint(QtJambi_LibraryUtilities.internal.nativeId(this), extended); } @QtUninvokable private native void setExtended_native_uint(long __this__nativeId, boolean extended); /** *

See QPaintEngine::gccaps

*/ @QtUninvokable protected final void setFeatures(io.qt.gui.QPaintEngine.@NonNull PaintEngineFeatures features){ setFeatures_native_cref_QPaintEngine_PaintEngineFeatures(QtJambi_LibraryUtilities.internal.nativeId(this), features.value()); } @QtUninvokable private native void setFeatures_native_cref_QPaintEngine_PaintEngineFeatures(long __this__nativeId, int features); /** *

See QPaintEngine::gccaps

*/ @QtUninvokable protected final io.qt.gui.QPaintEngine.@NonNull PaintEngineFeatures features(){ return new io.qt.gui.QPaintEngine.PaintEngineFeatures(features_native(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int features_native(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QPaintEngine(QPrivateConstructor p) { super(p); } /** *

Overloaded constructor for {@link #QPaintEngine(io.qt.gui.QPaintEngine.PaintEngineFeatures)} * with features = new io.qt.gui.QPaintEngine.PaintEngineFeatures(0).

*/ public QPaintEngine() { this(new io.qt.gui.QPaintEngine.PaintEngineFeatures(0)); } /** *

Overloaded constructor for {@link #QPaintEngine(io.qt.gui.QPaintEngine.PaintEngineFeatures)}.

*/ public QPaintEngine(io.qt.gui.QPaintEngine.@NonNull PaintEngineFeature @NonNull... features) { this(new io.qt.gui.QPaintEngine.PaintEngineFeatures(features)); } /** *

Overloaded function for {@link #clearDirty(io.qt.gui.QPaintEngine.DirtyFlags)}.

*/ @QtUninvokable public final void clearDirty(io.qt.gui.QPaintEngine.@NonNull DirtyFlag @NonNull... df) { clearDirty(new io.qt.gui.QPaintEngine.DirtyFlags(df)); } /** *

Overloaded function for {@link #hasFeature(io.qt.gui.QPaintEngine.PaintEngineFeatures)}.

*/ @QtUninvokable public final boolean hasFeature(io.qt.gui.QPaintEngine.@NonNull PaintEngineFeature @NonNull... feature) { return hasFeature(new io.qt.gui.QPaintEngine.PaintEngineFeatures(feature)); } /** *

Overloaded function for {@link #setDirty(io.qt.gui.QPaintEngine.DirtyFlags)}.

*/ @QtUninvokable public final void setDirty(io.qt.gui.QPaintEngine.@NonNull DirtyFlag @NonNull... df) { setDirty(new io.qt.gui.QPaintEngine.DirtyFlags(df)); } /** *

Overloaded function for {@link #setSystemClip(io.qt.gui.QRegion)}.

*/ @QtUninvokable public final void setSystemClip(io.qt.core.@NonNull QRect baseClip) { setSystemClip(new io.qt.gui.QRegion(baseClip)); } /** *

Overloaded function for {@link #setSystemClip(io.qt.gui.QRegion)}.

*/ @QtUninvokable public final void setSystemClip(io.qt.gui.@NonNull QPolygon baseClip) { setSystemClip(new io.qt.gui.QRegion(baseClip)); } /** *

Overloaded function for {@link #setSystemClip(io.qt.gui.QRegion)}.

*/ @QtUninvokable public final void setSystemClip(io.qt.gui.@NonNull QBitmap baseClip) { setSystemClip(new io.qt.gui.QRegion(baseClip)); } /** *

Overloaded function for {@link #testDirty(io.qt.gui.QPaintEngine.DirtyFlags)}.

*/ @QtUninvokable public final boolean testDirty(io.qt.gui.QPaintEngine.@NonNull DirtyFlag @NonNull... df) { return testDirty(new io.qt.gui.QPaintEngine.DirtyFlags(df)); } /** *

Overloaded function for {@link #createPixmapFromImage(io.qt.gui.QImage, io.qt.core.Qt.ImageConversionFlags)} * with flags = new io.qt.core.Qt.ImageConversionFlags(0).

*/ @QtUninvokable public final io.qt.gui.@NonNull QPixmap createPixmapFromImage(io.qt.gui.@NonNull QImage image) { return createPixmapFromImage(image, new io.qt.core.Qt.ImageConversionFlags(0)); } /** *

Overloaded function for {@link #createPixmapFromImage(io.qt.gui.QImage, io.qt.core.Qt.ImageConversionFlags)}.

*/ @QtUninvokable public final io.qt.gui.@NonNull QPixmap createPixmapFromImage(io.qt.gui.@NonNull QImage image, io.qt.core.Qt.@NonNull ImageConversionFlag @NonNull... flags) { return createPixmapFromImage(image, new io.qt.core.Qt.ImageConversionFlags(flags)); } /** *

Overloaded function for {@link #drawImage(io.qt.core.QRectF, io.qt.gui.QImage, io.qt.core.QRectF, io.qt.core.Qt.ImageConversionFlags)} * with flags = new io.qt.core.Qt.ImageConversionFlags(0).

*/ @QtUninvokable public final void drawImage(io.qt.core.@NonNull QRectF r, io.qt.gui.@NonNull QImage pm, io.qt.core.@NonNull QRectF sr) { drawImage(r, pm, sr, new io.qt.core.Qt.ImageConversionFlags(0)); } /** *

Overloaded function for {@link #drawImage(io.qt.core.QRect, io.qt.gui.QImage, io.qt.core.QRectF, io.qt.core.Qt.ImageConversionFlags)} * with flags = new io.qt.core.Qt.ImageConversionFlags(0).

*/ @QtUninvokable public final void drawImage(io.qt.core.@NonNull QRect r, io.qt.gui.@NonNull QImage pm, io.qt.core.@NonNull QRectF sr) { drawImage(r, pm, sr, new io.qt.core.Qt.ImageConversionFlags(0)); } /** *

Overloaded function for {@link #drawImage(io.qt.core.QRectF, io.qt.gui.QImage, io.qt.core.QRectF, io.qt.core.Qt.ImageConversionFlags)}.

*/ @QtUninvokable public final void drawImage(io.qt.core.@NonNull QRect r, io.qt.gui.@NonNull QImage pm, io.qt.core.@NonNull QRectF sr, io.qt.core.Qt.@NonNull ImageConversionFlags flags) { drawImage(new io.qt.core.QRectF(r), pm, sr, flags); } /** *

Overloaded function for {@link #drawImage(io.qt.core.QRectF, io.qt.gui.QImage, io.qt.core.QRect, io.qt.core.Qt.ImageConversionFlags)} * with flags = new io.qt.core.Qt.ImageConversionFlags(0).

*/ @QtUninvokable public final void drawImage(io.qt.core.@NonNull QRectF r, io.qt.gui.@NonNull QImage pm, io.qt.core.@NonNull QRect sr) { drawImage(r, pm, sr, new io.qt.core.Qt.ImageConversionFlags(0)); } /** *

Overloaded function for {@link #drawImage(io.qt.core.QRectF, io.qt.gui.QImage, io.qt.core.QRectF, io.qt.core.Qt.ImageConversionFlags)}.

*/ @QtUninvokable public final void drawImage(io.qt.core.@NonNull QRectF r, io.qt.gui.@NonNull QImage pm, io.qt.core.@NonNull QRect sr, io.qt.core.Qt.@NonNull ImageConversionFlags flags) { drawImage(r, pm, new io.qt.core.QRectF(sr), flags); } /** *

Overloaded function for {@link #drawImage(io.qt.core.QRect, io.qt.gui.QImage, io.qt.core.QRect, io.qt.core.Qt.ImageConversionFlags)} * with flags = new io.qt.core.Qt.ImageConversionFlags(0).

*/ @QtUninvokable public final void drawImage(io.qt.core.@NonNull QRect r, io.qt.gui.@NonNull QImage pm, io.qt.core.@NonNull QRect sr) { drawImage(r, pm, sr, new io.qt.core.Qt.ImageConversionFlags(0)); } /** *

Overloaded function for {@link #drawImage(io.qt.core.QRectF, io.qt.gui.QImage, io.qt.core.QRectF, io.qt.core.Qt.ImageConversionFlags)}.

*/ @QtUninvokable public final void drawImage(io.qt.core.@NonNull QRect r, io.qt.gui.@NonNull QImage pm, io.qt.core.@NonNull QRect sr, io.qt.core.Qt.@NonNull ImageConversionFlags flags) { drawImage(new io.qt.core.QRectF(r), pm, new io.qt.core.QRectF(sr), flags); } /** *

Overloaded function for {@link #drawImage(io.qt.core.QRectF, io.qt.gui.QImage, io.qt.core.QRectF, io.qt.core.Qt.ImageConversionFlags)}.

*/ @QtUninvokable public final void drawImage(io.qt.core.@NonNull QRectF r, io.qt.gui.@NonNull QImage pm, io.qt.core.@NonNull QRectF sr, io.qt.core.Qt.@NonNull ImageConversionFlag @NonNull... flags) { drawImage(r, pm, sr, new io.qt.core.Qt.ImageConversionFlags(flags)); } /** *

Overloaded function for {@link #drawImage(io.qt.core.QRectF, io.qt.gui.QImage, io.qt.core.QRectF, io.qt.core.Qt.ImageConversionFlags)}.

*/ @QtUninvokable public final void drawImage(io.qt.core.@NonNull QRect r, io.qt.gui.@NonNull QImage pm, io.qt.core.@NonNull QRectF sr, io.qt.core.Qt.@NonNull ImageConversionFlag @NonNull... flags) { drawImage(new io.qt.core.QRectF(r), pm, sr, new io.qt.core.Qt.ImageConversionFlags(flags)); } /** *

Overloaded function for {@link #drawImage(io.qt.core.QRectF, io.qt.gui.QImage, io.qt.core.QRectF, io.qt.core.Qt.ImageConversionFlags)}.

*/ @QtUninvokable public final void drawImage(io.qt.core.@NonNull QRectF r, io.qt.gui.@NonNull QImage pm, io.qt.core.@NonNull QRect sr, io.qt.core.Qt.@NonNull ImageConversionFlag @NonNull... flags) { drawImage(r, pm, new io.qt.core.QRectF(sr), new io.qt.core.Qt.ImageConversionFlags(flags)); } /** *

Overloaded function for {@link #drawImage(io.qt.core.QRectF, io.qt.gui.QImage, io.qt.core.QRectF, io.qt.core.Qt.ImageConversionFlags)}.

*/ @QtUninvokable public final void drawImage(io.qt.core.@NonNull QRect r, io.qt.gui.@NonNull QImage pm, io.qt.core.@NonNull QRect sr, io.qt.core.Qt.@NonNull ImageConversionFlag @NonNull... flags) { drawImage(new io.qt.core.QRectF(r), pm, new io.qt.core.QRectF(sr), new io.qt.core.Qt.ImageConversionFlags(flags)); } /** *

Overloaded function for {@link #drawPixmap(io.qt.core.QRectF, io.qt.gui.QPixmap, io.qt.core.QRectF)}.

*/ @QtUninvokable public final void drawPixmap(io.qt.core.@NonNull QRect r, io.qt.gui.@NonNull QPixmap pm, io.qt.core.@NonNull QRectF sr) { drawPixmap(new io.qt.core.QRectF(r), pm, sr); } /** *

Overloaded function for {@link #drawPixmap(io.qt.core.QRectF, io.qt.gui.QPixmap, io.qt.core.QRectF)}.

*/ @QtUninvokable public final void drawPixmap(io.qt.core.@NonNull QRectF r, io.qt.gui.@NonNull QPixmap pm, io.qt.core.@NonNull QRect sr) { drawPixmap(r, pm, new io.qt.core.QRectF(sr)); } /** *

Overloaded function for {@link #drawPixmap(io.qt.core.QRectF, io.qt.gui.QPixmap, io.qt.core.QRectF)}.

*/ @QtUninvokable public final void drawPixmap(io.qt.core.@NonNull QRect r, io.qt.gui.@NonNull QPixmap pm, io.qt.core.@NonNull QRect sr) { drawPixmap(new io.qt.core.QRectF(r), pm, new io.qt.core.QRectF(sr)); } /** *

Overloaded function for {@link #drawTextItem(io.qt.core.QPointF, io.qt.gui.QTextItem)}.

*/ @QtUninvokable public final void drawTextItem(io.qt.core.@NonNull QPoint p, io.qt.gui.@StrictNonNull QTextItem textItem) { drawTextItem(new io.qt.core.QPointF(p), textItem); } /** *

Overloaded function for {@link #drawTiledPixmap(io.qt.core.QRectF, io.qt.gui.QPixmap, io.qt.core.QPointF)}.

*/ @QtUninvokable public final void drawTiledPixmap(io.qt.core.@NonNull QRect r, io.qt.gui.@NonNull QPixmap pixmap, io.qt.core.@NonNull QPointF s) { drawTiledPixmap(new io.qt.core.QRectF(r), pixmap, s); } /** *

Overloaded function for {@link #drawTiledPixmap(io.qt.core.QRectF, io.qt.gui.QPixmap, io.qt.core.QPointF)}.

*/ @QtUninvokable public final void drawTiledPixmap(io.qt.core.@NonNull QRectF r, io.qt.gui.@NonNull QPixmap pixmap, io.qt.core.@NonNull QPoint s) { drawTiledPixmap(r, pixmap, new io.qt.core.QPointF(s)); } /** *

Overloaded function for {@link #drawTiledPixmap(io.qt.core.QRectF, io.qt.gui.QPixmap, io.qt.core.QPointF)}.

*/ @QtUninvokable public final void drawTiledPixmap(io.qt.core.@NonNull QRect r, io.qt.gui.@NonNull QPixmap pixmap, io.qt.core.@NonNull QPoint s) { drawTiledPixmap(new io.qt.core.QRectF(r), pixmap, new io.qt.core.QPointF(s)); } /** *

Overloaded function for {@link #setFeatures(io.qt.gui.QPaintEngine.PaintEngineFeatures)}.

*/ @QtUninvokable protected final void setFeatures(io.qt.gui.QPaintEngine.@NonNull PaintEngineFeature @NonNull... features) { setFeatures(new io.qt.gui.QPaintEngine.PaintEngineFeatures(features)); } /** * @hidden *

Kotlin property getter. In Java use {@link #features()} instead.

*/ @QtUninvokable protected final io.qt.gui.QPaintEngine.@NonNull PaintEngineFeatures getFeatures() { return features(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy