1 // Scintilla source code edit control 2 /** @file FontQuality.h 3 ** Definitions to control font anti-aliasing. 4 ** Redefine constants from Scintilla.h to avoid including Scintilla.h in PlatWin.cxx. 5 **/ 6 // Copyright 1998-2009 by Neil Hodgson <[email protected]> 7 // The License.txt file describes the conditions under which this software may be distributed. 8 9 #ifndef FONTQUALITY_H 10 #define FONTQUALITY_H 11 12 namespace Scintilla { 13 14 // These definitions match Scintilla.h 15 #define SC_EFF_QUALITY_MASK 0xF 16 #define SC_EFF_QUALITY_DEFAULT 0 17 #define SC_EFF_QUALITY_NON_ANTIALIASED 1 18 #define SC_EFF_QUALITY_ANTIALIASED 2 19 #define SC_EFF_QUALITY_LCD_OPTIMIZED 3 20 21 // These definitions must match SC_TECHNOLOGY_* in Scintilla.h 22 #define SCWIN_TECH_GDI 0 23 #define SCWIN_TECH_DIRECTWRITE 1 24 25 } 26 27 #endif 28