Thanks Rodrigo. That was pure enlightment . I just didn't "see" the triangle...
So... I have two angles (90 and element-rotation) and the "c2" with "c2" either being the width or the height of the element, depending on the current element rotation. That way I'm able to calculate "a" and "b" for any rotation.
Thanks for such a great help!!!