ROOT
Version v6.32
master
v6.34
v6.30
v6.28
v6.26
v6.24
v6.22
v6.20
v6.18
v6.16
v6.14
v6.12
v6.10
v6.08
v6.06
Reference Guide
▼
ROOT
ROOT Reference Documentation
Tutorials
►
Functional Parts
►
Namespaces
►
All Classes
▼
Files
▼
File List
►
bindings
►
core
►
documentation
►
geom
▼
graf2d
►
asimage
►
cocoa
►
fitsio
►
gpad
▼
gpadv7
doc
▼
inc
▼
ROOT
►
RAttrAggregation.hxx
RAttrAxis.hxx
►
RAttrBase.hxx
RAttrBorder.hxx
RAttrFill.hxx
RAttrFont.hxx
RAttrLine.hxx
►
RAttrMap.hxx
RAttrMargins.hxx
RAttrMarker.hxx
RAttrText.hxx
►
RAttrValue.hxx
RAxisDrawable.hxx
►
RCanvas.hxx
RColor.hxx
RDisplayItem.hxx
►
RDrawable.hxx
RDrawableRequest.hxx
►
RFrame.hxx
RMenuItems.hxx
ROnFrameDrawable.hxx
RPad.hxx
RPadBase.hxx
RPadDisplayItem.hxx
RPadExtent.hxx
►
RPadLength.hxx
RPadPos.hxx
►
RPalette.hxx
RPaletteDrawable.hxx
RPave.hxx
►
RStyle.hxx
►
RVirtualCanvasPainter.hxx
TObjectDisplayItem.hxx
TObjectDrawable.hxx
►
src
►
graf
►
gviz
►
postscript
►
quartz
►
win32gdk
►
x11
►
x11ttf
►
graf3d
►
gui
►
hist
►
html
►
io
►
main
►
math
►
montecarlo
►
net
►
proof
►
roofit
►
sql
►
tmva
►
tree
►
tutorials
►
v6-32-00-patches
►
File Members
Release Notes
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
RAttrText.hxx
Go to the documentation of this file.
1
/*************************************************************************
2
* Copyright (C) 1995-2021, Rene Brun and Fons Rademakers. *
3
* All rights reserved. *
4
* *
5
* For the licensing terms see $ROOTSYS/LICENSE. *
6
* For the list of contributors see $ROOTSYS/README/CREDITS. *
7
*************************************************************************/
8
9
#ifndef ROOT7_RAttrText
10
#define ROOT7_RAttrText
11
12
#include <
ROOT/RAttrAggregation.hxx
>
13
#include <
ROOT/RAttrValue.hxx
>
14
#include <
ROOT/RAttrFont.hxx
>
15
16
namespace
ROOT
{
17
namespace
Experimental {
18
19
/** \class RAttrText
20
\ingroup GpadROOT7
21
\brief A text attributes.
22
\authors Axel Naumann <axel@cern.ch> Sergey Linev <s.linev@gsi.de>
23
\date 2018-10-12
24
\warning This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!
25
*/
26
27
class
RAttrText
:
public
RAttrAggregation
{
28
29
R__ATTR_CLASS
(
RAttrText
,
"text"
);
30
31
public
:
32
33
enum
EAlign
{
34
kLeftBottom
= 11,
35
kLeftCenter
= 12,
36
kLeftTop
= 13,
37
kCenterBottom
= 21,
38
kCenter
= 22,
39
kCenterTop
= 23,
40
kRightBottom
= 31,
41
kRightCenter
= 32,
42
kRightTop
= 33
43
};
44
45
RAttrValue<RColor>
color
{
this
,
"color"
,
RColor::kBlack
};
///<! text color
46
RAttrValue<double>
size
{
this
,
"size"
, 12.};
///<! text size
47
RAttrValue<double>
angle
{
this
,
"angle"
, 0.};
///<! text angle
48
RAttrValue<EAlign>
align
{
this
,
"align"
,
kCenter
};
///<! text align
49
RAttrFont
font
{
this
,
"font"
};
///<! text font
50
51
RAttrText
(
RDrawable
*
drawable
,
const
char
*prefix,
double
_size) :
RAttrAggregation
(
drawable
, prefix),
size
(
this
,
"size"
, _size) {}
52
};
53
54
}
// namespace Experimental
55
}
// namespace ROOT
56
57
#endif
RAttrAggregation.hxx
R__ATTR_CLASS
#define R__ATTR_CLASS(ClassName, dflt_prefix)
Definition
RAttrAggregation.hxx:82
RAttrFont.hxx
RAttrValue.hxx
ROOT::Detail::TRangeCast
Definition
TCollection.h:311
ROOT::Experimental::RAttrAggregation
Base class for attributes aggregations like lines or fill attributes.
Definition
RAttrAggregation.hxx:26
ROOT::Experimental::RAttrBase::drawable
RDrawable * drawable
Definition
RAttrBase.hxx:38
ROOT::Experimental::RAttrFont
A font attributes, used together with text attributes.
Definition
RAttrFont.hxx:26
ROOT::Experimental::RAttrText
A text attributes.
Definition
RAttrText.hxx:27
ROOT::Experimental::RAttrText::RAttrText
RAttrText(RDrawable *drawable, const char *prefix, double _size)
Definition
RAttrText.hxx:51
ROOT::Experimental::RAttrText::color
RAttrValue< RColor > color
! text color
Definition
RAttrText.hxx:45
ROOT::Experimental::RAttrText::angle
RAttrValue< double > angle
! text angle
Definition
RAttrText.hxx:47
ROOT::Experimental::RAttrText::align
RAttrValue< EAlign > align
! text align
Definition
RAttrText.hxx:48
ROOT::Experimental::RAttrText::font
RAttrFont font
! text font
Definition
RAttrText.hxx:49
ROOT::Experimental::RAttrText::EAlign
EAlign
Definition
RAttrText.hxx:33
ROOT::Experimental::RAttrText::kLeftCenter
@ kLeftCenter
Definition
RAttrText.hxx:35
ROOT::Experimental::RAttrText::kRightTop
@ kRightTop
Definition
RAttrText.hxx:42
ROOT::Experimental::RAttrText::kCenterBottom
@ kCenterBottom
Definition
RAttrText.hxx:37
ROOT::Experimental::RAttrText::kCenter
@ kCenter
Definition
RAttrText.hxx:38
ROOT::Experimental::RAttrText::kRightBottom
@ kRightBottom
Definition
RAttrText.hxx:40
ROOT::Experimental::RAttrText::kLeftTop
@ kLeftTop
Definition
RAttrText.hxx:36
ROOT::Experimental::RAttrText::kRightCenter
@ kRightCenter
Definition
RAttrText.hxx:41
ROOT::Experimental::RAttrText::kLeftBottom
@ kLeftBottom
Definition
RAttrText.hxx:34
ROOT::Experimental::RAttrText::kCenterTop
@ kCenterTop
Definition
RAttrText.hxx:39
ROOT::Experimental::RAttrText::size
RAttrValue< double > size
! text size
Definition
RAttrText.hxx:46
ROOT::Experimental::RColor::kBlack
static R__DLLEXPORT constexpr RGB_t kBlack
Definition
RColor.hxx:178
ROOT::Experimental::RDrawable
Base class for drawable entities: objects that can be painted on a RPad.
Definition
RDrawable.hxx:108
ROOT
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
Definition
EExecutionPolicy.hxx:4
graf2d
gpadv7
inc
ROOT
RAttrText.hxx
ROOT v6-32 - Reference Guide Generated on Wed Apr 2 2025 08:24:24 (GVA Time) using Doxygen 1.10.0