public Rect2d GetCorrectTexturePosition() { Rect2d r = GetTexturePosition(); if (FlipTextureXAxis()) { r.FlipXAxis(); } if (FlipTextureYAxis()) { r.FlipYAxis(); } return(r); }