'Adding texts to flipped System.Windows.Controls Image

I have a wpf image and want to flip it then add to some texts to the image. My below code flips the image but when i add some texts to the image after flipping, the texts also is flipped. How can i avoid this situation ?

      //Rotate image in xaml, named 'shipBackImage'
      shipBackImage.RenderTransformOrigin = new Point(0.5, 0.5);
      ScaleTransform flipTransform = new ScaleTransform();
      flipTransform.ScaleX = -1;
      shipBackImage.RenderTransform = flipTransform;
            
           
      //Below method 'SetComponentsOnImage' adds some texts to the image.
      shipBackImage.Source =     ImageHandler.GetInstance().SetComponentsOnImage((RenderTargetBitmap)shipBackImage.Source, BitmapType.Back);

I expected no rotation to texts



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source