aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/ScintillaDoc.html
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2014-09-03 11:25:38 +1000
committerNeil <nyamatongwe@gmail.com>2014-09-03 11:25:38 +1000
commitb42a204c6cea47b0bee61c4015d44f59f4e8dba0 (patch)
tree24f43c9bbbeaeb3902eeadd6735e7443da1c6c63 /doc/ScintillaDoc.html
parent24e83c72f610bf71f5c928d52fc6eb5172bc22a3 (diff)
downloadscintilla-mirror-b42a204c6cea47b0bee61c4015d44f59f4e8dba0.tar.gz
Added SC_TECHNOLOGY_DIRECTWRITERETAIN mode.
Diffstat (limited to 'doc/ScintillaDoc.html')
-rw-r--r--doc/ScintillaDoc.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html
index a4dd4cc9c..e58c5cc4d 100644
--- a/doc/ScintillaDoc.html
+++ b/doc/ScintillaDoc.html
@@ -3240,8 +3240,12 @@ struct Sci_TextToFind {
<b id="SCI_GETTECHNOLOGY">SCI_GETTECHNOLOGY</b><br />
The technology property allows choosing between different drawing APIs and options.
On most platforms, the only choice is <code>SC_TECHNOLOGY_DEFAULT</code> (0).
- On Windows Vista or later, <code>SC_TECHNOLOGY_DIRECTWRITE</code> (1)
+ On Windows Vista or later, <code>SC_TECHNOLOGY_DIRECTWRITE</code> (1) or
+ <code>SC_TECHNOLOGY_DIRECTWRITERETAIN</code> (2)
can be chosen to use the Direct2D and DirectWrite APIs for higher quality antialiased drawing.
+ <code>SC_TECHNOLOGY_DIRECTWRITERETAIN</code> differs from
+ <code>SC_TECHNOLOGY_DIRECTWRITE</code> by requesting that the frame
+ is retained after being presented which may prevent drawing failures on some cards and drivers.
Since Direct2D buffers drawing, Scintilla's buffering can be turned off with
<code>SCI_SETBUFFEREDDRAW(0)</code>.</p>