[root] / trunk / graf2d / graf / src / TPave.cxx Repository:
ViewVC logotype

Log of /trunk/graf2d/graf/src/TPave.cxx

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 44507 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 4 12:30:41 2012 UTC (2 years, 7 months ago) by axel
File length: 21040 byte(s)
Diff to previous 35154
Remove
  using namespace std;
from Riostream.h, which has huge consequences for all of ROOT.
Riostream.h is now a simple wrapper for fstream, iostream, iomanip for backward compatibility; Riosfwd.h simply wraps iosfwd.

Because of templates and their inline functions, Riostream.h needed to be included in headers, too (e.g. TParameter.h), which violated the assumption that Riostream.h is not exposing its using namespace std to headers.
ROOT now requires R__ANSISTREAM, R__SSTREAM, which does not change the set of supported compilers.

Without "using namespace std", several identifiers are now prefixed by std::; e.g. roofit/* source files now have a using namespace std to keep their coding style.
TFile::MakeProject() now generates "using namespace std" to convert the CINT-style class names into C++ ones.

Revision 35154 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 6 09:43:35 2010 UTC (4 years, 4 months ago) by couet
File length: 21010 byte(s)
Diff to previous 31650
- init missing (coverity)

Revision 31650 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 8 13:09:09 2009 UTC (5 years, 1 month ago) by couet
File length: 20922 byte(s)
Diff to previous 31619
- initialize members (coverity)

Revision 31619 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 8 09:13:18 2009 UTC (5 years, 1 month ago) by couet
File length: 20740 byte(s)
Diff to previous 23140
- Remove unreachable code in DistancetoPrimitive.
  (found by coverity)

Revision 23140 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 11 11:01:39 2008 UTC (6 years, 9 months ago) by rdm
File length: 21403 byte(s)
Diff to previous 20882
move the following directories to "graf2d":

asimage, freetype, gpad, graf, postscript, qt, win32gdk, x11, x11ttf

move the following directories to "graf3d":

eve, ftgl, g3d, gl, x3d

Revision 20882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:31:26 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/graf/src/TPave.cxx
File length: 21403 byte(s)
Diff to previous 19826
Set property svn:eol-style LF on all source and Makefiles. This should avoid
problems with Win32 line endings ending up in the repository. All MS tools
support LF eols fine.

Revision 19826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:56:11 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/graf/src/TPave.cxx
File length: 21403 byte(s)
Diff to previous 19825
imported svn:keywords Id property

Revision 19825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:49:10 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/graf/src/TPave.cxx
File length: 21451 byte(s)
Diff to previous 19222
remove :$ from tag line

Revision 19222 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 2 14:47:19 2007 UTC (7 years, 6 months ago) by couet
Original Path: trunk/graf/src/TPave.cxx
File length: 21461 byte(s)
Diff to previous 17727
- From Axel:
  Possibility to change the color of the shadow.

Revision 17727 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 6 14:35:45 2007 UTC (7 years, 11 months ago) by brun
Original Path: trunk/graf/src/TPave.cxx
File length: 21333 byte(s)
Diff to previous 15672
In the Streamer functions replace the lines like
         TPad::Class()->ReadBuffer(b, this, v, R__s, R__c);
         TPad::Class()->WriteBuffer(b,this);
by
         b.ReadClassBuffer(TPad::Class(), this, v, R__s, R__c);
         b.WriteClassBuffer(TPad::Class(),this);

Revision 15672 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 3 16:10:46 2006 UTC (8 years, 6 months ago) by brun
Original Path: trunk/graf/src/TPave.cxx
File length: 21325 byte(s)
Diff to previous 15146
from Axel:
Change the signature of SavePrimitive from

  void SavePrimitive(ofstream &out, Option_t *option);
to
  void SavePrimitive(ostream &out, Option_t *option = "");

With this change one can do, eg
   myhist.SavePrimitive(std::cout);

WARNING: do rm -f tree/src/*.o

Revision 15146 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 23 10:49:44 2006 UTC (8 years, 8 months ago) by brun
Original Path: trunk/graf/src/TPave.cxx
File length: 21317 byte(s)
Diff to previous 14662
From Sergey Linev:
Protect the Draw functions in case they are called with a null option.

Revision 14662 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 12 13:45:28 2006 UTC (8 years, 9 months ago) by brun
Original Path: trunk/graf/src/TPave.cxx
File length: 21297 byte(s)
Diff to previous 13899
Implement TPave::DistancetoPrimitive, overloading TBox::DistancetoPrimitive
such that picking in a TPave with no fill style is now possible.

Revision 13899 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 23 21:15:57 2006 UTC (9 years ago) by brun
Original Path: trunk/graf/src/TPave.cxx
File length: 19815 byte(s)
Diff to previous 13304
Fix a few problems reported by Thomas Bretz
+ fCornerRadius not handled in TPave::Copy
+ TPave::GetCornerRadius not const
+ TPave::GetBorderSize not const

Revision 13304 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 21 13:57:42 2005 UTC (9 years, 2 months ago) by couet
Original Path: trunk/graf/src/TPave.cxx
File length: 19767 byte(s)
Diff to previous 9779
- Last mods (in graf) to make the rules checker happy.

Revision 9779 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 18 10:55:37 2004 UTC (10 years, 5 months ago) by brun
Original Path: trunk/graf/src/TPave.cxx
File length: 20853 byte(s)
Diff to previous 9135
Add protection in TPave::PaintPave when drawing TPave objects with a bordersize
overflowing the pad.

Revision 9135 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 8 10:26:07 2004 UTC (10 years, 7 months ago) by brun
Original Path: trunk/graf/src/TPave.cxx
File length: 20603 byte(s)
Diff to previous 7303
Implement the Hash function and IsSortable function returning kTRUE.
With this change, objects of the TPave family can be added to THashList (eg gDirectory).

Revision 7303 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 19 14:10:42 2003 UTC (11 years, 4 months ago) by brun
Original Path: trunk/graf/src/TPave.cxx
File length: 20595 byte(s)
Diff to previous 5518
From Vitaly Choutko:
Fix problem in copy constructors

Revision 5518 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 31 07:27:37 2002 UTC (12 years, 2 months ago) by brun
Original Path: trunk/graf/src/TPave.cxx
File length: 20588 byte(s)
Diff to previous 5060
Make const all Copy functions.
WARNING: If your class implements a Copy function deriving
from TObject or one of the ROOT classes, you must make
your Copy function const.

Revision 5060 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 5 17:35:35 2002 UTC (12 years, 5 months ago) by brun
Original Path: trunk/graf/src/TPave.cxx
File length: 20582 byte(s)
Diff to previous 4759
The TPave constructors use gStyle->GetFillColor,Style, etc instead
of the fixed values 18,1001, etc

Revision 4759 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 19 12:40:50 2002 UTC (12 years, 7 months ago) by brun
Original Path: trunk/graf/src/TPave.cxx
File length: 20401 byte(s)
Diff to previous 4564
Initialize data members to default values in the default constructor.

Revision 4564 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 18 08:22:01 2002 UTC (12 years, 8 months ago) by brun
Original Path: trunk/graf/src/TPave.cxx
File length: 20199 byte(s)
Diff to previous 3748
Add explicit calls to the base classes copy constructors in the copy constructors.
This is required by gcc on MacOS X

Revision 3748 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 24 11:39:31 2002 UTC (13 years ago) by rdm
Original Path: trunk/graf/src/TPave.cxx
File length: 20185 byte(s)
Diff to previous 3742
rename IOSFwd.h and IOStream.h to Riosfwd.h and Riostream.h. The change
is necessary because on Windows which is case insensitive IOStream.h
hides the real iostream.h.

Revision 3742 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 23 17:52:52 2002 UTC (13 years ago) by rdm
Original Path: trunk/graf/src/TPave.cxx
File length: 20185 byte(s)
Diff to previous 3452
use IOSFwd.h in headers instead of <iosfwd> or many other ifdef'ed variant
and IOStream.h in the source instead of <iostream[.h]>, <fstream[.h]> and
<iomanip[.h]>.

Revision 3452 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 10 21:13:50 2001 UTC (13 years, 1 month ago) by brun
Original Path: trunk/graf/src/TPave.cxx
File length: 20191 byte(s)
Diff to previous 1205
Modify the SavePrimitive functions to set the name of the pave.
This solves the problem that the "title" and "stats" objects were
drawn twice when running the generated code for histograms.

Revision 1205 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 13 15:13:57 2000 UTC (14 years, 1 month ago) by brun
Original Path: trunk/graf/src/TPave.cxx
File length: 20078 byte(s)
Diff to previous 985
      W A R N I N G   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     ==================================================================
A very long list of changes in this pre-release of version 3.00.
We have modified the signature of many functions (in particular TObject)
to introduce more constness in the system.
You must change your code if your class derives from TObject and uses
one of the modified functions such as ls, Print, Compare, Hash, etc.
The modified functions in TObject have the following signature:
   virtual TObject    *Clone() const;
   virtual Int_t       Compare(const TObject *obj) const;
   virtual void        Delete(Option_t *option=""); // *MENU*
   virtual void        DrawClass() const; // *MENU*
   virtual void        DrawClone(Option_t *option="") const; // *MENU*
   virtual void        Dump() const; // *MENU*
   virtual TObject    *FindObject(const TObject *obj) const;
   virtual char       *GetObjectInfo(Int_t px, Int_t py) const;
   virtual ULong_t     Hash() const;
   virtual void        Inspect() const; // *MENU*
   virtual Bool_t      IsEqual(const TObject *obj) const;
   virtual void        ls(Option_t *option="") const;
   virtual void        Print(Option_t *option="") const;

A similar operation has been done with classes such as TH1, TVirtualPad,
TTree, etc.

Revision 985 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 21 20:51:23 2000 UTC (14 years, 2 months ago) by brun
Original Path: trunk/graf/src/TPave.cxx
File length: 20066 byte(s)
Diff to previous 568
Function Streamer now in the implementation file.
Add code for the new automatic schema evolution algorithm

Revision 568 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 5 09:21:24 2000 UTC (14 years, 4 months ago) by brun
Original Path: trunk/graf/src/TPave.cxx
File length: 20394 byte(s)
Diff to previous 157
The following headers and classes have been modified to take into account;
  - the new signature of IsFolder (now const)
  - the new TObject::FindObject
  - the fact that the static functions of TObject have been moved to TROOT.

Revision 157 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 13 11:09:40 2000 UTC (14 years, 7 months ago) by brun
Original Path: trunk/graf/src/TPave.cxx
File length: 20387 byte(s)
Diff to previous 77
- Mods in TPave: Upgrade from Float_t to Double_t
  The members fX1NDC, fY1NDC, fX2NDC, fY2NDC, fCornerRadius upgraded to Double_t.
  New signature for the following functions:
        TPave(Double_t x1, Double_t y1,Double_t x2 ,Double_t y2,
              Int_t bordersize=4 ,Option_t *option="br");
        virtual void  DrawPave(Double_t x1, Double_t y1,Double_t x2 ,Double_t y2,
                      Int_t bordersize=4 ,Option_t *option="br");
          Double_t    GetCornerRadius() {return fCornerRadius;}
          Double_t    GetX1NDC() {return fX1NDC;}
          Double_t    GetX2NDC() {return fX2NDC;}
          Double_t    GetY1NDC() {return fY1NDC;}
          Double_t    GetY2NDC() {return fY2NDC;}
        virtual void  PaintPave(Double_t x1, Double_t y1,Double_t x2 ,Double_t y2,
                      Int_t bordersize=4 ,Option_t *option="br");
        virtual void  PaintPaveArc(Double_t x1, Double_t y1,Double_t x2 ,Double_t y2,
                      Int_t bordersize=4 ,Option_t *option="br");
        virtual void  SetCornerRadius(Double_t rad = 0.2) {fCornerRadius = rad;} // *MENU*
        virtual void  SetX1NDC(Double_t x1) {fX1NDC=x1;}
        virtual void  SetX2NDC(Double_t x2) {fX2NDC=x2;}
        virtual void  SetY1NDC(Double_t y1) {fY1NDC=y1;}
        virtual void  SetY2NDC(Double_t y2) {fY2NDC=y2;}

Revision 77 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 6 07:59:11 2000 UTC (14 years, 7 months ago) by brun
Original Path: trunk/graf/src/TPave.cxx
File length: 19051 byte(s)
Diff to previous 47
Modify TPave::Paint to not draw the outline of the pave when
the fillstyle=0 and the bordersize=0

Revision 47 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 29 06:19:21 2000 UTC (14 years, 7 months ago) by brun
Original Path: trunk/graf/src/TPave.cxx
File length: 19003 byte(s)
Diff to previous 3
//  29 May
- Add the following note in the TPave, TPaveLabel and TPaveText constructors:
    IMPORTANT NOTE:
    Because TPave objects (and objects deriving from TPave) have their
    master coordinate system in NDC, one cannot use the TBox functions
    SetX1,SetY1,SetX2,SetY2 to change the corner coordinates. One should use
    instead SetX1NDC, SetY1NDC, SetX2NDC, SetY2NDC.

   28 May
- Modify THistPainter::PaintStat and PaintStat2 to use the TLatex character #pm
  instead of +-

//     27 May
- Add new member functions:
    Int_t TVirtualTreePlayer::GetDimension()
    Int_t TTreePlayer::GetDimension()
  GetDimension returns the number of dimensions in the TTree::Draw expression.

- Add new function in TTree;
   void TTree::UnbinnedFit(const char *funcname ,const char *varexp, const char *selection="",Option_t *option=""
                       ,Int_t nentries=1000000000, Int_t firstentry=0);
   This function (origin Stephen Bailey) performs an unbinned fit to the
   variable(s) given in varexp.

- Remove unused data member fDimension from class TTree.

- Introduce support for "Virtuality" in TLeafObject.
  New data member fVirtual added and corresponding IsVirtual/SetVirtual functions.
  By default, fVirtual is kTRUE.
  This change allows new interesting possibilities in split mode. For example
  if a member is TShape *fShape, a real object may be now of any type
  derived from TShape (eg, TTUBE, TBRIK, etc).
  With the previous version, the fShape object had to be of the declared
  type TShape only.
  When writing a TLeafObject, the class name of the object is now written in
  the branch buffer by TLeafObject::FillBasket. When TLeafObject::ReadBasket
  is called, an instance of the real class is built and its Streamer function
  called.
  This change is backward compatible. Old files can still be processed.
  It is possible to set the virtuality for the branch to kFALSE via
  TLeafObject::SetVirtual. Setting the virtuality to kFALSE makes
  writing and reading faster and the file slightly smaller. In this case,
  a TLeafObject must be of the type declared only.

- New minor changes in TGaxis (Damir Buskulic) for date/time format
  in case the start time is not an integer value.

- Modify tutorial psexam.C to set the TPaveText TextFont to 61 instead of 62.
  Font precision 1 bypass the TLatex logic.

- Mods in TLatex to remove the special treatment for characters ' and ".
  Strings like l'#acute{e}toile  are now correctly processed.

- Fix a bug in TGraph::GetFunction. (thanks Damon Spayde). The test
    if (fFunctions)  return 0;  replaced by
    if (!fFunctions) return 0;

Revision 3 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: trunk/graf/src/TPave.cxx
File length: 18659 byte(s)
Copied from: branches/rdm/graf/src/TPave.cxx revision 2
Diff to previous 2
This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.

Revision 2 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: branches/rdm/graf/src/TPave.cxx
File length: 18659 byte(s)
Initial import of ROOT into CVS

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9