[root] / trunk / core / base / src / TAttText.cxx Repository:
ViewVC logotype

Log of /trunk/core/base/src/TAttText.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: 12022 byte(s)
Diff to previous 34680
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 34680 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 30 16:03:49 2010 UTC (4 years, 5 months ago) by couet
File length: 11987 byte(s)
Diff to previous 34463
- Improve the text size help.

Revision 34463 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 16 16:54:40 2010 UTC (4 years, 6 months ago) by brun
File length: 11446 byte(s)
Diff to previous 33191
From Matthew Strait:
a patch to improve grammar/formatting in TAttText.cxx and TLatex.cxx. These are just little tweaks -- nothing major. One substantive clarification was made at the top of TLatex so that it now says "0 or 1" for the precision rather than "i.e. 0".

Revision 33191 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 26 07:50:01 2010 UTC (4 years, 8 months ago) by couet
File length: 11447 byte(s)
Diff to previous 32458
- From Valeri Fine:
  Qt-layer produced misaligned text within TCanvas with non-standard fonts.

Revision 32458 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 4 14:02:52 2010 UTC (4 years, 10 months ago) by couet
File length: 15058 byte(s)
Diff to previous 27323
- Update the doc to show the font #15 (Symbol italic)

Revision 27323 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 2 09:43:39 2009 UTC (5 years, 11 months ago) by couet
File length: 15000 byte(s)
Diff to previous 24560
- Fix typo in help.

Revision 24560 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 26 08:14:34 2008 UTC (6 years, 6 months ago) by couet
File length: 15000 byte(s)
Diff to previous 22961
- Minor help update.

Revision 22961 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 3 13:32:57 2008 UTC (6 years, 9 months ago) by rdm
File length: 14994 byte(s)
Diff to previous 20877
move the directories:
  base clib cont meta metautils newdelete pcre rint thread unix utils
  winnt zip
under the new core meta directory.

Revision 20877 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:17:07 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/base/src/TAttText.cxx
File length: 14994 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/base/src/TAttText.cxx
File length: 14994 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/base/src/TAttText.cxx
File length: 15045 byte(s)
Diff to previous 18071
remove :$ from tag line

Revision 18071 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 23 09:37:57 2007 UTC (7 years, 11 months ago) by couet
Original Path: trunk/base/src/TAttText.cxx
File length: 15055 byte(s)
Diff to previous 17246
- New documentation.

Revision 17246 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 21 14:08:38 2006 UTC (8 years, 1 month ago) by brun
Original Path: trunk/base/src/TAttText.cxx
File length: 13751 byte(s)
Diff to previous 15672
From Olivier:
- Some parts of the help are modified to match the latest changes in
  TPostScript::Text.
- New picture showing how the fonts look like. The macro producing this
  picture is also included in the help.
- Some clean up in the help (remove the "stars") to make it easier to
  read.

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/base/src/TAttText.cxx
File length: 14823 byte(s)
Diff to previous 13258
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 13258 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 16 20:11:59 2005 UTC (9 years, 2 months ago) by pcanal
Original Path: trunk/base/src/TAttText.cxx
File length: 14822 byte(s)
Diff to previous 10019
White spaces and comments update

Revision 10019 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 13 16:39:12 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/base/src/TAttText.cxx
File length: 14809 byte(s)
Diff to previous 8233
From Ilka:
code for saving any user
specified color via color widgets in a macro. Any color different from
the standard root colors is saved via hex rgb string. Up to now colors
were save via the index and if this index > 228 the running macro causes
SegV.

A new static method SaveColor() is added in TColor class.

Revision 8233 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 18 20:13:43 2004 UTC (10 years, 11 months ago) by brun
Original Path: trunk/base/src/TAttText.cxx
File length: 14638 byte(s)
Diff to previous 6334
The following mega patch is from Ilka. She has integrated and further
developed the original classes from Marek Biskup (summer student last year)..
Valeriy Onuchin has also contributed by extending/adapting existing
GUI classes.

Very first prototype of the new pad editor is available for testing and
feedbacks. It was started by Marek Biskup as his project during the
Summer Student Program 2003.
The new pad editor helps ROOT GUI to become closer to the well known
application GUIs; to be user friendly, having easier and faster access
to the ROOT graphics, to be more intuitive. It is embedded in the
TCanvas window every canvas has an editor.
The editor frame is on the left side of the canvas window. The user can
show it via Edit/Editor menu selection. The editor frame contains a set
of picture buttons for selecting well known graphical primitives for
drawing; below them there are widgets for attribute changing. When an
object is selected its name appears with a set of options available for
changing: fill style and color; line style, width and color; text font,
size and style; marker style, size and color.

New Classes:
TGFontTypeComboBox - a combo box with fonts for a choice;
TGLineWidthComboBox - a combo box with line widths;
TGLineWidthLBEntry - list box entry for different line widths
TGLineStyleComboBox - a combo box with line styles;
TGLineStyleLBEntry - list box entry for a line style

TGedEditor - the new editor containing tool-box and attribute frames of
the selected object;
TGedToolBox - frame with picture buttons for a primitive drawing

TGedAttFrame - a base class for all attribute frames
TGedAttNameFrame - a frame showing the selected object name (if exists)
TGedAttFillFrame - a frame showing the fill attributes
TGedAttLineFrame - a frame showing the line attributes
TGedAttTextFrame - a frame showing the text attributes
TGedAttMarkerFrame - a frame showing the marker attributes

TGedPatternFrame - popup window for fill pattern selection
TGedPatternSelector - a button for pattern selection
TGedSelect - service class for selecting
TGedPopup - service class for popup attribute window
TGPatternSelect - a button for selected pattern
TGedMarkerPopup - popup window for marker selection
TGedMarkerSelect - a button for selected marker

Several changes are made in TCanvas, TPad, TRootCanvas to adapt them for
the new GUI interface. The old GUI interface is kept and it can be used
too. The class TPadEditorOld provides its functionality.

Revision 6334 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 20 22:33:36 2003 UTC (11 years, 10 months ago) by rdm
Original Path: trunk/base/src/TAttText.cxx
File length: 14459 byte(s)
Diff to previous 5959
remove special WIN32 ifdef, not needed anymore.

Revision 5959 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 22 11:23:05 2003 UTC (12 years ago) by rdm
Original Path: trunk/base/src/TAttText.cxx
File length: 14655 byte(s)
Diff to previous 5293
big patch adding full freetype 2 TTF support to the ROOT core and X11
and Win32gdk displaying modules. TTF support provided by Olivier Couet
and Bertrand Bellenot (for Win32), build system updated by me.
Also fixes the RH8.0 installation problems of rootd and proofd.

Revision 5293 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 14 11:12:47 2002 UTC (12 years, 4 months ago) by brun
Original Path: trunk/base/src/TAttText.cxx
File length: 14870 byte(s)
Diff to previous 4445
Add the following new functions in TVirtualPad and TPad:
   virtual void      UpdateFillAttributes(Int_t col, Int_t sty);
   virtual void      UpdateLineAttributes(Int_t col, Int_t sty, Int_t width);
   virtual void      UpdateMarkerAttributes(Int_t col, Int_t sty, Float_t msiz);
   virtual void      UpdateTextAttributes(Int_t align,Float_t angle,Int_t col,Int_t font,Float_t tsize);

Simplify the code in functions like TAttLine::SetLineAttributes.
Instead of invoking the dialog canvas via CINT, use the abstract
interface of TVirtualPad with the above functions.

Revision 4445 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 3 10:48:53 2002 UTC (12 years, 8 months ago) by brun
Original Path: trunk/base/src/TAttText.cxx
File length: 15321 byte(s)
Diff to previous 3748
Make all Copy functions const

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/base/src/TAttText.cxx
File length: 15315 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/base/src/TAttText.cxx
File length: 15314 byte(s)
Diff to previous 3245
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 3245 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 17:39:12 2001 UTC (13 years, 2 months ago) by brun
Original Path: trunk/base/src/TAttText.cxx
File length: 15314 byte(s)
Diff to previous 2935
In TAttText::Modify, delete the array x11fonts.
Use the unscaled font directly.

Revision 2935 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 2 08:03:50 2001 UTC (13 years, 3 months ago) by brun
Original Path: trunk/base/src/TAttText.cxx
File length: 15478 byte(s)
Diff to previous 1724
Two fixes by Jiri Masik in teh TStyle management. Here are the comments from Jiri:
there is an unexpected side effect of the TStyle ctor that it modifies
the current style. For example

gROOT->SetStyle("Plain");
gStyle->SetOptStat(0);
TStyle transp("WSci", "WSci");
cout << gStyle->GetOptStat() << endl;

It prints 1 because gStyle is reset to the newly instantiated style in
TStyle transp("WSci", "WSci"); .

Also TStyle doesn't initialize fAttDate properly I think. The TStyle
relies on the default ctor of TAttText which in turn consults the
current style to obtain values to set. Thus gStyle->SetOptDate(1)
seems not to work as the text may be painted in white on the white
background.

Revision 1724 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 1 13:34:27 2001 UTC (13 years, 10 months ago) by brun
Original Path: trunk/base/src/TAttText.cxx
File length: 15442 byte(s)
Diff to previous 1624
Fix a problem in TAttText::SetTextSizePixels. This cures a problem
when a TText/TLatex object is edited via the TextAttributes panel.

Revision 1624 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 16 16:05:39 2001 UTC (13 years, 11 months ago) by rdm
Original Path: trunk/base/src/TAttText.cxx
File length: 15398 byte(s)
Diff to previous 1294
set text magnitude (mgn) to 1 if precision > 2.

Revision 1294 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 26 14:24:20 2000 UTC (14 years, 1 month ago) by brun
Original Path: trunk/base/src/TAttText.cxx
File length: 15378 byte(s)
Diff to previous 792
Implement support for text size in pixels.
When the font precision is greater than 2 (eg textFont= 63), the text size
can be specified in pixels instead of the percent of the pad size.
New  member function SetTextSizePixels(Int_t npixels) to specify the text size
in pixels. This new function is called by TGroupButton::ExecuteAction.

Revision 792 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 19 17:28:31 2000 UTC (14 years, 3 months ago) by rdm
Original Path: trunk/base/src/TAttText.cxx
File length: 14572 byte(s)
Diff to previous 483
small typo in comment.

Revision 483 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 16 14:33:50 2000 UTC (14 years, 5 months ago) by brun
Original Path: trunk/base/src/TAttText.cxx
File length: 14566 byte(s)
Diff to previous 73
Activate font precision 0 in TAttText. Add a full description in the TAttText class
of the convention used for font types, size and quality.

Revision 73 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 5 07:31:22 2000 UTC (14 years, 7 months ago) by brun
Original Path: trunk/base/src/TAttText.cxx
File length: 12900 byte(s)
Diff to previous 3
- Modify TAttText::Modify to compute the text magnitude. This is still
  required when drawing rotated text.

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/base/src/TAttText.cxx
File length: 12494 byte(s)
Copied from: branches/rdm/base/src/TAttText.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/base/src/TAttText.cxx
File length: 12494 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