Rene Brun writes: > Hi Brett, > > Use the pad ClipFrame facility. > See examples in TGraph.cxx. Seatrch for > SetBit(kClipFrame); > gPad->ResetBit(kClipFrame); Thanks, I tried wrapping each Paint() call like this: this->SetBit(TGraph::kClipFrame,true); // do painting.... this->ResetBit(TGraph::kClipFrame); and it works fine for my TLine derived classes but when it comes to painting some TBox derived classes the clipping doesn't work. Checking TPad, I see that PaintBox() doesn't respect kClipFrame. I'll try reimplementing my stuff using a dedicated TPad for the central region. Thanks, -Brett.
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:44 MET