sourceRectAtTime like function in SDK, boudaries of shape layers or clipped by mask
So the question is
How to get the dimentions, boundraies of the particular layer if it dont have a source or was clipped by mask?
Here how I get it for AEGP_ObjectType_AV:
A_long extraDimetions[2] = {0, 0};
AEGP_ObjectType extraObjectType = AEGP_ObjectType_NONE;
ERR(suites.LayerSuite8()->AEGP_GetLayerObjectType(extraLayerH, &extraObjectType));
if(extraObjectType == AEGP_ObjectType_AV){
AEGP_ItemH extraItem = nullptr;
ERR(suites.LayerSuite8()->AEGP_GetLayerSourceItem(extraLayerH, &extraItem));
if(extraItem != nullptr){
ERR(suites.ItemSuite9()->AEGP_GetItemDimensions(extraItem, &extraDimetions[0], &extraDimetions[1]));
}
In another words, how to get the same or similar for AEGP_ObjectType_TEXT and AEGP_ObjectType_VECTOR?
And also how to get the boundaries for masked/clipped layer.