I have following piece of code :
origin x = x + width / 2 y = y + height / 2 here x is 10 y is 10 width is 120 height is 120
x = x + width / 2
y = y + height / 2