ROOT » CORE » BASE » TVirtualPadPainter

class TVirtualPadPainter

Function Members (Methods)

 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.

public:
virtual~TVirtualPadPainter()
static TClass*Class()
virtual voidClearDrawable()
virtual voidCopyDrawable(Int_t device, Int_t px, Int_t py)
virtual Int_tCreateDrawable(UInt_t w, UInt_t h)
virtual voidDestroyDrawable()
virtual voidDrawBox(Double_t x1, Double_t y1, Double_t x2, Double_t y2, TVirtualPadPainter::EBoxMode mode)
virtual voidDrawFillArea(Int_t n, const Double_t* x, const Double_t* y)
virtual voidDrawFillArea(Int_t n, const Float_t* x, const Float_t* y)
virtual voidDrawLine(Double_t x1, Double_t y1, Double_t x2, Double_t y2)
virtual voidDrawLineNDC(Double_t u1, Double_t v1, Double_t u2, Double_t v2)
virtual voidDrawPixels(const unsigned char* pixelData, UInt_t width, UInt_t height, Int_t dstX, Int_t dstY, Bool_t enableAlphaBlending)
virtual voidDrawPolyLine(Int_t n, const Double_t* x, const Double_t* y)
virtual voidDrawPolyLine(Int_t n, const Float_t* x, const Float_t* y)
virtual voidDrawPolyLineNDC(Int_t n, const Double_t* u, const Double_t* v)
virtual voidDrawPolyMarker(Int_t n, const Double_t* x, const Double_t* y)
virtual voidDrawPolyMarker(Int_t n, const Float_t* x, const Float_t* y)
virtual voidDrawText(Double_t x, Double_t y, const char* text, TVirtualPadPainter::ETextMode mode)
virtual voidDrawText(Double_t x, Double_t y, const wchar_t* text, TVirtualPadPainter::ETextMode mode)
virtual voidDrawTextNDC(Double_t u, Double_t v, const char* text, TVirtualPadPainter::ETextMode mode)
virtual voidDrawTextNDC(Double_t u, Double_t v, const wchar_t* text, TVirtualPadPainter::ETextMode mode)
virtual Color_tGetFillColor() const
virtual Style_tGetFillStyle() const
virtual Color_tGetLineColor() const
virtual Style_tGetLineStyle() const
virtual Width_tGetLineWidth() const
virtual Short_tGetTextAlign() const
virtual Float_tGetTextAngle() const
virtual Color_tGetTextColor() const
virtual Font_tGetTextFont() const
virtual Float_tGetTextMagnitude() const
virtual Float_tGetTextSize() const
virtual voidInitPainter()
virtual voidInvalidateCS()
virtual TClass*IsA() const
virtual Bool_tIsTransparent() const
virtual voidLockPainter()
TVirtualPadPainter&operator=(const TVirtualPadPainter&)
static TVirtualPadPainter*PadPainter(Option_t* opt = "")
virtual voidSaveImage(TVirtualPad* pad, const char* fileName, Int_t type) const
virtual voidSelectDrawable(Int_t device)
virtual voidSetFillColor(Color_t fcolor)
virtual voidSetFillStyle(Style_t fstyle)
virtual voidSetLineColor(Color_t lcolor)
virtual voidSetLineStyle(Style_t lstyle)
virtual voidSetLineWidth(Width_t lwidth)
virtual voidSetOpacity(Int_t percent)
virtual voidSetTextAlign(Short_t align = 11)
virtual voidSetTextAngle(Float_t tangle = 0)
virtual voidSetTextColor(Color_t tcolor = 1)
virtual voidSetTextFont(Font_t tfont = 62)
virtual voidSetTextSize(Float_t tsize = 1)
virtual voidSetTextSizePixels(Int_t npixels)
virtual voidShowMembers(TMemberInspector& insp) const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
TVirtualPadPainter()
TVirtualPadPainter(const TVirtualPadPainter&)

Data Members

public:
static TVirtualPadPainter::ETextModekClear
static TVirtualPadPainter::EBoxModekFilled
static TVirtualPadPainter::EBoxModekHollow
static TVirtualPadPainter::ETextModekOpaque

Class Charts

Inheritance Chart:
TVirtualPadPainter
TGLPadPainter
TPadPainter

Function documentation

~TVirtualPadPainter()
Virtual dtor.
void InitPainter()
Empty definition.
void InvalidateCS()
Empty definition.
void LockPainter()
Empty definition.
TVirtualPadPainter * PadPainter(Option_t* opt = "")
 Create a pad painter of specified type.
Color_t GetLineColor() const
Line attributes to be set up in TPad.
Style_t GetLineStyle() const
Width_t GetLineWidth() const
void SetLineColor(Color_t lcolor)
void SetLineStyle(Style_t lstyle)
void SetLineWidth(Width_t lwidth)
Color_t GetFillColor() const
Fill attributes to be set up in TPad.
Style_t GetFillStyle() const
Bool_t IsTransparent() const
void SetFillColor(Color_t fcolor)
void SetFillStyle(Style_t fstyle)
void SetOpacity(Int_t percent)
Short_t GetTextAlign() const
Text attributes.
Float_t GetTextAngle() const
Color_t GetTextColor() const
Font_t GetTextFont() const
Float_t GetTextSize() const
Float_t GetTextMagnitude() const
void SetTextAlign(Short_t align = 11)
void SetTextAngle(Float_t tangle = 0)
void SetTextColor(Color_t tcolor = 1)
void SetTextFont(Font_t tfont = 62)
void SetTextSize(Float_t tsize = 1)
void SetTextSizePixels(Int_t npixels)
Int_t CreateDrawable(UInt_t w, UInt_t h)
This part is an interface to X11 pixmap management and to save sub-pads off-screens for OpenGL.
Currently, must be implemented only for X11/GDI
void ClearDrawable()
void CopyDrawable(Int_t device, Int_t px, Int_t py)
void DestroyDrawable()
void SelectDrawable(Int_t device)
void DrawPixels(const unsigned char* pixelData, UInt_t width, UInt_t height, Int_t dstX, Int_t dstY, Bool_t enableAlphaBlending)
TASImage support.
void DrawLine(Double_t x1, Double_t y1, Double_t x2, Double_t y2)
Now, drawing primitives.
void DrawLineNDC(Double_t u1, Double_t v1, Double_t u2, Double_t v2)
void DrawBox(Double_t x1, Double_t y1, Double_t x2, Double_t y2, TVirtualPadPainter::EBoxMode mode)
void DrawFillArea(Int_t n, const Double_t* x, const Double_t* y)
void DrawFillArea(Int_t n, const Float_t* x, const Float_t* y)
void DrawPolyLine(Int_t n, const Double_t* x, const Double_t* y)
void DrawPolyLine(Int_t n, const Float_t* x, const Float_t* y)
void DrawPolyLineNDC(Int_t n, const Double_t* u, const Double_t* v)
void DrawPolyMarker(Int_t n, const Double_t* x, const Double_t* y)
void DrawPolyMarker(Int_t n, const Float_t* x, const Float_t* y)
void DrawText(Double_t x, Double_t y, const char* text, TVirtualPadPainter::ETextMode mode)
void DrawText(Double_t x, Double_t y, const wchar_t* text, TVirtualPadPainter::ETextMode mode)
void DrawTextNDC(Double_t u, Double_t v, const char* text, TVirtualPadPainter::ETextMode mode)
void DrawTextNDC(Double_t u, Double_t v, const wchar_t* text, TVirtualPadPainter::ETextMode mode)
void SaveImage(TVirtualPad* pad, const char* fileName, Int_t type) const
gif, jpg, png, bmp output.