ROOT
v6-36
Reference Guide
Loading...
Searching...
No Matches
kerning.C
Go to the documentation of this file.
1
TCanvas
*
kerning
()
2
{
3
TCanvas
*S =
new
TCanvas
(
"script"
,
"Kerning"
,400,250);
4
5
TLatex
Tl
;
6
Tl
.SetTextSize(0.09);
7
Tl
.SetTextAlign(12);
8
TLatex
Tt
;
9
Tt
.SetTextSize(0.09);
10
Tt
.SetTextFont(82);
11
Tt
.SetTextAlign(12);
12
13
// Draw First Column
14
float
y
,
x1
,
x2
;
15
float
step = 0.3;
16
y
= 0.80;
x1
= 0.02;
x2
=
x1
+0.1;
17
18
Tl
.DrawLatex(
x2
,
y
,
"Positive k#kern[0.3]{e}#kern[0.3]{r}#kern[0.3]{n}#kern[0.3]{i}#kern[0.3]{n}#kern[0.3]{g}"
) ;
Tt
.DrawText(
x1
,
y
,
"(1)"
);
19
y
-= step ;
Tl
.DrawLatex(
x2
,
y
,
"Negative k#kern[-0.3]{e}#kern[-0.3]{r}#kern[-0.3]{n}#kern[-0.3]{i}#kern[-0.3]{n}#kern[-0.3]{g}"
) ;
Tt
.DrawText(
x1
,
y
,
"(2)"
);
20
y
-= step ;
Tl
.DrawLatex(
x2
,
y
,
"Vertical a#lower[0.2]{d}#lower[0.4]{j}#lower[0.1]{u}#lower[-0.1]{s}#lower[-0.3]{t}#lower[-0.4]{m}#lower[-0.2]{e}#lower[0.1]{n}t"
) ;
Tt
.DrawText(
x1
,
y
,
"(3)"
);
21
22
return
S;
23
}
TRangeDynCast
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Definition
TCollection.h:358
x2
Option_t Option_t TPoint TPoint const char x2
Definition
TGWin32VirtualXProxy.cxx:70
x1
Option_t Option_t TPoint TPoint const char x1
Definition
TGWin32VirtualXProxy.cxx:70
ROOT::Detail::TRangeCast
Definition
TCollection.h:311
TCanvas
The Canvas class.
Definition
TCanvas.h:23
TLatex
To draw Mathematical Formula.
Definition
TLatex.h:18
kerning
TCanvas * kerning()
Definition
kerning.C:1
y
Double_t y[n]
Definition
legend1.C:17
graf2d
graf
doc
macros
kerning.C
ROOT v6-36 - Reference Guide Generated on Thu Aug 21 2025 04:30:27 (GVA Time) using Doxygen 1.10.0