aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Scintilla.iface
diff options
context:
space:
mode:
authornyamatongwe <unknown>2009-11-02 04:51:51 +0000
committernyamatongwe <unknown>2009-11-02 04:51:51 +0000
commitc563199dde32ce1d04e95c478dbd6a3e352f5d4d (patch)
tree517893f316edf898a972316bbcd3b7b64c82de0f /include/Scintilla.iface
parentdde4d3e2775b52a8b678d209c2299ec637210a03 (diff)
downloadscintilla-mirror-c563199dde32ce1d04e95c478dbd6a3e352f5d4d.tar.gz
Added setting for font quality to allow application to choose anti-aliased,
non-anti-aliased or lcd-optimized text.
Diffstat (limited to 'include/Scintilla.iface')
-rw-r--r--include/Scintilla.iface15
1 files changed, 15 insertions, 0 deletions
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(,)