想作一个制作印章的程序
但是不知道怎么将字体反向显示
不知道大家有什么方法能够实现
谢谢了

解决方案 »

  1.   

    You can use world transform, or render into a bitmap first and then flip to screen.
      

  2.   

    TO: FengYuanMSFT(袁峰 www.fengyuan.com) 谢谢
    怎么用文字变换
    能给个代码例子吗
      

  3.   

    如下
    XFORM xForm;
    SetGraphicsMode(pDC->GetSafeHdc(),GM_ADVANCED);
    pDC->SetMapMode(MM_TEXT);
    xForm.eM11 = (FLOAT) -1.0; 
    xForm.eM12 = (FLOAT) 0.0; 
    xForm.eM21 = (FLOAT) 0.0; 
    xForm.eM22 = (FLOAT) 1.0; 
    xForm.eDx  = (FLOAT) 0.0; 
    xForm.eDy  = (FLOAT) 0.0; 
    SetWorldTransform(pDC->GetSafeHdc(), &xForm); 
    CString s = "中文输入法";
    CSize sz = pDC->GetTextExtent(s);
    pDC->TextOut(-sz.cx,0,s,s.GetLength());
      

  4.   

    感谢 xing_xing_xing(未名)
    问题已经解决
    谢谢