[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] transparent images
- To: mva@xxxxxxxxxxxx, pygame-users@xxxxxxxx
- Subject: [pygame] transparent images
- From: David <dvkeeney@xxxxxxxxx>
- Date: Sun, 22 Apr 2007 14:03:03 -0400
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Sun, 22 Apr 2007 14:03:13 -0400
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=ZVONazMI1FSGzoUEOb343GaRK8BcKHt5bjdm1Vf3z1VrbMYqq+qBYts/2BKr+uKY/CjINIiB31HyRDaYRrRPrs6prcowu3X21nSyDkCeUrPFrN7TwRo0zfc0AmnpzAHkpvRVpm7Tpk63kH3wzCayJRzlITGqm/3VuMtcYAO/BCI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=sAatDVwpO9muwTOwSwp+1cHCh32PqenIjSuj144ycf1K0VD0fy0o/78W1YJQpQZV4iUZ/l6axBJmGJ8ar473/qK+P7kiHQTe30gU3ws9d7K8oERWfS8hyo7rvyiQO/wmtK7e1faMu/h/Wpm2GeY+DRzBJfqJOyj/A/3/blXY1uE=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Marcus:
I would like to have a transparent image map.
Subclassing Style with:
def draw_imagemap(imagemap):
return imagemap.picture
and subclassing ImageMap class to use new Style subclass works, but bypasses the bordering code and maybe other functionality.
Is there a better way to get a transparent image map?
David
--
dkeeney@xxxxxxxxxxxxxxxx
Pitcher's Duel ->
pitchersduel.python-hosting.com