Initial QSfera import
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
def get_element_center_xy(element):
|
||||
rect = element.rect
|
||||
x = int(rect['x'] + (rect['width'] // 2))
|
||||
y = int(rect['y'] + (rect['height'] // 2))
|
||||
return x, y
|
||||
Reference in New Issue
Block a user