Well AFAIK none of the SRL functions use this :S
But if I had to take a wild guess I'd probably start off with the IOManager like:
Simba Code:
Function dgsdgas: Boolean;
var
X: TClient;
begin
X:= GetTClient;
X.IOManager.ActivateClient;
X.IOManager.ExportImageTarget; //This will crash your Simba.. Dunno why YET.
end;
And the Exporting you want is actually declared here:
https://github.com/MerlijnWajer/Simb.../iomanager.pas
As:
Simba Code:
function TIOManager_Abstract.ExportImageTarget: TTarget_Exported;
begin
FillChar(result,sizeof(TTarget_Exported),0);
with result do
begin
Target:= image;
GetTargetDimensions:= @TTarget_Exported_GetTargetDimensions;
GetTargetPosition := @TTarget_Exported_GetTargetPosition;
GetColor:= @TTarget_Exported_GetColor;
ReturnData := @TTarget_Exported_ReturnData;
FreeReturnData:= @TTarget_Exported_FreeReturnData;
end;
end;