Log of /trunk/core/base/src/TAttText.cxx
Parent Directory
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
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
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
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
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
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
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
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.
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.