X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/723282b61d1b85a9ab0b34c4d54fb962be3c546e..30e24d9dd5a5abf1c9a375ea259eb239b122b7f7:/wxPython/src/gtk/_gdi.py?ds=sidebyside diff --git a/wxPython/src/gtk/_gdi.py b/wxPython/src/gtk/_gdi.py index e4e1e3f775..50e075fb63 100644 --- a/wxPython/src/gtk/_gdi.py +++ b/wxPython/src/gtk/_gdi.py @@ -5518,6 +5518,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)