Skip to content
Snippets Groups Projects
Commit ab3e2f79 authored by Olivier Couet's avatar Olivier Couet
Browse files

TPDF

git-svn-id: http://root.cern.ch/svn/root/trunk@43506 27541ba8-7e3a-0410-8455-c3a389f83636
parent 8967f24e
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,24 @@
<li>
Better sizes matching with the screen output for markers 6 and 7 (dots).
</li>
<li>
Implement the transparency in PDF files. To make a graphics object transparent
it is enough to set its color to a transparent one. The color transparency
is defined via its alpha component. The alpha value varies from 0. to 1.
0. makes an object fully transparent, and 1. makes it fully opaque. To set the
alpha value of an existing color it is enough to do:
<pre>
TColor *col26 = gROOT->GetColor(26);
col26->SetAlpha(0.01);
</pre>
A new color can be created transparent the following way:
<pre>
Int_t ci = 1756;
TColor *color = new TColor(ci, 0.1, 0.2, 0.3, 0.5); // alpha = 0.5
</pre>
An example of tranparency usage with parallel coordinates can be found
in <tt>$ROOTSYS/tutorials/tree/parallelcoordtrans.C</tt>
</li>
</ul>
<h4>TLegend</h4>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment