library: libCore
#include "TAttFill.h"

TAttFill


class description - source file - inheritance tree (.pdf)

class TAttFill

Inheritance Chart:
TAttFill
<-
TArrow
TBox
<-
TPave
<-
TLegend
TPaletteAxis
TPaveLabel
<-
TPaveClass
TPaveText
<-
TDiamond
TPaveStats
 [more...]

    public:
TAttFill() TAttFill(Color_t fcolor, Style_t fstyle) TAttFill(const TAttFill&) virtual ~TAttFill() static TClass* Class() void Copy(TAttFill& attfill) const virtual Color_t GetFillColor() const virtual Style_t GetFillStyle() const virtual TClass* IsA() const virtual Bool_t IsTransparent() const virtual void Modify() TAttFill& operator=(const TAttFill&) virtual void ResetAttFill(Option_t* option) virtual void SaveFillAttributes(ofstream& out, const char* name, Int_t coldef = 1, Int_t stydef = 1001) virtual void SetFillAttributes() virtual void SetFillColor(Color_t fcolor) virtual void SetFillStyle(Style_t fstyle) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
Color_t fFillColor fill area color Style_t fFillStyle fill area style

Class Description

*-*-*-*-*-*-*-*-*-*-*-*-*Fill Area Attributes class*-*-*-*-*-*-*-*-*-*-*-*
*-*                      ==========================
*-*  Fill Area attributes are:
*-*    Fill Color
*-*    Fill Style
*-*
*-*  This class is used (in general by secondary inheritance)
*-*  by many other classes (graphics, histograms).
*-*
*-*  The following table shows the list of default colors.
/* */

  Conventions for fill styles:
    0    : hollow
    1001 : Solid
    2001 : hatch style
    3000+pattern_number (see below)
    4000 :the window is transparent.
    4000 to 4100 the window is 100% transparent to 100% opaque

  pattern_number can have any value from 1 to 25 (see table), or any value
 from 100 to 999. For the latest the numbering convention is the following:

            pattern_number = ijk      (FillStyle = 3ijk)

    i (1-9) : specify the space between each hatch
              1 = 1/2mm  9 = 6mm

    j (0-9) : specify angle between 0 and 90 degrees

              0 = 0
              1 = 10
              2 = 20
              3 = 30
              4 = 45
              5 = Not drawn
              6 = 60
              7 = 70
              8 = 80
              9 = 90

    k (0-9) : specify angle between 90 and 180 degrees
              0 = 180
              1 = 170
              2 = 160
              3 = 150
              4 = 135
              5 = Not drawn
              6 = 120
              7 = 110
              8 = 100
              9 = 90

*-*  The following table shows the list of pattern styles.
/* */
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

TAttFill()
*-*-*-*-*-*-*-*-*-*-*-*-*AttFill default constructor*-*-*-*-*-*-*-*-*-*-*-*
*-*                      ===========================
*-*  Default fill attributes are taking from the current style
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

TAttFill(Color_t color, Style_t style)
*-*-*-*-*-*-*-*-*-*-*-*-*AttFill normal constructor*-*-*-*-*-*-*-*-*-*-*-*
*-*                      ===========================
*-*    color Fill Color
*-*    style Fill Style
*-*
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

~TAttFill()
*-*-*-*-*-*-*-*-*-*-*-*-*AttFill destructor*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*                      =================

void Copy(TAttFill &attfill) const
*-*-*-*-*-*-*-*-*Copy this fill attributes to a new attfill*-*-*-*-*-*-*-*-*
*-*              ==========================================

void Modify()
*-*-*-*-*-*-*-*Change current fill area attributes if necessary*-*-*-*-*-*-*
*-*            ================================================

void ResetAttFill(Option_t *)
*-*-*-*-*-*-*-*-*Reset this fill attributes to default values*-*-*-*-*-*-*
*-*              ============================================

void SaveFillAttributes(ofstream &out, const char *name, Int_t coldef, Int_t stydef)
 Save fill attributes as C++ statement(s) on output stream out

void SetFillAttributes()
*-*-*-*-*-*-*-*-*Invoke the DialogCanvas Fill attributes*-*-*-*-*-*-*
*-*              =======================================



Inline Functions


            Color_t GetFillColor() const
            Style_t GetFillStyle() const
             Bool_t IsTransparent() const
               void SetFillColor(Color_t fcolor)
               void SetFillStyle(Style_t fstyle)
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
           TAttFill TAttFill(const TAttFill&)
          TAttFill& operator=(const TAttFill&)


Author: Rene Brun 12/12/94
Last update: root/base:$Name: $:$Id: TAttFill.cxx,v 1.9 2004/11/15 16:21:08 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.