From c563199dde32ce1d04e95c478dbd6a3e352f5d4d Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 2 Nov 2009 04:51:51 +0000 Subject: Added setting for font quality to allow application to choose anti-aliased, non-anti-aliased or lcd-optimized text. --- include/Scintilla.iface | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'include/Scintilla.iface') diff --git a/include/Scintilla.iface b/include/Scintilla.iface index c524b7195..8f7c545eb 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -1205,6 +1205,21 @@ get bool GetTwoPhaseDraw=2283(,) # and then the foreground. This avoids chopping off characters that overlap the next run. set void SetTwoPhaseDraw=2284(bool twoPhase,) +# Control font anti-aliasing. + +enu FontQuality=SC_EFF_ +val SC_EFF_QUALITY_MASK=0xF +val SC_EFF_QUALITY_DEFAULT=0 +val SC_EFF_QUALITY_NON_ANTIALIASED=1 +val SC_EFF_QUALITY_ANTIALIASED=2 +val SC_EFF_QUALITY_LCD_OPTIMIZED=3 + +# Choose the quality level for text from the FontQuality enumeration. +set void SetFontQuality=2611(int fontQuality,) + +# Retrieve the quality level for text. +get int GetFontQuality=2612(,) + # Make the target range start and end be the same as the selection range start and end. fun void TargetFromSelection=2287(,) -- cgit v1.2.3