Logo ROOT   6.10/00
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
graf2d/gpad/doc/index.md
Go to the documentation of this file.
1 \defgroup Graphics Graphics
2 \brief The graphics related classes
3 \defgroup Graphics2D 2D Graphics
4 \ingroup Graphics
5 \brief The 2D graphics related classes
6 \defgroup gpad Graphics pad
7 \ingroup Graphics2D
8 \brief The TPad related classes
9 
10 TPad and TPad's related classes' usages are illustrated by the following examples:
11 
12  - [The Graphics Pad.](http://root.cern.ch/drupal/content/graphics-pad)
13  - [How to Draw objects.](http://root.cern.ch/drupal/content/how-draw-objects)
14  - [How to Pick objects.](http://root.cern.ch/drupal/content/how-pick-objects)
15  - [Dividing a canvas with no margins between pads.](http://root.cern.ch/root/html/tutorials/graphs/zones.C.html)
16  - [Using transparent pads.](http://root.cern.ch/root/html/tutorials/hist/transpad.C.html)
17 
18 \defgroup GraphicsAtt Graphics attributes
19 \ingroup Graphics
20 \brief The graphics attributes related classes
21 
22 Graphics attributes, are parameters that affect the way
23 [graphics primitives](https://root.cern.ch/basic-graphics-primitives) are displayed.
24 
25 A ROOT object get graphics attributes by inheritance from the `TAttXXX` classes.
26 
27  For example, lines can be dotted or dashed, fat or thin, blue or orange. If
28 an object inherits form the class TAttLine it will get these attributes.
29  Areas might be filled with one color or with a multicolor pattern. If
30 an object inherits form the class TAttFill it will get these attribute.
31 Text can appear with an angle, displayed in different fonts, colors, and sizes.
32  If an object inherits form the class TAttText it will get these attribute.
33 
TArc * a
Definition: textangle.C:12
static double A[]
Fill Area Attributes class.
Definition: TAttFill.h:19
TCanvas * fonts()
Definition: fonts.C:10
th1 Draw()
void example()
Definition: example.C:26
Text Attributes class.
Definition: TAttText.h:18
The most important graphics class in the ROOT system.
Definition: TPad.h:29
Color * colors
Definition: X3DBuffer.c:19
Line Attributes class.
Definition: TAttLine.h:18