aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Scintilla.iface
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2009-11-02 04:51:51 +0000
committernyamatongwe <devnull@localhost>2009-11-02 04:51:51 +0000
commit212257e28c87cd6ed2ff244ee6518be0c73fa342 (patch)
tree517893f316edf898a972316bbcd3b7b64c82de0f /include/Scintilla.iface
parenta307f5df25fbf8f4e545bdd74a7da6a466568497 (diff)
downloadscintilla-mirror-212257e28c87cd6ed2ff244ee6518be0c73fa342.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(,)