What do the parameters mean? Didn't find that in Simba documentation.
What do the parameters mean? Didn't find that in Simba documentation.
It might be easier to just use CopyClientToBitmap? The IOManager object you have to pass to TMufasaBitmap.CopyClientToBitmap contains information about the client. If you want to use the client set in Simba, I think you can use GetTClient.IOManager.
How do I use CopyClientToBitmap, when I want to get a TBitmap? In TMufasaBitmap there is a .ToTBitmap property, I was planning on using that.
TCanvas is also fine, the main point is I want to input the TBitmap or TCanvas to a function that's in a plugin. I'd use just integer ofcourse but I don't know how to handle integers as bitmaps inside plugins.
Every bitmap in Simba is stored in the bitmap array (like with SCAR). So when you create a new bitmap with BitmapFromString for example, you actually create a TMufasaBitmap object, but you only get the index returned (as integer). To get the object that belongs to the index you can use GetMufafsaBitmap. To get the index that belongs to the object you can use TMufasaBitmap.Index.
There are currently 1 users browsing this thread. (0 members and 1 guests)