Use extraFontFlag to specify if anti-aliased fonts should be used.

Use GetPartialTextExtents.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-02-11 22:42:01 +00:00
parent e0e5663fe4
commit d1558f3d53
14 changed files with 106 additions and 68 deletions

View File

@@ -2482,7 +2482,14 @@ public:
bool DoDropText(long x, long y, const wxString& data);
#endif
// Specify whether anti-aliased fonts should be used. Will have no effect
// on some platforms, but on some (wxMac for example) can greatly improve
// performance.
void SetUseAntiAliasing(bool useAA);
// Returns the current UseAntiAliasing setting.
bool GetUseAntiAliasing();
//----------------------------------------------------------------------