You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Kivy users support
what is a good way to avoid such a behavior of the scatter (see attached gif)?
I
mean I don't want the scatter to let me do scaling/translation/rotation outside the visible
part of the image, that is, to move the image only when the mouse is
inside the circle.
I understand scatter is a rectangle and it can not be made in any other shape. but
I think there is a way to check if the mouse is on a colored or
transparent pixel of the png image and if the pixel under the mouse is
transparent, that is, we do not see the color here, then we set do_scale and do_translation = 0