Class TCanvas


class TCanvas
derived from TPad


Constructor Summary
TCanvas(Bool_t build)
           
TCanvas(const char * name, const char * title, Int_t form)
           
TCanvas(const char * name, const char * title, Int_t ww, Int_t wh)
           
TCanvas(const char * name, const char * title, Int_t wtopx, Int_t wtopy, Int_t ww, Int_t wh)
           
TCanvas(const char * name, Int_t ww, Int_t wh, Int_t winid)
           

Destructor Summary
 virtual ~TCanvas()
           

Method Summary
 virtual voidBrowse(TBrowser * b)
           
 voidcd(Int_t subpadnumber)
           
 voidClear(Option_t * option)
           
 voidClose(Option_t * option)
           
 virtual voidDraw(Option_t * option)
           
 virtual const TObject *DrawClone(Option_t * option)
           
 virtual TObject *DrawClonePad()
           
 virtual voidEditorBar()
           
 voidEnterLeave(TPad * prevSelPad, TObject * prevSelObj)
           
 voidFeedbackMode(Bool_t set)
           
 voidFlush()
           
 voidForceUpdate()
           
 const Bool_tGetAutoExec()
           
 const Int_tGetCanvasID()
           
 const TCanvasImp *GetCanvasImp()
           
 virtual voidGetCanvasPar(Int_t & wtopx, Int_t & wtopy, UInt_t & ww, UInt_t & wh)
           
 const TContextMenu *GetContextMenu()
           
 const const char *GetDISPLAY()
           
 const Int_tGetDoubleBuffer()
           
 const TControlBar *GetEditorBar()
           
 const Int_tGetEvent()
           
 const Int_tGetEventX()
           
 const Int_tGetEventY()
           
 const Color_tGetHighLightColor()
           
 virtual void *GetPadDivision(Int_t xdivision, Int_t ydivision)
           
 const TVirtualPad *GetPadSave()
           
 const TObject *GetSelected()
           
 const Option_t *GetSelectedOpt()
           
 const TVirtualPad *GetSelectedPad()
           
 Bool_tGetShowEventStatus()
           
 const UInt_tGetWh()
           
 const UInt_tGetWindowHeight()
           
 Int_tGetWindowTopX()
           
 Int_tGetWindowTopY()
           
 const UInt_tGetWindowWidth()
           
 const UInt_tGetWw()
           
 const Size_tGetXsizeReal()
           
 const Size_tGetXsizeUser()
           
 const Size_tGetYsizeReal()
           
 const Size_tGetYsizeUser()
           
 virtual voidHandleInput(EEventType button, Int_t x, Int_t y)
           
 const Bool_tHasMenuBar()
           
 voidIconify()
           
 const Bool_tIsBatch()
           
 const Bool_tIsRetained()
           
 virtual const voidls(Option_t * option)
           
 static voidMakeDefCanvas()
           
 voidMoveOpaque(Int_t set)
           
 const Bool_tOpaqueMoving()
           
 const Bool_tOpaqueResizing()
           
 virtual voidPaint(Option_t * option)
           
 virtual TPad *Pick(Int_t px, Int_t py, TObjLink * & pickobj)
           
 virtual TPad *Pick(Int_t px, Int_t py, TObject * prevSelObj)
           
 virtual voidPicked(TPad * selpad, TObject * selected, Int_t event)
           
 virtual voidProcessedEvent(Int_t event, Int_t x, Int_t y, TObject * selected)
           
 virtual voidResize(Option_t * option)
           
 voidResizeOpaque(Int_t set)
           
 voidSaveSource(const char * filename, Option_t * option)
           
 voidSetBatch(Bool_t batch)
           
 voidSetCanvasSize(UInt_t ww, UInt_t wh)
           
 virtual voidSetCursor(ECursor cursor)
           
 virtual voidSetDoubleBuffer(Int_t mode)
           
 voidSetHighLightColor(Color_t col)
           
 voidSetRetained(Bool_t retained)
           
 voidSetSelected(TObject * obj)
           
 voidSetSelectedPad(TPad * pad)
           
 voidSetTitle(const char * title)
           
 voidSetWindowPosition(Int_t x, Int_t y)
           
 voidSetWindowSize(UInt_t ww, UInt_t wh)
           
 voidShow()
           
 virtual voidSize(Float_t xsizeuser, Float_t ysizeuser)
           
 virtual voidToggleAutoExec()
           
 virtual voidToggleEventStatus()
           
 virtual voidUpdate()
           
 voidUseCurrentStyle()
           

Methods inherited from class TPad
AbsCoordinates, AbsPixeltoX, AbsPixeltoY, AbsPixeltoXY, AddExec, AutoExec, Clip, Clip, ClippingCode, CopyPixmap, CopyPixmaps, CreateNewLine, CreateNewEllipse, CreateNewPad, CreateNewPave, CreateNewPolyLine, CreateNewText, DeleteExec, Divide, DrawClassObject, DrawColorTable, DrawCrosshair, DrawFrame, DrawLine, DrawLineNDC, DrawText, DrawTextNDC, FindObject, FindObject, GetBorderMode, GetBorderSize, GetCrosshair, GetFrame, GetRange, GetRangeAxis, GetPadPar, GetXlowNDC, GetYlowNDC, GetWNDC, GetHNDC, GetAbsXlowNDC, GetAbsYlowNDC, GetAbsWNDC, GetAbsHNDC, GetPhi, GetTheta, GetUxmin, GetUymin, GetUxmax, GetUymax, GetGridx, GetGridy, GetNumber, GetTickx, GetTicky, GetX1, GetX2, GetY1, GetY2, GetListOfPrimitives, GetListOfExecs, GetPrimitive, GetPadPointer, GetView, GetView3D, GetLogx, GetLogy, GetLogz, GetMother, GetName, GetTitle, GetCanvas, GetVirtCanvas, GetPadPaint, GetPixmapID, HasCrosshair, HighLight, IsEditable, IsFolder, IsModified, Modified, PadtoX, PadtoY, PaintBox, PaintFillArea, PaintFillArea, PaintPadFrame, PaintLine, PaintLineNDC, PaintLine3D, PaintLine3D, PaintPolyLine, PaintPolyLine, PaintPolyLine3D, PaintPolyLineNDC, PaintPolyMarker, PaintPolyMarker, PaintModified, PaintText, PaintTextNDC, PixeltoX, PixeltoY, PixeltoXY, Pop, Print, Print, Range, RangeAxis, RecursiveRemove, RedrawAxis, ResetView3D, ResizePad, SaveAs, SetBorderMode, SetBorderSize, SetCanvas, SetCrosshair, SetDrawOption, SetEditable, SetGrid, SetGridx, SetGridy, SetFillStyle, SetLogx, SetLogy, SetLogz, SetNumber, SetPad, SetPad, SetAttFillPS, SetAttLinePS, SetAttMarkerPS, SetAttTextPS, SetName, SetTicks, SetTickx, SetTicky, SetTheta, SetPhi, SetToolTipText, SetView, UtoAbsPixel, VtoAbsPixel, UtoPixel, VtoPixel, WaitPrimitive, XtoAbsPixel, YtoAbsPixel, XtoPad, YtoPad, XtoPixel, YtoPixel, XYtoAbsPixel, XYtoPixel, CreateToolTip, DeleteToolTip, ResetToolTip, CloseToolTip, x3d

Methods inherited from class TVirtualPad
IsBeingResized, PaintBorderPS, Pad

Methods inherited from class TObject
operator=, AppendPad, ClassName, Clone, Compare, Copy, Delete, DistancetoPrimitive, DrawClass, Dump, Execute, Execute, ExecuteEvent, GetDrawOption, GetUniqueID, GetIconName, GetOption, GetObjectInfo, HandleTimer, Hash, InheritsFrom, InheritsFrom, Inspect, IsEqual, IsSortable, IsOnHeap, IsZombie, Notify, Print, Read, SavePrimitive, SetUniqueID, Write, operatornew, operatornew, operatordelete, operatordelete, SetBit, SetBit, ResetBit, TestBit, InvertBit, Warning, Error, SysError, Fatal, AbstractMethod, MayNotUse, GetDtorOnly, SetDtorOnly, GetObjectStat, SetObjectStat

Methods inherited from class TAttLine
Copy, DistancetoLine, GetLineColor, GetLineStyle, GetLineWidth, Modify, ResetAttLine, SaveLineAttributes, SetLineAttributes, SetLineColor, SetLineStyle, SetLineWidth

Methods inherited from class TAttFill
Copy, GetFillColor, GetFillStyle, IsTransparent, ResetAttFill, SaveFillAttributes, SetFillAttributes, SetFillColor

Methods inherited from class TAttPad
Copy, GetBottomMargin, GetLeftMargin, GetRightMargin, GetTopMargin, GetAfile, GetXfile, GetYfile, GetAstat, GetXstat, GetYstat, GetFrameFillColor, GetFrameLineColor, GetFrameFillStyle, GetFrameLineStyle, GetFrameLineWidth, GetFrameBorderSize, GetFrameBorderMode, ResetAttPad, SetBottomMargin, SetLeftMargin, SetRightMargin, SetTopMargin, SetAfile, SetXfile, SetYfile, SetAstat, SetXstat, SetYstat, SetFrameFillColor, SetFrameLineColor, SetFrameFillStyle, SetFrameLineStyle, SetFrameLineWidth, SetFrameBorderSize, SetFrameBorderMode

Methods inherited from class TQObject
Emit, Emit, Emit, Emit, Emit, Emit, Emit, Emit, Emit, Emit, Emit, Emit, Emit, Connect, Disconnect, HighPriority, LowPriority, HasConnection, NumberOfSignals, NumberOfConnections, Connected, Disconnected, Destroyed, ChangedBy, Message, Connect, Connect, Disconnect, Disconnect, LoadRQ_OBJECT

Constructor Detail

TCanvas

public TCanvas(Bool_t build)

TCanvas

public TCanvas(const char * name, const char * title, Int_t form)

TCanvas

public TCanvas(const char * name, const char * title, Int_t ww, Int_t wh)

TCanvas

public TCanvas(const char * name, const char * title, Int_t wtopx, Int_t wtopy, Int_t ww, Int_t wh)

TCanvas

public TCanvas(const char * name, Int_t ww, Int_t wh, Int_t winid)
Method Detail

~TCanvas

public virtual ~TCanvas()
Method Detail

Browse

public virtual void Browse(TBrowser * b)

cd

public void cd(Int_t subpadnumber)

Clear

public void Clear(Option_t * option)

Close

public void Close(Option_t * option)

Draw

public virtual void Draw(Option_t * option)

DrawClone

public virtual const TObject * DrawClone(Option_t * option)

DrawClonePad

public virtual TObject * DrawClonePad()

EditorBar

public virtual void EditorBar()

EnterLeave

public void EnterLeave(TPad * prevSelPad, TObject * prevSelObj)

FeedbackMode

public void FeedbackMode(Bool_t set)

Flush

public void Flush()

ForceUpdate

public void ForceUpdate()

GetAutoExec

public const Bool_t GetAutoExec()

GetCanvasID

public const Int_t GetCanvasID()

GetCanvasImp

public const TCanvasImp * GetCanvasImp()

GetCanvasPar

public virtual void GetCanvasPar(Int_t & wtopx, Int_t & wtopy, UInt_t & ww, UInt_t & wh)

GetContextMenu

public const TContextMenu * GetContextMenu()

GetDISPLAY

public const const char * GetDISPLAY()

GetDoubleBuffer

public const Int_t GetDoubleBuffer()

GetEditorBar

public const TControlBar * GetEditorBar()

GetEvent

public const Int_t GetEvent()

GetEventX

public const Int_t GetEventX()

GetEventY

public const Int_t GetEventY()

GetHighLightColor

public const Color_t GetHighLightColor()

GetPadDivision

public virtual void * GetPadDivision(Int_t xdivision, Int_t ydivision)

GetPadSave

public const TVirtualPad * GetPadSave()

GetSelected

public const TObject * GetSelected()

GetSelectedOpt

public const Option_t * GetSelectedOpt()

GetSelectedPad

public const TVirtualPad * GetSelectedPad()

GetShowEventStatus

public Bool_t GetShowEventStatus()

GetWh

public const UInt_t GetWh()

GetWindowHeight

public const UInt_t GetWindowHeight()

GetWindowTopX

public Int_t GetWindowTopX()

GetWindowTopY

public Int_t GetWindowTopY()

GetWindowWidth

public const UInt_t GetWindowWidth()

GetWw

public const UInt_t GetWw()

GetXsizeReal

public const Size_t GetXsizeReal()

GetXsizeUser

public const Size_t GetXsizeUser()

GetYsizeReal

public const Size_t GetYsizeReal()

GetYsizeUser

public const Size_t GetYsizeUser()

HandleInput

public virtual void HandleInput(EEventType button, Int_t x, Int_t y)

HasMenuBar

public const Bool_t HasMenuBar()

Iconify

public void Iconify()

IsBatch

public const Bool_t IsBatch()

IsRetained

public const Bool_t IsRetained()

ls

public virtual const void ls(Option_t * option)

MakeDefCanvas

public static void MakeDefCanvas()

MoveOpaque

public void MoveOpaque(Int_t set)

OpaqueMoving

public const Bool_t OpaqueMoving()

OpaqueResizing

public const Bool_t OpaqueResizing()

Paint

public virtual void Paint(Option_t * option)

Pick

public virtual TPad * Pick(Int_t px, Int_t py, TObjLink * & pickobj)

Pick

public virtual TPad * Pick(Int_t px, Int_t py, TObject * prevSelObj)

Picked

public virtual void Picked(TPad * selpad, TObject * selected, Int_t event)

ProcessedEvent

public virtual void ProcessedEvent(Int_t event, Int_t x, Int_t y, TObject * selected)

Resize

public virtual void Resize(Option_t * option)

ResizeOpaque

public void ResizeOpaque(Int_t set)

SaveSource

public void SaveSource(const char * filename, Option_t * option)

SetBatch

public void SetBatch(Bool_t batch)

SetCanvasSize

public void SetCanvasSize(UInt_t ww, UInt_t wh)

SetCursor

public virtual void SetCursor(ECursor cursor)

SetDoubleBuffer

public virtual void SetDoubleBuffer(Int_t mode)

SetHighLightColor

public void SetHighLightColor(Color_t col)

SetRetained

public void SetRetained(Bool_t retained)

SetSelected

public void SetSelected(TObject * obj)

SetSelectedPad

public void SetSelectedPad(TPad * pad)

SetTitle

public void SetTitle(const char * title)

SetWindowPosition

public void SetWindowPosition(Int_t x, Int_t y)

SetWindowSize

public void SetWindowSize(UInt_t ww, UInt_t wh)

Show

public void Show()

Size

public virtual void Size(Float_t xsizeuser, Float_t ysizeuser)

ToggleAutoExec

public virtual void ToggleAutoExec()

ToggleEventStatus

public virtual void ToggleEventStatus()

Update

public virtual void Update()

UseCurrentStyle

public void UseCurrentStyle()

Association Links

to Class TAttCanvas

to Class TString

to Class TObject

to Class TString

to Class TPad

to Class TPad

to Class TCanvasImp