0

次のコードを使用して文字列を描画しています。GDI+ で

Graphics tempFontGr(XXX);
Matrix* myPathMatrix = NULL;
 myPathMatrix->Rotate(GetDCAngle(), MatrixOrderPrepend);
cantempFontGr.SetTransform(myPathMatrix);
tempFontGr.SetInterpolationMode(InterpolationModeHighQuality);
tempFontGr.SetSmoothingMode(SmoothingModeAntiAlias);
tempFontGr.DrawString(m_sWords, -1, tempFont.get(), tempRec, NULL, m_pBrush.get());

描画された文字列にエイリアスがあるのは厄介です。エイリアスを削除する方法はありますか? どうもありがとう!

4

1 に答える 1

1

SetSmoothingMode直線と曲線に適用されます。試すSetTextRenderingHint

于 2010-01-04T11:28:53.493 に答える