@Julian
Is something like this possible?
Code:
local merge_bm = reaper.JS_LICE_CreateBitmap(true, 5000, 5000)
function test()
for i = 1, #items do
local item_bm[i]= reaper.JS_LICE_CreateBitmap(true, 1, 1)
reaper.JS_LICE_FillRect(item_bm[i], item.x , item.y, item.w, item.h, 0x66557788, 1, "COPY" ) -- MAKE ITEM RECTANGLE
reaper.JS_LICE_Blit( merge_bm, 0, 0, item_bm[i], 0, 0, 5000, 5000, 1, "COPY") -- BLIT ITEM RECTANGLE TO MERGE IMG
end
reaper.JS_Composite(track_window, cursor.x , cursor.y, W, H, merge_bm, 0, 0, 1, 1)
end
So far I did not succeed, it just draws one big rectangle, but if its not possible I will stop trying. My code ATM draws and composites for every item.
Wanted to make envelope shadow also which I have coded, but drawing and compositing for every LICE line would not be a best thing...