From b42a204c6cea47b0bee61c4015d44f59f4e8dba0 Mon Sep 17 00:00:00 2001
From: Neil
The technology property allows choosing between different drawing APIs and options.
On most platforms, the only choice is SC_TECHNOLOGY_DEFAULT (0).
- On Windows Vista or later, SC_TECHNOLOGY_DIRECTWRITE (1)
+ On Windows Vista or later, SC_TECHNOLOGY_DIRECTWRITE (1) or
+ SC_TECHNOLOGY_DIRECTWRITERETAIN (2)
can be chosen to use the Direct2D and DirectWrite APIs for higher quality antialiased drawing.
+ SC_TECHNOLOGY_DIRECTWRITERETAIN differs from
+ SC_TECHNOLOGY_DIRECTWRITE 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
SCI_SETBUFFEREDDRAW(0).