MapTo
void MapTo(BRect source, BRect destination);
fStripe.MapTo(stripeFrame,
polygon.MapTo(polygon.Frame(), bounds);
polygon.MapTo(polygon.Frame(), bounds);
polygon.MapTo(polygon.Frame(), bounds);
polygon.MapTo(polygon.Frame(), bounds);
fStripe.MapTo(stripeFrame,
testPoly1.MapTo(fromRect, toRect);
p.MapTo(BRect(0, 0, 90, 90), gradient.OffsetByCopy(600, 0));