From 109e8f3af847b7fc2b227a32bc1de7bdd516bf5a Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 15 Feb 2003 03:42:53 +0000 Subject: Two phase drawing with demontration of italic "V" followed by "_". --- doc/ScintillaDoc.html | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'doc/ScintillaDoc.html') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index a54545ca3..f130fe4f8 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -2136,7 +2136,7 @@ struct TextToFind { SCI_GETUSEPALETTE
SCI_SETBUFFEREDDRAW(bool isBuffered)
SCI_GETBUFFEREDDRAW
- SCI_SETTWOPHASEDRAW
+ SCI_SETTWOPHASEDRAW(bool twoPhase)
SCI_GETTWOPHASEDRAW
SCI_SETCODEPAGE(int codePage)
SCI_GETCODEPAGE
@@ -2182,14 +2182,16 @@ struct TextToFind { bitmap to the screen. This avoids flickering although it does take longer. The default is for drawing to be buffered.

-

SCI_SETTWOPHASEDRAW(bool isBuffered)
+

SCI_SETTWOPHASEDRAW(bool twoPhase)
SCI_GETTWOPHASEDRAW
Two phase drawing is a better but slower way of drawing text. In single phase drawing each run of characters in one style is drawn along with its background. - If a character overhangs the end of a run, such as in "T." where the "T" is in a different style - from the ".", then this can cause the right hand side of the "T" to be overdrawn by the background of - the "." which cuts it off. Two phase drawing fixes this by drawing all the backgrounds first and then - drawing the text in transparent mode. Two phase drawing may flicker more than single phase + If a character overhangs the end of a run, such as in "V_" where the + "V" is in a different style from the "_", then this can cause the right hand + side of the "V" to be overdrawn by the background of the "_" which + cuts it off. Two phase drawing + fixes this by drawing all the backgrounds first and then drawing the text in + transparent mode. Two phase drawing may flicker more than single phase unless buffered drawing is on. The default is for drawing to be two phase.

SCI_SETCODEPAGE(int codePage)
-- cgit v1.2.3