+ def __del__(self, destroy=_gdi.delete_MetaFile):
+ """__del__()"""
+ try:
+ if self.thisown: destroy(self)
+ except: pass
+
+ def Ok(*args, **kwargs):
+ """Ok() -> bool"""
+ return _gdi.MetaFile_Ok(*args, **kwargs)
+
+ def SetClipboard(*args, **kwargs):
+ """SetClipboard(int width=0, int height=0) -> bool"""
+ return _gdi.MetaFile_SetClipboard(*args, **kwargs)
+
+ def GetSize(*args, **kwargs):
+ """GetSize() -> Size"""
+ return _gdi.MetaFile_GetSize(*args, **kwargs)
+
+ def GetWidth(*args, **kwargs):
+ """GetWidth() -> int"""
+ return _gdi.MetaFile_GetWidth(*args, **kwargs)
+
+ def GetHeight(*args, **kwargs):
+ """GetHeight() -> int"""
+ return _gdi.MetaFile_GetHeight(*args, **kwargs)
+
+ def __nonzero__(self): return self.Ok()