Parent scale does not account for child rotation

How about a work around? Being able to rotate then scale to achieve effect illustrated above is very important to my project. If one wanted to modify engine code for this where would we start?