X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab2208b54e16b9aec14a20c041031ac40890c161..85bc0351f76f6d3f00460a167fc108b900e0725c:/utils/wxPython/src/gtk/gdi.py diff --git a/utils/wxPython/src/gtk/gdi.py b/utils/wxPython/src/gtk/gdi.py index 538a8eb5d2..a0e405a8e2 100644 --- a/utils/wxPython/src/gtk/gdi.py +++ b/utils/wxPython/src/gtk/gdi.py @@ -440,6 +440,9 @@ class wxDCPtr : def GetLogicalFunction(self, *_args, **_kwargs): val = apply(gdic.wxDC_GetLogicalFunction,(self,) + _args, _kwargs) return val + def GetLogicalScale(self, *_args, **_kwargs): + val = apply(gdic.wxDC_GetLogicalScale,(self,) + _args, _kwargs) + return val def GetMapMode(self, *_args, **_kwargs): val = apply(gdic.wxDC_GetMapMode,(self,) + _args, _kwargs) return val @@ -461,6 +464,10 @@ class wxDCPtr : val = apply(gdic.wxDC_GetSize,(self,) + _args, _kwargs) if val: val = wxSizePtr(val) ; val.thisown = 1 return val + def GetSizeMM(self, *_args, **_kwargs): + val = apply(gdic.wxDC_GetSizeMM,(self,) + _args, _kwargs) + if val: val = wxSizePtr(val) ; val.thisown = 1 + return val def GetTextBackground(self, *_args, **_kwargs): val = apply(gdic.wxDC_GetTextBackground,(self,) + _args, _kwargs) if val: val = wxColourPtr(val) @@ -475,6 +482,9 @@ class wxDCPtr : val = apply(gdic.wxDC_GetTextForeground,(self,) + _args, _kwargs) if val: val = wxColourPtr(val) return val + def GetUserScale(self, *_args, **_kwargs): + val = apply(gdic.wxDC_GetUserScale,(self,) + _args, _kwargs) + return val def LogicalToDeviceX(self, *_args, **_kwargs): val = apply(gdic.wxDC_LogicalToDeviceX,(self,) + _args, _kwargs) return val @@ -526,6 +536,9 @@ class wxDCPtr : def SetLogicalFunction(self, *_args, **_kwargs): val = apply(gdic.wxDC_SetLogicalFunction,(self,) + _args, _kwargs) return val + def SetLogicalScale(self, *_args, **_kwargs): + val = apply(gdic.wxDC_SetLogicalScale,(self,) + _args, _kwargs) + return val def SetMapMode(self, *_args, **_kwargs): val = apply(gdic.wxDC_SetMapMode,(self,) + _args, _kwargs) return val @@ -553,6 +566,31 @@ class wxDCPtr : def DrawBitmap(self, *_args, **_kwargs): val = apply(gdic.wxDC_DrawBitmap,(self,) + _args, _kwargs) return val + def CanDrawBitmap(self, *_args, **_kwargs): + val = apply(gdic.wxDC_CanDrawBitmap,(self,) + _args, _kwargs) + return val + def CanGetTextExtent(self, *_args, **_kwargs): + val = apply(gdic.wxDC_CanGetTextExtent,(self,) + _args, _kwargs) + return val + def GetDepth(self, *_args, **_kwargs): + val = apply(gdic.wxDC_GetDepth,(self,) + _args, _kwargs) + return val + def GetPPI(self, *_args, **_kwargs): + val = apply(gdic.wxDC_GetPPI,(self,) + _args, _kwargs) + if val: val = wxSizePtr(val) ; val.thisown = 1 + return val + def GetLogicalOrigin(self, *_args, **_kwargs): + val = apply(gdic.wxDC_GetLogicalOrigin,(self,) + _args, _kwargs) + return val + def SetLogicalOrigin(self, *_args, **_kwargs): + val = apply(gdic.wxDC_SetLogicalOrigin,(self,) + _args, _kwargs) + return val + def GetDeviceOrigin(self, *_args, **_kwargs): + val = apply(gdic.wxDC_GetDeviceOrigin,(self,) + _args, _kwargs) + return val + def SetAxisOrientation(self, *_args, **_kwargs): + val = apply(gdic.wxDC_SetAxisOrientation,(self,) + _args, _kwargs) + return val def __repr__(self): return "" % (self.this,) class wxDC(wxDCPtr): @@ -583,12 +621,12 @@ class wxScreenDCPtr(wxDCPtr): def __init__(self,this): self.this = this self.thisown = 0 + def StartDrawingOnTopWin(self, *_args, **_kwargs): + val = apply(gdic.wxScreenDC_StartDrawingOnTopWin,(self,) + _args, _kwargs) + return val def StartDrawingOnTop(self, *_args, **_kwargs): val = apply(gdic.wxScreenDC_StartDrawingOnTop,(self,) + _args, _kwargs) return val - def StartDrawingOnTopRect(self, *_args, **_kwargs): - val = apply(gdic.wxScreenDC_StartDrawingOnTopRect,(self,) + _args, _kwargs) - return val def EndDrawingOnTop(self, *_args, **_kwargs): val = apply(gdic.wxScreenDC_EndDrawingOnTop,(self,) + _args, _kwargs) return val