(Nearly) all PB functions working with images are using the image number but not the image ID (CopyImage, CreateImage, Grabimage etc.). Wouldn't it be nice to see all functions doing it the same way? I'm using PB for a quite while, so I handle these functions the right way, but I still find it a little bit irritating...
I know, this is a radical change and would need a lot of work adapting old source codes. To reduce this problem, two functions for the same thing (e.g. DrawImage/DrawImageID) could be an idea. Of course, everyone could write his own macros doing the job, but then all these things have to be added to each snippet in the forum etc.
Change/Add command for DrawImage
- Michael Vogel
- Addict
- Posts: 2798
- Joined: Thu Feb 09, 2006 11:27 pm
- Contact:
-
- Always Here
- Posts: 6426
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: Change/Add command for DrawImage
+1 I often get into trouble with this 

IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
Re: Change/Add command for DrawImage
-1
The procedures requiring an ImageID allow you to use api created images.
The procedures requiring an ImageID allow you to use api created images.
Windows (x64)
Raspberry Pi OS (Arm64)
Raspberry Pi OS (Arm64)
Re: Change/Add command for DrawImage
Thats the point, so I also disagree...wilbert wrote:-1
The procedures requiring an ImageID allow you to use api created images.
- Michael Vogel
- Addict
- Posts: 2798
- Joined: Thu Feb 09, 2006 11:27 pm
- Contact:
Re: Change/Add command for DrawImage
I know, this is a controversial subject, but as written in the first posting, there are different possibilities to use image handles as wellwilbert wrote:-1
The procedures requiring an ImageID allow you to use api created images.
