-class wxDCPtr(wxObjectPtr):
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def __del__(self, delfunc=gdic.delete_wxDC):
- if self.thisown == 1:
- try:
- delfunc(self)
- except:
- pass
- def BeginDrawing(self, *_args, **_kwargs):
- val = gdic.wxDC_BeginDrawing(self, *_args, **_kwargs)
- return val
- def Blit(self, *_args, **_kwargs):
- val = gdic.wxDC_Blit(self, *_args, **_kwargs)
- return val
- def Clear(self, *_args, **_kwargs):
- val = gdic.wxDC_Clear(self, *_args, **_kwargs)
- return val
- def CrossHair(self, *_args, **_kwargs):
- val = gdic.wxDC_CrossHair(self, *_args, **_kwargs)
- return val
- def DestroyClippingRegion(self, *_args, **_kwargs):
- val = gdic.wxDC_DestroyClippingRegion(self, *_args, **_kwargs)
- return val
- def DeviceToLogicalX(self, *_args, **_kwargs):
- val = gdic.wxDC_DeviceToLogicalX(self, *_args, **_kwargs)
- return val
- def DeviceToLogicalXRel(self, *_args, **_kwargs):
- val = gdic.wxDC_DeviceToLogicalXRel(self, *_args, **_kwargs)
- return val
- def DeviceToLogicalY(self, *_args, **_kwargs):
- val = gdic.wxDC_DeviceToLogicalY(self, *_args, **_kwargs)
- return val
- def DeviceToLogicalYRel(self, *_args, **_kwargs):
- val = gdic.wxDC_DeviceToLogicalYRel(self, *_args, **_kwargs)
- return val
- def DrawArc(self, *_args, **_kwargs):
- val = gdic.wxDC_DrawArc(self, *_args, **_kwargs)
- return val
- def DrawCircle(self, *_args, **_kwargs):
- val = gdic.wxDC_DrawCircle(self, *_args, **_kwargs)
- return val
- def DrawEllipse(self, *_args, **_kwargs):
- val = gdic.wxDC_DrawEllipse(self, *_args, **_kwargs)
- return val
- def DrawEllipticArc(self, *_args, **_kwargs):
- val = gdic.wxDC_DrawEllipticArc(self, *_args, **_kwargs)
- return val
- def DrawIcon(self, *_args, **_kwargs):
- val = gdic.wxDC_DrawIcon(self, *_args, **_kwargs)
- return val
- def DrawLabel(self, *_args, **_kwargs):
- val = gdic.wxDC_DrawLabel(self, *_args, **_kwargs)
- return val
- def DrawImageLabel(self, *_args, **_kwargs):
- val = gdic.wxDC_DrawImageLabel(self, *_args, **_kwargs)
- if val: val = wxRectPtr(val) ; val.thisown = 1
- return val
- def DrawLine(self, *_args, **_kwargs):
- val = gdic.wxDC_DrawLine(self, *_args, **_kwargs)
- return val
- def DrawLines(self, *_args, **_kwargs):
- val = gdic.wxDC_DrawLines(self, *_args, **_kwargs)
- return val
- def DrawPolygon(self, *_args, **_kwargs):
- val = gdic.wxDC_DrawPolygon(self, *_args, **_kwargs)
- return val
- def DrawPoint(self, *_args, **_kwargs):
- val = gdic.wxDC_DrawPoint(self, *_args, **_kwargs)
- return val
- def DrawRectangle(self, *_args, **_kwargs):
- val = gdic.wxDC_DrawRectangle(self, *_args, **_kwargs)
- return val
- def DrawRectangleRect(self, *_args, **_kwargs):
- val = gdic.wxDC_DrawRectangleRect(self, *_args, **_kwargs)
- return val
- def DrawRotatedText(self, *_args, **_kwargs):
- val = gdic.wxDC_DrawRotatedText(self, *_args, **_kwargs)
- return val
- def DrawRoundedRectangle(self, *_args, **_kwargs):
- val = gdic.wxDC_DrawRoundedRectangle(self, *_args, **_kwargs)
- return val
- def DrawSpline(self, *_args, **_kwargs):
- val = gdic.wxDC_DrawSpline(self, *_args, **_kwargs)
- return val
- def DrawText(self, *_args, **_kwargs):
- val = gdic.wxDC_DrawText(self, *_args, **_kwargs)
- return val
- def EndDoc(self, *_args, **_kwargs):
- val = gdic.wxDC_EndDoc(self, *_args, **_kwargs)
- return val
- def EndDrawing(self, *_args, **_kwargs):
- val = gdic.wxDC_EndDrawing(self, *_args, **_kwargs)
- return val
- def EndPage(self, *_args, **_kwargs):
- val = gdic.wxDC_EndPage(self, *_args, **_kwargs)
- return val
- def FloodFill(self, *_args, **_kwargs):
- val = gdic.wxDC_FloodFill(self, *_args, **_kwargs)
- return val
- def GetBackground(self, *_args, **_kwargs):
- val = gdic.wxDC_GetBackground(self, *_args, **_kwargs)
- if val: val = wxBrushPtr(val) ; val.thisown = 1
- return val
- def GetBrush(self, *_args, **_kwargs):
- val = gdic.wxDC_GetBrush(self, *_args, **_kwargs)
- if val: val = wxBrushPtr(val) ; val.thisown = 1
- return val
- def GetCharHeight(self, *_args, **_kwargs):
- val = gdic.wxDC_GetCharHeight(self, *_args, **_kwargs)
- return val
- def GetCharWidth(self, *_args, **_kwargs):
- val = gdic.wxDC_GetCharWidth(self, *_args, **_kwargs)
- return val
- def GetClippingBox(self, *_args, **_kwargs):
- val = gdic.wxDC_GetClippingBox(self, *_args, **_kwargs)
- return val
- def GetFont(self, *_args, **_kwargs):
- val = gdic.wxDC_GetFont(self, *_args, **_kwargs)
- if val: val = wxFontPtr(val) ; val.thisown = 1
- return val
- def GetLogicalFunction(self, *_args, **_kwargs):
- val = gdic.wxDC_GetLogicalFunction(self, *_args, **_kwargs)
- return val
- def GetLogicalScale(self, *_args, **_kwargs):
- val = gdic.wxDC_GetLogicalScale(self, *_args, **_kwargs)
- return val
- def GetMapMode(self, *_args, **_kwargs):
- val = gdic.wxDC_GetMapMode(self, *_args, **_kwargs)
- return val
- def GetOptimization(self, *_args, **_kwargs):
- val = gdic.wxDC_GetOptimization(self, *_args, **_kwargs)
- return val
- def GetPen(self, *_args, **_kwargs):
- val = gdic.wxDC_GetPen(self, *_args, **_kwargs)
- if val: val = wxPenPtr(val) ; val.thisown = 1
- return val
- def GetPixel(self, *_args, **_kwargs):
- val = gdic.wxDC_GetPixel(self, *_args, **_kwargs)
- if val: val = wxColourPtr(val) ; val.thisown = 1
- return val
- def GetSizeTuple(self, *_args, **_kwargs):
- val = gdic.wxDC_GetSizeTuple(self, *_args, **_kwargs)
- return val
- def GetSize(self, *_args, **_kwargs):
- val = gdic.wxDC_GetSize(self, *_args, **_kwargs)
- if val: val = wxSizePtr(val) ; val.thisown = 1
- return val
- def GetSizeMM(self, *_args, **_kwargs):
- val = gdic.wxDC_GetSizeMM(self, *_args, **_kwargs)
- if val: val = wxSizePtr(val) ; val.thisown = 1
- return val
- def GetTextBackground(self, *_args, **_kwargs):
- val = gdic.wxDC_GetTextBackground(self, *_args, **_kwargs)
- if val: val = wxColourPtr(val) ; val.thisown = 1
- return val
- def GetTextExtent(self, *_args, **_kwargs):
- val = gdic.wxDC_GetTextExtent(self, *_args, **_kwargs)
- return val
- def GetFullTextExtent(self, *_args, **_kwargs):
- val = gdic.wxDC_GetFullTextExtent(self, *_args, **_kwargs)
- return val
- def GetMultiLineTextExtent(self, *_args, **_kwargs):
- val = gdic.wxDC_GetMultiLineTextExtent(self, *_args, **_kwargs)
- return val
- def GetTextForeground(self, *_args, **_kwargs):
- val = gdic.wxDC_GetTextForeground(self, *_args, **_kwargs)
- if val: val = wxColourPtr(val) ; val.thisown = 1
- return val
- def GetUserScale(self, *_args, **_kwargs):
- val = gdic.wxDC_GetUserScale(self, *_args, **_kwargs)
- return val
- def LogicalToDeviceX(self, *_args, **_kwargs):
- val = gdic.wxDC_LogicalToDeviceX(self, *_args, **_kwargs)
- return val
- def LogicalToDeviceXRel(self, *_args, **_kwargs):
- val = gdic.wxDC_LogicalToDeviceXRel(self, *_args, **_kwargs)
- return val
- def LogicalToDeviceY(self, *_args, **_kwargs):
- val = gdic.wxDC_LogicalToDeviceY(self, *_args, **_kwargs)
- return val
- def LogicalToDeviceYRel(self, *_args, **_kwargs):
- val = gdic.wxDC_LogicalToDeviceYRel(self, *_args, **_kwargs)
- return val
- def MaxX(self, *_args, **_kwargs):
- val = gdic.wxDC_MaxX(self, *_args, **_kwargs)
- return val
- def MaxY(self, *_args, **_kwargs):
- val = gdic.wxDC_MaxY(self, *_args, **_kwargs)
- return val
- def MinX(self, *_args, **_kwargs):
- val = gdic.wxDC_MinX(self, *_args, **_kwargs)
- return val
- def MinY(self, *_args, **_kwargs):
- val = gdic.wxDC_MinY(self, *_args, **_kwargs)
- return val
- def Ok(self, *_args, **_kwargs):
- val = gdic.wxDC_Ok(self, *_args, **_kwargs)
- return val
- def SetDeviceOrigin(self, *_args, **_kwargs):
- val = gdic.wxDC_SetDeviceOrigin(self, *_args, **_kwargs)
- return val
- def SetBackground(self, *_args, **_kwargs):
- val = gdic.wxDC_SetBackground(self, *_args, **_kwargs)
- return val
- def SetBackgroundMode(self, *_args, **_kwargs):
- val = gdic.wxDC_SetBackgroundMode(self, *_args, **_kwargs)
- return val
- def SetClippingRegion(self, *_args, **_kwargs):
- val = gdic.wxDC_SetClippingRegion(self, *_args, **_kwargs)
- return val
- def SetClippingRegionAsRegion(self, *_args, **_kwargs):
- val = gdic.wxDC_SetClippingRegionAsRegion(self, *_args, **_kwargs)
- return val
- def SetClippingRect(self, *_args, **_kwargs):
- val = gdic.wxDC_SetClippingRect(self, *_args, **_kwargs)
- return val
- def SetPalette(self, *_args, **_kwargs):
- val = gdic.wxDC_SetPalette(self, *_args, **_kwargs)
- return val
- def SetBrush(self, *_args, **_kwargs):
- val = gdic.wxDC_SetBrush(self, *_args, **_kwargs)
- return val
- def SetFont(self, *_args, **_kwargs):
- val = gdic.wxDC_SetFont(self, *_args, **_kwargs)
- return val
- def SetLogicalFunction(self, *_args, **_kwargs):
- val = gdic.wxDC_SetLogicalFunction(self, *_args, **_kwargs)
- return val
- def SetLogicalScale(self, *_args, **_kwargs):
- val = gdic.wxDC_SetLogicalScale(self, *_args, **_kwargs)
- return val
- def SetMapMode(self, *_args, **_kwargs):
- val = gdic.wxDC_SetMapMode(self, *_args, **_kwargs)
- return val
- def SetOptimization(self, *_args, **_kwargs):
- val = gdic.wxDC_SetOptimization(self, *_args, **_kwargs)
- return val
- def SetPen(self, *_args, **_kwargs):
- val = gdic.wxDC_SetPen(self, *_args, **_kwargs)
- return val
- def SetTextBackground(self, *_args, **_kwargs):
- val = gdic.wxDC_SetTextBackground(self, *_args, **_kwargs)
- return val
- def SetTextForeground(self, *_args, **_kwargs):
- val = gdic.wxDC_SetTextForeground(self, *_args, **_kwargs)
- return val
- def SetUserScale(self, *_args, **_kwargs):
- val = gdic.wxDC_SetUserScale(self, *_args, **_kwargs)
- return val
- def StartDoc(self, *_args, **_kwargs):
- val = gdic.wxDC_StartDoc(self, *_args, **_kwargs)
- return val
- def StartPage(self, *_args, **_kwargs):
- val = gdic.wxDC_StartPage(self, *_args, **_kwargs)
- return val
- def DrawBitmap(self, *_args, **_kwargs):
- val = gdic.wxDC_DrawBitmap(self, *_args, **_kwargs)
- return val
- def CanDrawBitmap(self, *_args, **_kwargs):
- val = gdic.wxDC_CanDrawBitmap(self, *_args, **_kwargs)
- return val
- def CanGetTextExtent(self, *_args, **_kwargs):
- val = gdic.wxDC_CanGetTextExtent(self, *_args, **_kwargs)
- return val
- def GetDepth(self, *_args, **_kwargs):
- val = gdic.wxDC_GetDepth(self, *_args, **_kwargs)
- return val
- def GetPPI(self, *_args, **_kwargs):
- val = gdic.wxDC_GetPPI(self, *_args, **_kwargs)
- if val: val = wxSizePtr(val) ; val.thisown = 1
- return val
- def GetLogicalOrigin(self, *_args, **_kwargs):
- val = gdic.wxDC_GetLogicalOrigin(self, *_args, **_kwargs)
- return val
- def SetLogicalOrigin(self, *_args, **_kwargs):
- val = gdic.wxDC_SetLogicalOrigin(self, *_args, **_kwargs)
- return val
- def GetDeviceOrigin(self, *_args, **_kwargs):
- val = gdic.wxDC_GetDeviceOrigin(self, *_args, **_kwargs)
- return val
- def SetAxisOrientation(self, *_args, **_kwargs):
- val = gdic.wxDC_SetAxisOrientation(self, *_args, **_kwargs)
- return val
- def CalcBoundingBox(self, *_args, **_kwargs):
- val = gdic.wxDC_CalcBoundingBox(self, *_args, **_kwargs)
- return val
- def ResetBoundingBox(self, *_args, **_kwargs):
- val = gdic.wxDC_ResetBoundingBox(self, *_args, **_kwargs)
- return val
- def GetBoundingBox(self, *_args, **_kwargs):
- val = gdic.wxDC_GetBoundingBox(self, *_args, **_kwargs)
- return val
- def GetHDC(self, *_args, **_kwargs):
- val = gdic.wxDC_GetHDC(self, *_args, **_kwargs)
- return val
- def _DrawPointList(self, *_args, **_kwargs):
- val = gdic.wxDC__DrawPointList(self, *_args, **_kwargs)
- return val
- def _DrawLineList(self, *_args, **_kwargs):
- val = gdic.wxDC__DrawLineList(self, *_args, **_kwargs)
- return val
- def _DrawRectangleList(self, *_args, **_kwargs):
- val = gdic.wxDC__DrawRectangleList(self, *_args, **_kwargs)
- return val
- def _DrawEllipseList(self, *_args, **_kwargs):
- val = gdic.wxDC__DrawEllipseList(self, *_args, **_kwargs)
- return val
- def _DrawPolygonList(self, *_args, **_kwargs):
- val = gdic.wxDC__DrawPolygonList(self, *_args, **_kwargs)
- return val
- def _DrawTextList(self, *_args, **_kwargs):
- val = gdic.wxDC__DrawTextList(self, *_args, **_kwargs)
- return val