[request] Expose API for area selector
TheBearodactyl opened this issue · 3 comments
TheBearodactyl commented
i was wondering if you could also add a library part of this app that exposes a few things for people to be able to use the screen area selector (yk this thing) to return a ((i32, i32), (i32, i32))
value?
decipher3114 commented
That is inefficient and not needed as none requires that. Both iced
and tiny-skia
requires coordinates of only the top-left point and the size of the selection.
TheBearodactyl commented
well then could it return those 2 values in that case?
decipher3114 commented
Since everything is handled by iced event loop, nothing can be returned from the function. It can only trigger update
function after selection which can further utilise the value.