Matthew Flatt
d5024f0f20
win64 racket/gui: another work around for Cairo clipping issues
...
Cairo doesn't seem to deal correctly with an HDC produced
by BeginPaint() that has a clipping region. The problem affects
only Win64. Work around the problem by drawing to a separate
HDC and copying to/from the screen. (To see the problem before
this patch, draw the DrRacket window to the edge of the screen
and back, and observe tha the toolbar doesn't update correctly.)
This change could affect performance, but it should mostly
be limited to refresh when a window moves.
2012-08-08 09:56:44 -06:00
Matthew Flatt
b10ad75d11
fix another problem with `erase' in a canvas dc
...
Closes PR 11625
2011-01-14 15:50:33 -07:00
Matthew Flatt
719df98d83
prevent dc<%> state contamination among transparent canvases
2010-12-27 17:43:36 -07:00
Matthew Flatt
f700a15d85
specially record transparent-canvas drawing for a small number of drawing ops
...
which enables background-sensitive smoothing of text
2010-12-17 09:27:10 -07:00
Matthew Flatt
d7f1d12ea1
clean up
2010-11-05 15:54:49 -06:00
Matthew Flatt
4f2e59e7a6
some fixes prompted by the test suite
2010-11-05 15:54:48 -06:00
Matthew Flatt
b9e6ffe18c
win32: canvas gl, almost
2010-11-05 15:54:38 -06:00
Matthew Flatt
51aacfe949
add make-screen-bitmap and canvas% make-bitmap; specialize for X11
2010-11-05 15:54:26 -06:00
Matthew Flatt
e72cf85175
toward better refresh for gtk & other bug fixes
2010-11-05 15:54:23 -06:00
Matthew Flatt
0e64be35b7
fix text-drawing performance
2010-11-05 15:54:21 -06:00
Matthew Flatt
31e46eb8b3
more cocoa refresh refinements
2010-11-05 15:54:20 -06:00
Matthew Flatt
8ed2fba67d
fix various cocoa problems
2010-11-05 15:54:20 -06:00
Matthew Flatt
2dba600d59
use Cairo's Quartz back-end for canvas buffering under Mac OS X + makes text rending look much better - makes drawing to a bitmap% different than drawing onscreen
2010-11-05 15:54:16 -06:00
Matthew Flatt
a9ffced9b8
clean up lock library and uses
2010-11-05 15:54:14 -06:00
Matthew Flatt
cc55bd7e93
restore auto-scroll canvases; fix text-rotation bug
2010-11-05 15:54:12 -06:00
Matthew Flatt
7a7658e86d
new cocoa canvas-refresh strategy
2010-11-05 15:54:12 -06:00
Matthew Flatt
bb68137829
set up backing-dc%
2010-11-05 15:54:12 -06:00