Scintilla 4.0.3
[TortoiseGit.git] / ext / scintilla / src / FontQuality.h
blobfed018b03a6331b0f7327e233cab1623a2a3c899
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 <neilh@scintilla.org>
7 // The License.txt file describes the conditions under which this software may be distributed.
9 #ifndef FONTQUALITY_H
10 #define FONTQUALITY_H
12 namespace Scintilla {
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
21 // These definitions must match SC_TECHNOLOGY_* in Scintilla.h
22 #define SCWIN_TECH_GDI 0
23 #define SCWIN_TECH_DIRECTWRITE 1
27 #endif