除了Sergey概述的方法,您还可以使用Graphics.ScaleTransform()反映Y轴的所有内容.
例如,创建一个默认的Windows窗体应用程序并将以下内容OnPaint()放入其中,然后运行它:
protected override void OnPaint(PaintEventArgs e)
{
base.OnPaint(e);
string text = "This will come out backwards";
e.Graphics.ScaleTransform(-1, 1);
float w = e.Graphics.MeasureString(text, this.Font).Width;
e.Graphics.DrawString(text, this.Font, Brushes.Black, -w, 0);
}
Run Code Online (Sandbox Code Playgroud)
输出:

您也可以使用Graphics.RotateTransform()旋转文本,并使用Graphics.ScaleTransform(1, -1)它反转它以及镜像它:
