# encoding: utf-8
# module PyQt6.QtGui
# from C:\Users\xukai\Downloads\发票2\venv\Lib\site-packages\PyQt6\QtGui.pyd
# by generator 1.147
# no doc

# imports
import PyQt6.QtCore as __PyQt6_QtCore
import PyQt6.sip as __PyQt6_sip


class QRawFont(__PyQt6_sip.simplewrapper):
    """
    QRawFont()
    QRawFont(fileName: str, pixelSize: float, hintingPreference: QFont.HintingPreference = QFont.PreferDefaultHinting)
    QRawFont(fontData: QByteArray, pixelSize: float, hintingPreference: QFont.HintingPreference = QFont.PreferDefaultHinting)
    QRawFont(other: QRawFont)
    """
    def advancesForGlyphIndexes(self, glyphIndexes, p_int=None, *args=None, **kwargs=None): # real signature unknown; restored from __doc__ with multiple overloads
        """
        advancesForGlyphIndexes(self, glyphIndexes: Iterable[int], layoutFlags: QRawFont.LayoutFlag) -> List[QPointF]
        advancesForGlyphIndexes(self, glyphIndexes: Iterable[int]) -> List[QPointF]
        """
        return []

    def alphaMapForGlyph(self, glyphIndex, antialiasingType=None, transform=None, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """ alphaMapForGlyph(self, glyphIndex: int, antialiasingType: QRawFont.AntialiasingType = QRawFont.SubPixelAntialiasing, transform: QTransform = QTransform()) -> QImage """
        pass

    def ascent(self): # real signature unknown; restored from __doc__
        """ ascent(self) -> float """
        return 0.0

    def averageCharWidth(self): # real signature unknown; restored from __doc__
        """ averageCharWidth(self) -> float """
        return 0.0

    def boundingRect(self, glyphIndex): # real signature unknown; restored from __doc__
        """ boundingRect(self, glyphIndex: int) -> QRectF """
        pass

    def capHeight(self): # real signature unknown; restored from __doc__
        """ capHeight(self) -> float """
        return 0.0

    def descent(self): # real signature unknown; restored from __doc__
        """ descent(self) -> float """
        return 0.0

    def familyName(self): # real signature unknown; restored from __doc__
        """ familyName(self) -> str """
        return ""

    def fontTable(self, tagName): # real signature unknown; restored from __doc__
        """ fontTable(self, tagName: str) -> QByteArray """
        pass

    def fromFont(self, font, writingSystem=None): # real signature unknown; restored from __doc__
        """ fromFont(font: QFont, writingSystem: QFontDatabase.WritingSystem = QFontDatabase.Any) -> QRawFont """
        return QRawFont

    def glyphIndexesForString(self, text): # real signature unknown; restored from __doc__
        """ glyphIndexesForString(self, text: str) -> List[int] """
        return []

    def hintingPreference(self): # real signature unknown; restored from __doc__
        """ hintingPreference(self) -> QFont.HintingPreference """
        pass

    def isValid(self): # real signature unknown; restored from __doc__
        """ isValid(self) -> bool """
        return False

    def leading(self): # real signature unknown; restored from __doc__
        """ leading(self) -> float """
        return 0.0

    def lineThickness(self): # real signature unknown; restored from __doc__
        """ lineThickness(self) -> float """
        return 0.0

    def loadFromData(self, fontData, pixelSize, hintingPreference): # real signature unknown; restored from __doc__
        """ loadFromData(self, fontData: QByteArray, pixelSize: float, hintingPreference: QFont.HintingPreference) """
        pass

    def loadFromFile(self, fileName, pixelSize, hintingPreference): # real signature unknown; restored from __doc__
        """ loadFromFile(self, fileName: str, pixelSize: float, hintingPreference: QFont.HintingPreference) """
        pass

    def maxCharWidth(self): # real signature unknown; restored from __doc__
        """ maxCharWidth(self) -> float """
        return 0.0

    def pathForGlyph(self, glyphIndex): # real signature unknown; restored from __doc__
        """ pathForGlyph(self, glyphIndex: int) -> QPainterPath """
        return QPainterPath

    def pixelSize(self): # real signature unknown; restored from __doc__
        """ pixelSize(self) -> float """
        return 0.0

    def setPixelSize(self, pixelSize): # real signature unknown; restored from __doc__
        """ setPixelSize(self, pixelSize: float) """
        pass

    def style(self): # real signature unknown; restored from __doc__
        """ style(self) -> QFont.Style """
        pass

    def styleName(self): # real signature unknown; restored from __doc__
        """ styleName(self) -> str """
        return ""

    def supportedWritingSystems(self): # real signature unknown; restored from __doc__
        """ supportedWritingSystems(self) -> List[QFontDatabase.WritingSystem] """
        return []

    def supportsCharacter(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        supportsCharacter(self, ucs4: int) -> bool
        supportsCharacter(self, character: str) -> bool
        """
        return False

    def swap(self, other): # real signature unknown; restored from __doc__
        """ swap(self, other: QRawFont) """
        pass

    def underlinePosition(self): # real signature unknown; restored from __doc__
        """ underlinePosition(self) -> float """
        return 0.0

    def unitsPerEm(self): # real signature unknown; restored from __doc__
        """ unitsPerEm(self) -> float """
        return 0.0

    def weight(self): # real signature unknown; restored from __doc__
        """ weight(self) -> int """
        return 0

    def xHeight(self): # real signature unknown; restored from __doc__
        """ xHeight(self) -> float """
        return 0.0

    def __eq__(self, *args, **kwargs): # real signature unknown
        """ Return self==value. """
        pass

    def __ge__(self, *args, **kwargs): # real signature unknown
        """ Return self>=value. """
        pass

    def __gt__(self, *args, **kwargs): # real signature unknown
        """ Return self>value. """
        pass

    def __hash__(self, *args, **kwargs): # real signature unknown
        """ Return hash(self). """
        pass

    def __init__(self, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        pass

    def __le__(self, *args, **kwargs): # real signature unknown
        """ Return self<=value. """
        pass

    def __lt__(self, *args, **kwargs): # real signature unknown
        """ Return self<value. """
        pass

    def __ne__(self, *args, **kwargs): # real signature unknown
        """ Return self!=value. """
        pass

    __weakref__ = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """list of weak references to the object (if defined)"""


    AntialiasingType = None # (!) real value is "<enum 'AntialiasingType'>"
    LayoutFlag = None # (!) real value is "<flag 'LayoutFlag'>"


