This is a slim code snippet which demonstrates the problem. I work with two
buffers, one for holding the whole drawing area and a subbuffer for
rendering the graph. In my drawing routine i first create the graph
(gdc-calls in DrawGraph()), then i blit it into the main picture. In
DrawGraph() one can see drawing instructions inside and outside of the
clipping region. The problem is that on Linux i never can see anything i
draw while the clipping region is set up.
Can you reproduce the problem now? Thanx in advance for any help!
Oliver
ChartTest.py (4.18 KB)
···
-----Ursprüngliche Nachricht-----
Von: cbarker [mailto:cbarker] Im Auftrag von Chris Barker
Gesendet: Montag, 22. September 2003 23:30
An: wxPython-users@lists.wxwindows.org
Betreff: Re: [wxPython-users] SetClippingRegion
Robin Dunn wrote:
Oliver Walczak wrote:
>It seems that
> SetClippingRegion on Linux seems to protect the whole buffer, not
>only the rectangle i looking for. Has anybody some hints or
>workarounds for me? In first i thought aboutPlease reduce your app to a small sample that shows just this problem
and then people here will be able to take a look and offer
suggestions.
I remember something being different about SetClippingRegion between GTK and
MSW, I fixed it for wxPyPlot, but I dopn't remember what it was. As Robin
suggested, post some code, and I'll take a look.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker@noaa.gov
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org