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

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

The newest version!
package io.qt.gui;


/**
 * 

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 io.qt.QtObject { static { QtJambi_LibraryUtilities.initialize(); } @io.qt.NativeAccess private static final class ConcreteWrapper extends QPaintEngine { @io.qt.NativeAccess private ConcreteWrapper(QPrivateConstructor p) { super(p); } @Override @io.qt.QtUninvokable public boolean begin(io.qt.gui.QPaintDevice pdev){ return begin_native_QPaintDevice_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pdev)); } @io.qt.QtUninvokable private native boolean begin_native_QPaintDevice_ptr(long __this__nativeId, long pdev); @Override @io.qt.QtUninvokable public void drawPixmap(io.qt.core.QRectF r, io.qt.gui.QPixmap pm, io.qt.core.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)); } @io.qt.QtUninvokable private native void drawPixmap_native_cref_QRectF_cref_QPixmap_cref_QRectF(long __this__nativeId, long r, long pm, long sr); @Override @io.qt.QtUninvokable public boolean end(){ return end_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean end_native(long __this__nativeId); @Override @io.qt.QtUninvokable public io.qt.gui.QPaintEngine.Type type(){ return io.qt.gui.QPaintEngine.Type.resolve(type_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @io.qt.QtUninvokable private native int type_native_constfct(long __this__nativeId); @Override @io.qt.QtUninvokable public void updateState(io.qt.gui.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)); } @io.qt.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 io.qt.QtFlagEnumerator { DirtyPen(1), DirtyBrush(2), DirtyBrushOrigin(4), DirtyFont(8), DirtyBackground(16), DirtyBackgroundMode(32), DirtyTransform(64), DirtyClipRegion(128), DirtyClipPath(256), DirtyHints(512), DirtyCompositionMode(1024), DirtyClipEnabled(2048), DirtyOpacity(4096), AllDirty(65535); private DirtyFlag(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Create a QFlags of the enum entry. * @return QFlags */ public DirtyFlags asFlags() { return new DirtyFlags(value); } /** * Combines this entry with other enum entry. * @param e enum entry * @return new flag */ public DirtyFlags combined(DirtyFlag e) { return new DirtyFlags(this, e); } /** * Creates a new {@link DirtyFlags} from the entries. * @param values entries * @return new flag */ public static DirtyFlags flags(DirtyFlag ... values) { return new DirtyFlags(values); } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static 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 io.qt.QNoSuchEnumValueException(value); } } private final int value; } /** * QFlags type for enum {@link DirtyFlag} */ public static final class DirtyFlags extends io.qt.QFlags implements Comparable { private static final long serialVersionUID = 0x5c9a59fc12d6c4e4L; /** * Creates a new DirtyFlags where the flags in args are set. * @param args enum entries */ public DirtyFlags(DirtyFlag ... 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 DirtyFlags combined(DirtyFlag e){ return new DirtyFlags(value() | e.value()); } /** * Sets the flag e * @param e enum entry * @return this */ public final DirtyFlags setFlag(DirtyFlag e){ super.setFlag(e); return this; } /** * Sets or clears the flag flag * @param e enum entry * @param on set (true) or clear (false) * @return this */ public final DirtyFlags setFlag(DirtyFlag e, boolean on){ super.setFlag(e, on); return this; } /** * Returns an array of flag objects represented by this DirtyFlags. * @return array of enum entries */ @Override public final DirtyFlag[] flags(){ return super.flags(DirtyFlag.values()); } /** * {@inheritDoc} */ @Override public final DirtyFlags clone(){ return new DirtyFlags(value()); } /** * {@inheritDoc} */ @Override public final int compareTo(DirtyFlags other){ return Integer.compare(value(), other.value()); } } /** *

Java wrapper for Qt enum QPaintEngine::PaintEngineFeature

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

Java wrapper for Qt enum QPaintEngine::PolygonDrawMode

*/ public enum PolygonDrawMode implements io.qt.QtEnumerator { OddEvenMode(0), WindingMode(1), ConvexMode(2), PolylineMode(3); 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 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 io.qt.QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QPaintEngine::Type

*/ @io.qt.QtExtensibleEnum public enum Type implements io.qt.QtEnumerator { X11(0), Windows(1), QuickDraw(2), CoreGraphics(3), MacPrinter(4), QWindowSystem(5), OpenGL(6), Picture(7), SVG(8), Raster(9), Direct3D(10), Pdf(11), OpenVG(12), OpenGL2(13), PaintBuffer(14), Blitter(15), Direct2D(16), User(50), MaxUser(100); 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 io.qt.QNoSuchEnumValueException if value not existent in the enum */ public static 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 io.qt.QNoSuchEnumValueException if value not existent in the enum or name does not match. */ public static Type resolve(int value, String name) { if(name==null || name.isEmpty()) return resolve(value); else return QtJambi_LibraryUtilities.internal.resolveEnum(Type.class, value, name); } private final int value; } /** *

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

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

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)); } /** *

See QPaintEngine::QPaintEngine(PaintEngineFeatures)

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

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

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

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

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

See QPaintEngine::hasFeature(PaintEngineFeatures)const

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

See QPaintEngine::isActive()const

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

See QPaintEngine::paintDevice()const

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

See QPaintEngine::painter()const

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

See QPaintEngine::setActive(bool)

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

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

*/ @io.qt.QtUninvokable public final void setDirty(io.qt.gui.QPaintEngine.DirtyFlag ... df){ setDirty(new io.qt.gui.QPaintEngine.DirtyFlags(df)); } @io.qt.QtUninvokable public final void setDirty(io.qt.gui.QPaintEngine.DirtyFlags df){ setDirty_native_QFlags_QPaintEngine_DirtyFlag_(QtJambi_LibraryUtilities.internal.nativeId(this), df.value()); } @io.qt.QtUninvokable private native void setDirty_native_QFlags_QPaintEngine_DirtyFlag_(long __this__nativeId, int df); @io.qt.QtUninvokable public final void setSystemClip(io.qt.gui.QRegion baseClip){ setSystemClip_native_cref_QRegion(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(baseClip)); } @io.qt.QtUninvokable private native void setSystemClip_native_cref_QRegion(long __this__nativeId, long baseClip); @io.qt.QtUninvokable public final void setSystemRect(io.qt.core.QRect rect){ setSystemRect_native_cref_QRect(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rect)); } @io.qt.QtUninvokable private native void setSystemRect_native_cref_QRect(long __this__nativeId, long rect); @io.qt.QtUninvokable public final void syncState(){ syncState_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native void syncState_native(long __this__nativeId); @io.qt.QtUninvokable public final io.qt.gui.QRegion systemClip(){ return systemClip_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.gui.QRegion systemClip_native_constfct(long __this__nativeId); @io.qt.QtUninvokable public final io.qt.core.QRect systemRect(){ return systemRect_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QRect systemRect_native_constfct(long __this__nativeId); /** *

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

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

See QPaintEngine::begin(QPaintDevice*)

*/ @io.qt.QtUninvokable public abstract boolean begin(io.qt.gui.QPaintDevice pdev); @io.qt.QtUninvokable private native boolean begin_native_QPaintDevice_ptr(long __this__nativeId, long pdev); @io.qt.QtUninvokable public io.qt.core.QPoint coordinateOffset(){ return coordinateOffset_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native io.qt.core.QPoint coordinateOffset_native_constfct(long __this__nativeId); @io.qt.QtUninvokable public io.qt.gui.QPixmap createPixmap(io.qt.core.QSize size){ return createPixmap_native_QSize(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(size)); } @io.qt.QtUninvokable private native io.qt.gui.QPixmap createPixmap_native_QSize(long __this__nativeId, long size); /** *

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

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

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

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

See QPaintEngine::drawEllipse(QRect)

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

See QPaintEngine::drawEllipse(QRectF)

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

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

*/ @io.qt.QtUninvokable public final void drawImage(io.qt.core.QRectF r, io.qt.gui.QImage pm, io.qt.core.QRectF sr, io.qt.core.Qt.ImageConversionFlag ... 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)} * with flags = new io.qt.core.Qt.ImageConversionFlags(0).

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

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

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

See QPaintEngine::drawPath(QPainterPath)

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

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

*/ @io.qt.QtUninvokable public abstract void drawPixmap(io.qt.core.QRectF r, io.qt.gui.QPixmap pm, io.qt.core.QRectF sr); @io.qt.QtUninvokable private native void drawPixmap_native_cref_QRectF_cref_QPixmap_cref_QRectF(long __this__nativeId, long r, long pm, long sr); @io.qt.QtUninvokable public void drawPoints(io.qt.core.QPoint... points){ drawPoints_native_const_QPoint_ptr_int(QtJambi_LibraryUtilities.internal.nativeId(this), points); } @io.qt.QtUninvokable private native void drawPoints_native_const_QPoint_ptr_int(long __this__nativeId, io.qt.core.QPoint... points); @io.qt.QtUninvokable public void drawPoints(io.qt.core.QPointF... points){ drawPoints_native_const_QPointF_ptr_int(QtJambi_LibraryUtilities.internal.nativeId(this), points); } @io.qt.QtUninvokable private native void drawPoints_native_const_QPointF_ptr_int(long __this__nativeId, io.qt.core.QPointF... points); @io.qt.QtUninvokable public void drawPolygon(io.qt.core.QPoint[] points, io.qt.gui.QPaintEngine.PolygonDrawMode mode){ drawPolygon_native_const_QPoint_ptr_int_QPaintEngine_PolygonDrawMode(QtJambi_LibraryUtilities.internal.nativeId(this), points, mode.value()); } @io.qt.QtUninvokable private native void drawPolygon_native_const_QPoint_ptr_int_QPaintEngine_PolygonDrawMode(long __this__nativeId, io.qt.core.QPoint[] points, int mode); @io.qt.QtUninvokable public void drawPolygon(io.qt.core.QPointF[] points, io.qt.gui.QPaintEngine.PolygonDrawMode mode){ drawPolygon_native_const_QPointF_ptr_int_QPaintEngine_PolygonDrawMode(QtJambi_LibraryUtilities.internal.nativeId(this), points, mode.value()); } @io.qt.QtUninvokable private native void drawPolygon_native_const_QPointF_ptr_int_QPaintEngine_PolygonDrawMode(long __this__nativeId, io.qt.core.QPointF[] points, int mode); @io.qt.QtUninvokable public void drawRects(io.qt.core.QRect... rects){ drawRects_native_const_QRect_ptr_int(QtJambi_LibraryUtilities.internal.nativeId(this), rects); } @io.qt.QtUninvokable private native void drawRects_native_const_QRect_ptr_int(long __this__nativeId, io.qt.core.QRect... rects); @io.qt.QtUninvokable public void drawRects(io.qt.core.QRectF... rects){ drawRects_native_const_QRectF_ptr_int(QtJambi_LibraryUtilities.internal.nativeId(this), rects); } @io.qt.QtUninvokable private native void drawRects_native_const_QRectF_ptr_int(long __this__nativeId, io.qt.core.QRectF... rects); /** *

See QPaintEngine::drawTextItem(QPointF,QTextItem)

*/ @io.qt.QtUninvokable public void drawTextItem(io.qt.core.QPointF p, io.qt.gui.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)); } @io.qt.QtUninvokable private native void drawTextItem_native_cref_QPointF_cref_QTextItem(long __this__nativeId, long p, long textItem); /** *

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

*/ @io.qt.QtUninvokable public void drawTiledPixmap(io.qt.core.QRectF r, io.qt.gui.QPixmap pixmap, io.qt.core.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)); } @io.qt.QtUninvokable private native void drawTiledPixmap_native_cref_QRectF_cref_QPixmap_cref_QPointF(long __this__nativeId, long r, long pixmap, long s); /** *

See QPaintEngine::end()

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

See QPaintEngine::type()const

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

See QPaintEngine::updateState(QPaintEngineState)

*/ @io.qt.QtUninvokable public abstract void updateState(io.qt.gui.QPaintEngineState state); @io.qt.QtUninvokable private native void updateState_native_cref_QPaintEngineState(long __this__nativeId, long state); @io.qt.QtUninvokable protected final void setExtended(boolean extended){ setExtended_native_uint(QtJambi_LibraryUtilities.internal.nativeId(this), extended); } @io.qt.QtUninvokable private native void setExtended_native_uint(long __this__nativeId, boolean extended); /** *

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy