// @(#)root/gpad:$Id$ // Author: Rene Brun 12/12/94 /************************************************************************* * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * * All rights reserved. * * * * For the licensing terms see $ROOTSYS/LICENSE. * * For the list of contributors see $ROOTSYS/README/CREDITS. * *************************************************************************/ #ifndef ROOT_TCanvas #define ROOT_TCanvas #include "TPad.h" #include "TAttCanvas.h" class TCanvasImp; class TContextMenu; class TControlBar; class TCanvas : public TPad { friend class TCanvasImp; friend class TWebCanvas; friend class TThread; friend class TInterpreter; protected: TAttCanvas fCatt; ///< Canvas attributes TString fDISPLAY; ///< Name of destination screen Size_t fXsizeUser; ///< User specified size of canvas along X in CM Size_t fYsizeUser; ///< User specified size of canvas along Y in CM Size_t fXsizeReal; ///< Current size of canvas along X in CM Size_t fYsizeReal; ///< Current size of canvas along Y in CM Color_t fHighLightColor; ///< Highlight color of active pad Int_t fDoubleBuffer; ///< Double buffer flag (0=off, 1=on) Int_t fWindowTopX; ///< Top X position of window (in pixels) Int_t fWindowTopY; ///< Top Y position of window (in pixels) UInt_t fWindowWidth; ///< Width of window (including borders, etc.) UInt_t fWindowHeight; ///< Height of window (including menubar, borders, etc.) UInt_t fCw; ///< Width of the canvas along X (pixels) UInt_t fCh; ///< Height of the canvas along Y (pixels) Int_t fEvent; ///& = {}, const char *filename = "", Option_t *option = ""); ClassDefOverride(TCanvas,8) //Graphics canvas }; #endif