# 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 QPaintEngine(__PyQt6_sip.simplewrapper):
    """ QPaintEngine(features: QPaintEngine.PaintEngineFeature = QPaintEngine.PaintEngineFeatures()) """
    def begin(self, pdev): # real signature unknown; restored from __doc__
        """ begin(self, pdev: QPaintDevice) -> bool """
        return False

    def drawEllipse(self, r): # real signature unknown; restored from __doc__ with multiple overloads
        """
        drawEllipse(self, r: QRectF)
        drawEllipse(self, r: QRect)
        """
        pass

    def drawImage(self, r, pm, sr, flags=None): # real signature unknown; restored from __doc__
        """ drawImage(self, r: QRectF, pm: QImage, sr: QRectF, flags: Qt.ImageConversionFlag = Qt.AutoColor) """
        pass

    def drawLines(self, lines, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        drawLines(self, lines: PyQt6.sip.array[QLine])
        drawLines(self, lines: PyQt6.sip.array[QLineF])
        """
        pass

    def drawPath(self, path): # real signature unknown; restored from __doc__
        """ drawPath(self, path: QPainterPath) """
        pass

    def drawPixmap(self, r, pm, sr): # real signature unknown; restored from __doc__
        """ drawPixmap(self, r: QRectF, pm: QPixmap, sr: QRectF) """
        pass

    def drawPoints(self, points, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        drawPoints(self, points: PyQt6.sip.array[QPointF])
        drawPoints(self, points: PyQt6.sip.array[QPoint])
        """
        pass

    def drawPolygon(self, points, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        drawPolygon(self, points: PyQt6.sip.array[QPointF], mode: QPaintEngine.PolygonDrawMode)
        drawPolygon(self, points: PyQt6.sip.array[QPoint], mode: QPaintEngine.PolygonDrawMode)
        """
        pass

    def drawRects(self, rects, *__args): # real signature unknown; restored from __doc__ with multiple overloads
        """
        drawRects(self, rects: PyQt6.sip.array[QRect])
        drawRects(self, rects: PyQt6.sip.array[QRectF])
        """
        pass

    def drawTextItem(self, p, textItem): # real signature unknown; restored from __doc__
        """ drawTextItem(self, p: QPointF, textItem: QTextItem) """
        pass

    def drawTiledPixmap(self, r, pixmap, s): # real signature unknown; restored from __doc__
        """ drawTiledPixmap(self, r: QRectF, pixmap: QPixmap, s: QPointF) """
        pass

    def end(self): # real signature unknown; restored from __doc__
        """ end(self) -> bool """
        return False

    def hasFeature(self, feature): # real signature unknown; restored from __doc__
        """ hasFeature(self, feature: QPaintEngine.PaintEngineFeature) -> bool """
        return False

    def isActive(self): # real signature unknown; restored from __doc__
        """ isActive(self) -> bool """
        return False

    def paintDevice(self): # real signature unknown; restored from __doc__
        """ paintDevice(self) -> QPaintDevice """
        return QPaintDevice

    def painter(self): # real signature unknown; restored from __doc__
        """ painter(self) -> QPainter """
        return QPainter

    def setActive(self, newState): # real signature unknown; restored from __doc__
        """ setActive(self, newState: bool) """
        pass

    def setPaintDevice(self, device): # real signature unknown; restored from __doc__
        """ setPaintDevice(self, device: QPaintDevice) """
        pass

    def type(self): # real signature unknown; restored from __doc__
        """ type(self) -> QPaintEngine.Type """
        pass

    def updateState(self, state): # real signature unknown; restored from __doc__
        """ updateState(self, state: QPaintEngineState) """
        pass

    def __init__(self, features=None, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        pass

    __weakref__ = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """list of weak references to the object (if defined)"""


    DirtyFlag = None # (!) real value is "<flag 'DirtyFlag'>"
    PaintEngineFeature = None # (!) real value is "<flag 'PaintEngineFeature'>"
    PolygonDrawMode = None # (!) real value is "<enum 'PolygonDrawMode'>"
    Type = None # (!) real value is "<enum 'Type'>"


