#include <TQtMarker.h>
Public Member Functions | |
TQtMarker (int n=0, TPoint *xy=0, int type=0) | |
TQtMarker & | operator= (const TQtMarker &) |
TQtMarker (const TQtMarker &) | |
TQtMarker & | operator= (const TAttMarker &) |
TQtMarker (const TAttMarker &) | |
virtual | ~TQtMarker () |
void | DrawPolyMarker (QPainter &p, int n, TPoint *xy) |
void | SetMarkerAttributes (const TAttMarker &markerAttributes) |
void | SetColor (Color_t mcolor) |
void | SetPenAttributes (int type) |
Color_t | GetColor () const |
int | GetNumber () const |
const QPolygon & | GetNodes () const |
int | GetType () const |
int | GetWidth () const |
void | SetMarker (int n, TPoint *xy, int type) |
Private Attributes | |
int | fNumNode |
QPolygon | fChain |
Color_t | fCindex |
int | fMarkerType |
int | fLineWidth |
int | fLineOption |
Definition at line 37 of file TQtMarker.h.
TQtMarker::TQtMarker | ( | int | n = 0 , |
|
TPoint * | xy = 0 , |
|||
int | type = 0 | |||
) |
TQtMarker::TQtMarker | ( | const TQtMarker & | ) | [inline] |
Definition at line 81 of file TQtMarker.h.
TQtMarker::TQtMarker | ( | const TAttMarker & | ) |
TQtMarker::~TQtMarker | ( | ) | [virtual] |
Definition at line 44 of file TQtMarker.cxx.
Definition at line 71 of file TQtMarker.h.
References fChain, fCindex, fLineWidth, fMarkerType, fNumNode, and m.
TQtMarker & TQtMarker::operator= | ( | const TAttMarker & | ) |
void TQtMarker::DrawPolyMarker | ( | QPainter & | p, | |
int | n, | |||
TPoint * | xy | |||
) |
Definition at line 108 of file TQtMarker.cxx.
References TGQt::ColorIndex(), fCindex, fLineOption, TPoint::fX, TPoint::fY, GetNodes(), GetNumber(), GetType(), gQt, i, m, and xy.
Referenced by TGQt::DrawPolyMarker().
void TQtMarker::SetMarkerAttributes | ( | const TAttMarker & | markerAttributes | ) |
Definition at line 61 of file TQtMarker.cxx.
References fCindex, fNumNode, TAttMarker::GetMarkerColor(), TAttMarker::GetMarkerSize(), TAttMarker::GetMarkerStyle(), and SetPenAttributes().
Referenced by operator=(), and TQtMarker().
void TQtMarker::SetColor | ( | Color_t | mcolor | ) | [inline] |
Definition at line 87 of file TQtMarker.h.
References fCindex.
Referenced by TGQt::SetMarkerColor().
void TQtMarker::SetPenAttributes | ( | int | type | ) |
Definition at line 70 of file TQtMarker.cxx.
References fLineOption, fLineWidth, and fMarkerType.
Referenced by SetMarker(), and SetMarkerAttributes().
Color_t TQtMarker::GetColor | ( | ) | const [inline] |
Definition at line 89 of file TQtMarker.h.
References fCindex.
Referenced by TGQt::SetMarkerColor().
int TQtMarker::GetNumber | ( | ) | const |
const QPolygon & TQtMarker::GetNodes | ( | ) | const |
int TQtMarker::GetType | ( | ) | const |
Definition at line 88 of file TQtMarker.cxx.
References fMarkerType.
Referenced by DrawPolyMarker(), and SetMarker().
int TQtMarker::GetWidth | ( | ) | const |
void TQtMarker::SetMarker | ( | int | n, | |
TPoint * | xy, | |||
int | type | |||
) |
Definition at line 94 of file TQtMarker.cxx.
References fChain, fNumNode, TPoint::fX, TPoint::fY, GetType(), i, kDot, SetPenAttributes(), and xy.
Referenced by TGQt::SetMarkerType().
int TQtMarker::fNumNode [private] |
Definition at line 41 of file TQtMarker.h.
Referenced by GetNumber(), operator=(), SetMarker(), and SetMarkerAttributes().
QPolygon TQtMarker::fChain [private] |
Color_t TQtMarker::fCindex [private] |
Definition at line 43 of file TQtMarker.h.
Referenced by DrawPolyMarker(), GetColor(), operator=(), SetColor(), and SetMarkerAttributes().
int TQtMarker::fMarkerType [private] |
Definition at line 44 of file TQtMarker.h.
Referenced by GetType(), operator=(), and SetPenAttributes().
int TQtMarker::fLineWidth [private] |
Definition at line 45 of file TQtMarker.h.
Referenced by GetWidth(), operator=(), and SetPenAttributes().
int TQtMarker::fLineOption [private] |