decipher3114/Capter

[request] Expose API for area selector

TheBearodactyl opened this issue · 3 comments

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?

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.

well then could it return those 2 values in that case?

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.