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

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

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

import io.qt.*;


/**
 * 

Access to a single physical instance of a font

*

Java wrapper for Qt class QRawFont

*/ public class QRawFont extends QtObject implements java.lang.Cloneable { static { QtJambi_LibraryUtilities.initialize(); } /** *

Java wrapper for Qt enum QRawFont::AntialiasingType

*/ public enum AntialiasingType implements QtEnumerator { /** *

Representing QRawFont::PixelAntialiasing

*/ PixelAntialiasing(0), /** *

Representing QRawFont::SubPixelAntialiasing

*/ SubPixelAntialiasing(1); static { QtJambi_LibraryUtilities.initialize(); } private AntialiasingType(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 AntialiasingType resolve(int value) { switch (value) { case 0: return PixelAntialiasing; case 1: return SubPixelAntialiasing; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt enum QRawFont::LayoutFlag

* * @see LayoutFlags */ public enum LayoutFlag implements QtFlagEnumerator { /** *

Representing QRawFont::SeparateAdvances

*/ SeparateAdvances(0), /** *

Representing QRawFont::KernedAdvances

*/ KernedAdvances(1), /** *

Representing QRawFont::UseDesignMetrics

*/ UseDesignMetrics(2); static { QtJambi_LibraryUtilities.initialize(); } private LayoutFlag(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Create a QFlags of the enum entry. * @return QFlags */ public @NonNull LayoutFlags asFlags() { return new LayoutFlags(value); } /** * Combines this entry with other enum entry. * @param e enum entry * @return new flag */ public @NonNull LayoutFlags combined(@NonNull LayoutFlag 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 LayoutFlags cleared(@NonNull LayoutFlag e) { return asFlags().setFlag(e, false); } /** * Creates a new {@link LayoutFlags} from the entries. * @param values entries * @return new flag */ public static @NonNull LayoutFlags flags(@Nullable LayoutFlag @NonNull... values) { return new LayoutFlags(values); } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull LayoutFlag resolve(int value) { switch (value) { case 0: return SeparateAdvances; case 1: return KernedAdvances; case 2: return UseDesignMetrics; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** * {@link QFlags} type for enum {@link LayoutFlag} */ public static final class LayoutFlags extends QFlags implements Comparable { private static final long serialVersionUID = 0x4713f1cf00fefce2L; static { QtJambi_LibraryUtilities.initialize(); } /** * Creates a new LayoutFlags where the flags in args are set. * @param args enum entries */ public LayoutFlags(@Nullable LayoutFlag @NonNull... args){ super(args); } /** * Creates a new LayoutFlags with given value. * @param value */ public LayoutFlags(int value) { super(value); } /** * Combines this flags with enum entry. * @param e enum entry * @return new LayoutFlags */ @Override public final @NonNull LayoutFlags combined(@StrictNonNull LayoutFlag e){ return new LayoutFlags(value() | e.value()); } /** * Sets the flag e * @param e enum entry * @return this */ public final @NonNull LayoutFlags setFlag(@Nullable LayoutFlag 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 LayoutFlags setFlag(@Nullable LayoutFlag 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 LayoutFlags. * @return array of enum entries */ @Override public final @NonNull LayoutFlag @NonNull[] flags(){ return super.flags(LayoutFlag.values()); } /** * {@inheritDoc} */ @Override public final @NonNull LayoutFlags clone(){ return new LayoutFlags(value()); } /** * {@inheritDoc} */ @Override public final int compareTo(@StrictNonNull LayoutFlags other){ return Integer.compare(value(), other.value()); } } /** *

See QRawFont::QRawFont()

*/ public QRawFont(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QRawFont instance); /** *

See QRawFont::QRawFont(QByteArray,qreal,QFont::HintingPreference)

*/ public QRawFont(io.qt.core.@NonNull QByteArray fontData, double pixelSize, io.qt.gui.QFont.@NonNull HintingPreference hintingPreference){ super((QPrivateConstructor)null); initialize_native(this, fontData, pixelSize, hintingPreference); } private native static void initialize_native(QRawFont instance, io.qt.core.QByteArray fontData, double pixelSize, io.qt.gui.QFont.HintingPreference hintingPreference); /** *

See QRawFont::QRawFont(QRawFont)

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

See QRawFont::QRawFont(QString,qreal,QFont::HintingPreference)

*/ public QRawFont(java.lang.@NonNull String fileName, double pixelSize, io.qt.gui.QFont.@NonNull HintingPreference hintingPreference){ super((QPrivateConstructor)null); initialize_native(this, fileName, pixelSize, hintingPreference); } private native static void initialize_native(QRawFont instance, java.lang.String fileName, double pixelSize, io.qt.gui.QFont.HintingPreference hintingPreference); /** *

See QRawFont::advancesForGlyphIndexes(QList<quint32>)const

*/ @QtUninvokable public final io.qt.core.@NonNull QList advancesForGlyphIndexes(java.util.@NonNull Collection glyphIndexes){ return advancesForGlyphIndexes_native_cref_QList_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), glyphIndexes); } @QtUninvokable private native io.qt.core.QList advancesForGlyphIndexes_native_cref_QList_constfct(long __this__nativeId, java.util.Collection glyphIndexes); /** *

See QRawFont::advancesForGlyphIndexes(QList<quint32>,QRawFont::LayoutFlags)const

*/ @QtUninvokable public final io.qt.core.@NonNull QList advancesForGlyphIndexes(java.util.@NonNull Collection glyphIndexes, io.qt.gui.QRawFont.@NonNull LayoutFlags layoutFlags){ return advancesForGlyphIndexes_native_cref_QList_QRawFont_LayoutFlags_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), glyphIndexes, layoutFlags.value()); } @QtUninvokable private native io.qt.core.QList advancesForGlyphIndexes_native_cref_QList_QRawFont_LayoutFlags_constfct(long __this__nativeId, java.util.Collection glyphIndexes, int layoutFlags); /** *

See QRawFont::alphaMapForGlyph(quint32,QRawFont::AntialiasingType,QTransform)const

*/ @QtUninvokable public final io.qt.gui.@NonNull QImage alphaMapForGlyph(int glyphIndex, io.qt.gui.QRawFont.@NonNull AntialiasingType antialiasingType, io.qt.gui.@NonNull QTransform transform){ return alphaMapForGlyph_native_quint32_QRawFont_AntialiasingType_cref_QTransform_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), glyphIndex, antialiasingType.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(transform)); } @QtUninvokable private native io.qt.gui.QImage alphaMapForGlyph_native_quint32_QRawFont_AntialiasingType_cref_QTransform_constfct(long __this__nativeId, int glyphIndex, int antialiasingType, long transform); /** *

See QRawFont::ascent()const

*/ @QtUninvokable public final double ascent(){ return ascent_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double ascent_native_constfct(long __this__nativeId); /** *

See QRawFont::averageCharWidth()const

*/ @QtUninvokable public final double averageCharWidth(){ return averageCharWidth_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double averageCharWidth_native_constfct(long __this__nativeId); /** *

See QRawFont::boundingRect(quint32)const

*/ @QtUninvokable public final io.qt.core.@NonNull QRectF boundingRect(int glyphIndex){ return boundingRect_native_quint32_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), glyphIndex); } @QtUninvokable private native io.qt.core.QRectF boundingRect_native_quint32_constfct(long __this__nativeId, int glyphIndex); /** *

See QRawFont::capHeight()const

*/ @QtUninvokable public final double capHeight(){ return capHeight_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double capHeight_native_constfct(long __this__nativeId); /** *

See QRawFont::descent()const

*/ @QtUninvokable public final double descent(){ return descent_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double descent_native_constfct(long __this__nativeId); /** *

See QRawFont::familyName()const

*/ @QtUninvokable public final java.lang.@NonNull String familyName(){ return familyName_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String familyName_native_constfct(long __this__nativeId); /** *

See QRawFont::fontTable(const char*)const

*/ @QtUninvokable public final io.qt.core.@NonNull QByteArray fontTable(java.lang.@Nullable String tagName){ return fontTable_native_const_char_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), tagName); } @QtUninvokable private native io.qt.core.QByteArray fontTable_native_const_char_ptr_constfct(long __this__nativeId, java.lang.String tagName); /** *

See QRawFont::glyphIndexesForString(QString)const

*/ @QtUninvokable public final io.qt.core.@NonNull QList glyphIndexesForString(java.lang.@NonNull String text){ return glyphIndexesForString_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), text); } @QtUninvokable private native io.qt.core.QList glyphIndexesForString_native_cref_QString_constfct(long __this__nativeId, java.lang.String text); /** *

See QRawFont::hintingPreference()const

*/ @QtUninvokable public final io.qt.gui.QFont.@NonNull HintingPreference hintingPreference(){ return io.qt.gui.QFont.HintingPreference.resolve(hintingPreference_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int hintingPreference_native_constfct(long __this__nativeId); /** *

See QRawFont::isValid()const

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

See QRawFont::leading()const

*/ @QtUninvokable public final double leading(){ return leading_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double leading_native_constfct(long __this__nativeId); /** *

See QRawFont::lineThickness()const

*/ @QtUninvokable public final double lineThickness(){ return lineThickness_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double lineThickness_native_constfct(long __this__nativeId); /** *

See QRawFont::loadFromData(QByteArray,qreal,QFont::HintingPreference)

*/ @QtUninvokable public final void loadFromData(io.qt.core.@NonNull QByteArray fontData, double pixelSize, io.qt.gui.QFont.@NonNull HintingPreference hintingPreference){ loadFromData_native_cref_QByteArray_qreal_QFont_HintingPreference(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(fontData), pixelSize, hintingPreference.value()); } @QtUninvokable private native void loadFromData_native_cref_QByteArray_qreal_QFont_HintingPreference(long __this__nativeId, long fontData, double pixelSize, int hintingPreference); /** *

See QRawFont::loadFromFile(QString,qreal,QFont::HintingPreference)

*/ @QtUninvokable public final void loadFromFile(java.lang.@NonNull String fileName, double pixelSize, io.qt.gui.QFont.@NonNull HintingPreference hintingPreference){ loadFromFile_native_cref_QString_qreal_QFont_HintingPreference(QtJambi_LibraryUtilities.internal.nativeId(this), fileName, pixelSize, hintingPreference.value()); } @QtUninvokable private native void loadFromFile_native_cref_QString_qreal_QFont_HintingPreference(long __this__nativeId, java.lang.String fileName, double pixelSize, int hintingPreference); /** *

See QRawFont::maxCharWidth()const

*/ @QtUninvokable public final double maxCharWidth(){ return maxCharWidth_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double maxCharWidth_native_constfct(long __this__nativeId); /** *

See QRawFont::operator=(QRawFont)

*/ @QtUninvokable public final void assign(io.qt.gui.@NonNull QRawFont other){ assign_native_cref_QRawFont(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native void assign_native_cref_QRawFont(long __this__nativeId, long other); /** *

See QRawFont::operator==(QRawFont)const

*/ @QtUninvokable public final boolean equals(io.qt.gui.@NonNull QRawFont other){ return equals_native_cref_QRawFont_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native boolean equals_native_cref_QRawFont_constfct(long __this__nativeId, long other); /** *

See QRawFont::pathForGlyph(quint32)const

*/ @QtUninvokable public final io.qt.gui.@NonNull QPainterPath pathForGlyph(int glyphIndex){ return pathForGlyph_native_quint32_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), glyphIndex); } @QtUninvokable private native io.qt.gui.QPainterPath pathForGlyph_native_quint32_constfct(long __this__nativeId, int glyphIndex); /** *

See QRawFont::pixelSize()const

*/ @QtUninvokable public final double pixelSize(){ return pixelSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double pixelSize_native_constfct(long __this__nativeId); /** *

See QRawFont::setPixelSize(qreal)

*/ @QtUninvokable public final void setPixelSize(double pixelSize){ setPixelSize_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), pixelSize); } @QtUninvokable private native void setPixelSize_native_qreal(long __this__nativeId, double pixelSize); /** *

See QRawFont::style()const

*/ @QtUninvokable public final io.qt.gui.QFont.@NonNull Style style(){ return io.qt.gui.QFont.Style.resolve(style_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int style_native_constfct(long __this__nativeId); /** *

See QRawFont::styleName()const

*/ @QtUninvokable public final java.lang.@NonNull String styleName(){ return styleName_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String styleName_native_constfct(long __this__nativeId); /** *

See QRawFont::supportedWritingSystems()const

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

See QRawFont::supportsCharacter(QChar)const

*/ @QtUninvokable public final boolean supportsCharacter(char character){ return supportsCharacter_native_QChar_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), character); } @QtUninvokable private native boolean supportsCharacter_native_QChar_constfct(long __this__nativeId, char character); /** *

See QRawFont::supportsCharacter(uint)const

*/ @QtUninvokable public final boolean supportsCharacter(int ucs4){ return supportsCharacter_native_uint_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), ucs4); } @QtUninvokable private native boolean supportsCharacter_native_uint_constfct(long __this__nativeId, int ucs4); /** *

See QRawFont::swap(QRawFont&)

*/ @QtUninvokable public final void swap(io.qt.gui.@StrictNonNull QRawFont other){ java.util.Objects.requireNonNull(other, "Argument 'other': null not expected."); swap_native_ref_QRawFont(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native void swap_native_ref_QRawFont(long __this__nativeId, long other); /** *

See QRawFont::underlinePosition()const

*/ @QtUninvokable public final double underlinePosition(){ return underlinePosition_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double underlinePosition_native_constfct(long __this__nativeId); /** *

See QRawFont::unitsPerEm()const

*/ @QtUninvokable public final double unitsPerEm(){ return unitsPerEm_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double unitsPerEm_native_constfct(long __this__nativeId); /** *

See QRawFont::weight()const

*/ @QtUninvokable public final int weight(){ return weight_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int weight_native_constfct(long __this__nativeId); /** *

See QRawFont::xHeight()const

*/ @QtUninvokable public final double xHeight(){ return xHeight_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native double xHeight_native_constfct(long __this__nativeId); /** *

See QRawFont::fromFont(QFont,QFontDatabase::WritingSystem)

*/ public static io.qt.gui.@NonNull QRawFont fromFont(io.qt.gui.@NonNull QFont font, io.qt.gui.QFontDatabase.@NonNull WritingSystem writingSystem){ return fromFont_native_cref_QFont_QFontDatabase_WritingSystem(QtJambi_LibraryUtilities.internal.checkedNativeId(font), writingSystem.value()); } private native static io.qt.gui.QRawFont fromFont_native_cref_QFont_QFontDatabase_WritingSystem(long font, int writingSystem); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QRawFont(QPrivateConstructor p) { super(p); } /** *

See QRawFont::operator==(QRawFont)const

*/ @Override @QtUninvokable public boolean equals(Object other) { if (other instanceof io.qt.gui.QRawFont) { return equals((io.qt.gui.QRawFont) other); } return false; } /** * Returns the objects's hash code computed by qHash(QRawFont). */ @QtUninvokable @Override public int hashCode() { return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native static int hashCode_native(long __this_nativeId); /** *

Creates and returns a copy of this object.

See QRawFont::QRawFont(QRawFont)

*/ @QtUninvokable @Override public QRawFont clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private static native QRawFont clone_native(long __this_nativeId); /** *

Overloaded constructor for {@link #QRawFont(io.qt.core.QByteArray, double, io.qt.gui.QFont.HintingPreference)} * with hintingPreference = io.qt.gui.QFont.HintingPreference.PreferDefaultHinting.

*/ public QRawFont(io.qt.core.@NonNull QByteArray fontData, double pixelSize) { this(fontData, pixelSize, io.qt.gui.QFont.HintingPreference.PreferDefaultHinting); } /** *

Overloaded constructor for {@link #QRawFont(byte[], double, io.qt.gui.QFont.HintingPreference)} * with hintingPreference = io.qt.gui.QFont.HintingPreference.PreferDefaultHinting.

*/ public QRawFont(byte @NonNull[] fontData, double pixelSize) { this(fontData, pixelSize, io.qt.gui.QFont.HintingPreference.PreferDefaultHinting); } /** *

Overloaded constructor for {@link #QRawFont(io.qt.core.QByteArray, double, io.qt.gui.QFont.HintingPreference)}.

*/ public QRawFont(byte @NonNull[] fontData, double pixelSize, io.qt.gui.QFont.@NonNull HintingPreference hintingPreference) { this(new io.qt.core.QByteArray(fontData), pixelSize, hintingPreference); } /** *

Overloaded constructor for {@link #QRawFont(java.lang.String, double, io.qt.gui.QFont.HintingPreference)} * with hintingPreference = io.qt.gui.QFont.HintingPreference.PreferDefaultHinting.

*/ public QRawFont(java.lang.@NonNull String fileName, double pixelSize) { this(fileName, pixelSize, io.qt.gui.QFont.HintingPreference.PreferDefaultHinting); } /** *

Overloaded function for {@link #advancesForGlyphIndexes(java.util.Collection, io.qt.gui.QRawFont.LayoutFlags)}.

*/ @QtUninvokable public final io.qt.core.@NonNull QList advancesForGlyphIndexes(java.util.@NonNull Collection glyphIndexes, io.qt.gui.QRawFont.@NonNull LayoutFlag @NonNull... layoutFlags) { return advancesForGlyphIndexes(glyphIndexes, new io.qt.gui.QRawFont.LayoutFlags(layoutFlags)); } /** *

Overloaded function for {@link #alphaMapForGlyph(int, io.qt.gui.QRawFont.AntialiasingType, io.qt.gui.QTransform)} * with transform = new io.qt.gui.QTransform().

*/ @QtUninvokable public final io.qt.gui.@NonNull QImage alphaMapForGlyph(int glyphIndex, io.qt.gui.QRawFont.@NonNull AntialiasingType antialiasingType) { return alphaMapForGlyph(glyphIndex, antialiasingType, new io.qt.gui.QTransform()); } /** *

Overloaded function for {@link #alphaMapForGlyph(int, io.qt.gui.QRawFont.AntialiasingType, io.qt.gui.QTransform)}

*

with:

    *
  • antialiasingType = io.qt.gui.QRawFont.AntialiasingType.SubPixelAntialiasing
  • *
  • transform = new io.qt.gui.QTransform()
  • *
*/ @QtUninvokable public final io.qt.gui.@NonNull QImage alphaMapForGlyph(int glyphIndex) { return alphaMapForGlyph(glyphIndex, io.qt.gui.QRawFont.AntialiasingType.SubPixelAntialiasing, new io.qt.gui.QTransform()); } /** *

Overloaded function for {@link #loadFromData(io.qt.core.QByteArray, double, io.qt.gui.QFont.HintingPreference)}.

*/ @QtUninvokable public final void loadFromData(byte @NonNull[] fontData, double pixelSize, io.qt.gui.QFont.@NonNull HintingPreference hintingPreference) { loadFromData(new io.qt.core.QByteArray(fontData), pixelSize, hintingPreference); } /** *

Overloaded function for {@link #fromFont(io.qt.gui.QFont, io.qt.gui.QFontDatabase.WritingSystem)} * with writingSystem = io.qt.gui.QFontDatabase.WritingSystem.Any.

*/ public static io.qt.gui.@NonNull QRawFont fromFont(io.qt.gui.@NonNull QFont font) { return fromFont(font, io.qt.gui.QFontDatabase.WritingSystem.Any); } /** *

Overloaded function for {@link #fromFont(java.lang.String, io.qt.gui.QFontDatabase.WritingSystem)} * with writingSystem = io.qt.gui.QFontDatabase.WritingSystem.Any.

*/ public static io.qt.gui.@NonNull QRawFont fromFont(java.lang.@NonNull String font) { return fromFont(font, io.qt.gui.QFontDatabase.WritingSystem.Any); } /** *

Overloaded function for {@link #fromFont(io.qt.gui.QFont, io.qt.gui.QFontDatabase.WritingSystem)}.

*/ public static io.qt.gui.@NonNull QRawFont fromFont(java.lang.@NonNull String font, io.qt.gui.QFontDatabase.@NonNull WritingSystem writingSystem) { return fromFont(new io.qt.gui.QFont(font), writingSystem); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy