X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/723282b61d1b85a9ab0b34c4d54fb962be3c546e..474e2ff2c8901e5ef5b376d3206d95dbaab62625:/wxPython/src/msw/_gdi.py?ds=inline diff --git a/wxPython/src/msw/_gdi.py b/wxPython/src/msw/_gdi.py index 495cab4f79..a9b9745df1 100644 --- a/wxPython/src/msw/_gdi.py +++ b/wxPython/src/msw/_gdi.py @@ -5643,6 +5643,22 @@ class GraphicsContext(GraphicsObject): """ return _gdi_.GraphicsContext_GetNativeContext(*args, **kwargs) + def GetLogicalFunction(*args, **kwargs): + """ + GetLogicalFunction(self) -> int + + Returns the current logical function. + """ + return _gdi_.GraphicsContext_GetLogicalFunction(*args, **kwargs) + + def SetLogicalFunction(*args, **kwargs): + """ + SetLogicalFunction(self, int function) -> bool + + Sets the current logical function, returns ``True`` if it supported + """ + return _gdi_.GraphicsContext_SetLogicalFunction(*args, **kwargs) + def Translate(*args, **kwargs): """ Translate(self, Double dx, Double dy)