view_get_screen_rect
September 8th 2024
Get the rectangle on screen covered by a view
Signature
Rect_f32
view_get_screen_rect(Application_Links* app,
View_ID view_id);
Parameters
app
the standard custom layer context pointer
view_id
the id of the view to query
Return
the rectangle covered by the view in pixels relative to the screen rectangle's top left corner, if the view exists, zero otherwise