[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] aaline
- To: pygame-users@seul.org
- Subject: [pygame] aaline
- From: Bo Jangeborg <bo@softwave.se>
- Date: Mon, 22 Mar 2004 00:48:02 +0100
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Sun, 21 Mar 2004 18:48:30 -0500
- Reply-to: pygame-users@seul.org
- Sender: owner-pygame-users@seul.org
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113
When using the aaline to send multiple points how do you define the array?
The image is 100 x 100.
box = (1,1),(90,1)
pygame.draw.aaline(self.image, (0, 0, 0,alpha),1,box,1)
This only gives me the response
TypeError: Invalid start position argument
Furthermore it would be a great help if there was samples tied in with
the documentation.
Bo)