0
J'utilise le code suivant pour dessiner des chaînes. En GDI +AntiAlias a échoué lorsque dessiner une chaîne avec un certain angle dans 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());
Il est anoying que la chaîne dessinée a alias. Y a-t-il une méthode pour supprimer l'alias? Merci beaucoup!