Re: [Pyobjc-dev] NSBitmapImageRep.getCompression_factor_
Brought to you by:
ronaldoussoren
From: Ronald O. <ous...@ci...> - 2003-09-24 10:14:26
|
On 24 sep 2003, at 11:53, Dinu Gherman wrote: > Hi, > > I see these two ObjC methods: > > NSBitmapImageRep.compressionType() > NSBitmapImageRep.compressionFactor() > > being mapped to the following PyObjC one: > > NSBitmapImageRep.getCompression_factor_() > > but I can't quite see any reason for that, since there are no > pointer arguments involved, etc. In fact, none of them takes > any argument at all, despite underscores! Emh, maybe because NSBitmapImageRep doesn't have methods named compressionType and compressionFactor? At least not according to AppKiDo. There is a method named getCompression:factor: that has two output arguments, hence 'compression, factor = bitmap.getCompression_factor_()' Ronald |