I would like to determine a point (top left corner) of a displayed object. I have all the properties set (x,y,width,height,rotation). How can I have a new point on the red line with a spacing of 10 from the origin point (x, y) ?
x1 = x + 10 * sin(rotation/180*pi);
y1 = y - 10 * cos(rotation/180*pi);
Retrieving data ...