mirror of
https://github.com/python/cpython.git
synced 2025-11-01 14:11:41 +00:00
Lots of minor tweaks for the pep252 checkins, mainly because Qd
attributes are no longer supported.
This commit is contained in:
parent
202355a333
commit
362c7cd07b
25 changed files with 60 additions and 61 deletions
|
|
@ -151,7 +151,7 @@ def blit(self, x1=0,y1=0,x2=None,y2=None, port=None):
|
|||
if y2 == None:
|
||||
dest[3] = y1 + src[3]-src[1]
|
||||
if not port: port = Qd.GetPort()
|
||||
Qd.CopyBits(self.PixMap(), port.portBits, src, tuple(dest),
|
||||
Qd.CopyBits(self.PixMap(), port.GetPortBitMapForCopyBits(), src, tuple(dest),
|
||||
QuickDraw.srcCopy, None)
|
||||
|
||||
def fromstring(self,s,width,height,format=imgformat.macrgb):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue