CreateImage: optional background color
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
CreateImage: optional background color
Currently, to create a transparent image you have to supply 32|#PB_Image_Transparent for the depth. This is not very intuitive imho and could be improved by adding one more optional parameter to CreateImage, for the background color of the coder's choice. One of these could be #PB_Image_Transparent, which I think is a much better place for it. Also, with the enhanced functionality of being able to choose any background color, we are saved lots of keystrokes with startdrawing, box, etc.
BERESHEIT
-
- Always Here
- Posts: 6426
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: CreateImage: optional background color
A definite +1 

IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.