> home > Custom Layer Boundary API

view_get_mark_pos

September 8th 2024
Get the position of the core tracked mark on a view

Signature

C++
i64
view_get_mark_pos(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 position of the view's mark in bytes, if the view exists, otherwise zero