12 #ifndef ROOT_TGShapedFrame
13 #define ROOT_TGShapedFrame
23 class TGShapedFrame :
public TGCompositeFrame {
26 TGShapedFrame(
const TGShapedFrame&);
27 TGShapedFrame& operator=(
const TGShapedFrame&);
30 const TGPicture *fBgnd;
32 virtual void DoRedraw() {}
35 TGShapedFrame(
const char *fname=0,
const TGWindow *p=0, UInt_t w=1, UInt_t h=1, UInt_t options=0);
36 virtual ~TGShapedFrame();
38 const TGPicture GetPicture()
const {
return *fBgnd; }
39 TImage GetImage()
const {
return *fImage; }
41 virtual void SavePrimitive(std::ostream &out, Option_t *option =
"");
43 ClassDef(TGShapedFrame, 0)