ROOT  6.06/09
Reference Guide
Functions
TStylePreview.cxx File Reference
#include "TStylePreview.h"
#include "TStyleManager.h"
#include <TCanvas.h>
#include <TRootEmbeddedCanvas.h>
#include <TStyle.h>
#include <TROOT.h>
+ Include dependency graph for TStylePreview.cxx:

Go to the source code of this file.

Functions

 ClassImp (TStylePreview) TStylePreview
 Constructor. More...
 

Function Documentation

ClassImp ( TStylePreview  )

Constructor.

Create a new window and draw a clone of currentPad->GetCanvas() in it, using the style 'style'. Thanks to that method, one can have a preview of any style with any object.

Definition at line 30 of file TStylePreview.cxx.