[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] pygame.transform.scale
- To: "pygame-users@xxxxxxxx" <pygame-users@xxxxxxxx>
- Subject: [pygame] pygame.transform.scale
- From: "Ian Mallett" <geometrian@xxxxxxxxx>
- Date: Thu, 8 Nov 2007 12:27:52 -0800
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Thu, 08 Nov 2007 15:28:01 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=i5FyuP5it3ogO2Qcx6Ijmk3mUMdu7RADQvG04YYQYis=; b=DouzW3os15Mb8fJiwb7Ou9FsKrrcJeOmOP73ERXo/2SDRXlhnLKD5DTHC+cYOEUe/bKz6f/gk+0YN3WwhFbumN1TERTlWP5DgYtXiW6Z2yjdvG+t14yhD7Vs0c6RkXklGzTVEM34S1N3dPRuXuhOhpFSYHgDr7421snOVW5spjc=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=M+pQUozV5IZAf/M0vqBv9AiAYhxJHoCXW0wjoJdz138sJwX2kcJ8JYVEuSWnYmhLmyrAKZqztb33FmjJzRK8Y7cIHF4MLHPxh2ExF69dsA8SfDIV3BgQb8fGdWdo6lvM0uU0lpbAXtF6zwgBxjP/k4NnauORz+m1Qsbu6HgIuak=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
pygame.transform.scale() makes a runtime error if the scaling factor
is enormous. For example, a surface 2 pixels square doesn't work to
scale by 900. The surface's size is not the problem, either.
(Scaling it two or three times works).
Ian