[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] hoe to create the RoundRect ?
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] hoe to create the RoundRect ?
- From: "Ian Mallett" <geometrian@xxxxxxxxx>
- Date: Thu, 27 Mar 2008 01:45:26 -0700
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Thu, 27 Mar 2008 04:45:34 -0400
- 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:in-reply-to:mime-version:content-type:references; bh=QpnAPsmJFgDIQSC0C/xLnFzfwRVFZh1PSFHelBnTqaM=; b=qKpY8hciZB4zWocLGC9lkI9OEsSLQPar5eCg+KJedCNwRoRAIP7hB+pX7S3hGGoftkR1MqP4YOrb0ix98r+IZTbc4vcQxvQEy2mCtXYhqqN0H57oVY+eM9BVWo+zFJ6CnlliO4VcD0bVSD4XxuMhfNwrmpsHnk1ekLivlG4+ldY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=LXsgY1BywjvGvWwrA1JAlaia8Kh49WuRZlNj5s2JlcQDiH7yx+4KPQ5gw5M59O1/jkun85JAzWusHcNjsCW9Yb69GKgvg3BJRi3Zz0uj0MgOGSPj9++Pvc7gbT3rLnAybwAQvN3wivZneKpGPSsoja4gMcUUmEV8XSc3DAPViPg=
- In-reply-to: <04df01c88fe1$a80f07b0$5fc513ac@xxxxxxxx>
- References: <04df01c88fe1$a80f07b0$5fc513ac@xxxxxxxx>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Do you mean like a rectangle with rounded edges? As far as I know, PyGame doesn't go that. You can, however, make several rectangles of different sizes, and draw them over each other. Because they overlap, they will appear to form a rounded rectangle.
Ian