442 ::Error(
"TPadPainterPS::DrawFillArea",
"invalid number of points %d",
nPoints);
456 ::Error(
"TPadPainterPS::DrawFillArea",
"invalid number of points %d",
nPoints);
472 ::Error(
"TPadPainterPS::DrawPolyLine",
"invalid number of points");
489 ::Error(
"TPadPainterPS::DrawPolyLine",
"invalid number of points");
506 ::Error(
"TPadPainterPS::DrawPolyLineNDC",
"invalid number of points %d",
n);
510 std::vector<Double_t>
xw(
n),
yw(
n);
511 for (
Int_t i = 0; i <
n; i++) {
527 ::Error(
"TPadPainterPS::DrawSegments",
"invalid number of segments %d",
n);
543 ::Error(
"TPadPainterPS::DrawSegmentsNDC",
"invalid number of segments %d",
n);
547 for (
Int_t i = 0; i < 2*
n; i++) {
560 ::Error(
"TPadPainterPS::DrawPolyMarker",
"invalid number of points %d",
n);
574 ::Error(
"TPadPainterPS::DrawPolyMarker",
"invalid number of points %d",
n);
short Style_t
Style number (short)
short Color_t
Color number (short)
float Size_t
Attribute size (float)
short Width_t
Line width (short)
float Float_t
Float 4 bytes (float)
short Font_t
Font number (short)
short Short_t
Signed Short integer 2 bytes (short)
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
void Error(const char *location, const char *msgfmt,...)
Use this function in case an error occurred.
Option_t Option_t TPoint TPoint const char x2
Option_t Option_t TPoint TPoint const char x1
Option_t Option_t TPoint TPoint const char mode
Option_t Option_t TPoint TPoint const char y2
Option_t Option_t TPoint TPoint percent
Option_t Option_t TPoint TPoint const char text
Option_t Option_t TPoint TPoint const char y1
virtual Color_t GetFillColor() const
Return the fill area color.
virtual Style_t GetFillStyle() const
Return the fill area style.
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
virtual Bool_t IsTransparent() const
virtual void SetFillStyle(Style_t fstyle)
Set the fill area style.
virtual Color_t GetLineColor() const
Return the line color.
virtual void SetLineStyle(Style_t lstyle)
Set the line style.
virtual Width_t GetLineWidth() const
Return the line width.
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
virtual void SetLineColor(Color_t lcolor)
Set the line color.
virtual Style_t GetLineStyle() const
Return the line style.
virtual Style_t GetMarkerStyle() const
Return the marker style.
virtual void SetMarkerColor(Color_t mcolor=1)
Set the marker color.
virtual Color_t GetMarkerColor() const
Return the marker color.
virtual Size_t GetMarkerSize() const
Return the marker size.
virtual void SetMarkerStyle(Style_t mstyle=1)
Set the marker style.
virtual void SetMarkerSize(Size_t msize=1)
Set the marker size.
virtual Float_t GetTextSize() const
Return the text size.
virtual void SetTextAlign(Short_t align=11)
Set the text alignment.
virtual Short_t GetTextAlign() const
Return the text alignment.
virtual Font_t GetTextFont() const
Return the text font.
virtual Color_t GetTextColor() const
Return the text color.
virtual void SetTextAngle(Float_t tangle=0)
Set the text angle.
virtual Float_t GetTextAngle() const
Return the text angle.
virtual void SetTextColor(Color_t tcolor=1)
Set the text color.
virtual void SetTextFont(Font_t tfont=62)
Set the text font.
virtual void SetTextSizePixels(Int_t npixels)
Set the text size in pixel.
virtual void SetTextSize(Float_t tsize=1)
Set the text size.
void DrawPolyLineNDC(Int_t n, const Double_t *u, const Double_t *v) override
Paint polyline in normalized coordinates.
Font_t GetTextFont() const override
Delegate to gVirtualPS.
Float_t GetTextSize() const override
Delegate to gVirtualPS.
Color_t GetTextColor() const override
Delegate to gVirtualPS.
Style_t GetMarkerStyle() const override
Delegate to gVirtualPS.
Style_t GetFillStyle() const override
Delegate to gVirtualPS.
void DrawSegments(Int_t n, Double_t *x, Double_t *y) override
Paint N segments on the pad.
void ClearDrawable() override
Clear the current gVirtualX window - noop for PS.
Color_t GetFillColor() const override
Delegate to gVirtualPS.
Color_t GetMarkerColor() const override
Delegate to gVirtualPS.
void SetTextSize(Float_t tsize) override
Delegate to gVirtualPS.
void DrawSegmentsNDC(Int_t n, Double_t *u, Double_t *v) override
Paint N segments in normalized coordinates on the pad.
void SaveImage(TVirtualPad *pad, const char *fileName, Int_t type) const override
Save the image displayed in the canvas pointed by "pad" into a binary file.
Style_t GetLineStyle() const override
Delegate to gVirtualPS.
void DrawTextNDC(Double_t u, Double_t v, const char *text, ETextMode mode) override
Paint text in normalized coordinates.
void SetMarkerStyle(Style_t mstyle) override
Delegate to gVirtualPS.
void DrawLineNDC(Double_t u1, Double_t v1, Double_t u2, Double_t v2) override
Paint a simple line in normalized coordinates.
TPadPainterPS(TVirtualPS *ps)
Consructor Assigns TVirtualPS instance which will be used by the painter.
void SetLineWidth(Width_t lwidth) override
Delegate to gVirtualPS.
void SetTextAlign(Short_t align) override
Delegate to gVirtualPS.
void SetMarkerSize(Size_t msize) override
Delegate to gVirtualPS.
void NewPage() override
Start new page on PS output.
Width_t GetLineWidth() const override
Delegate to gVirtualPS.
void DrawPixels(const unsigned char *pixelData, UInt_t width, UInt_t height, Int_t dstX, Int_t dstY, Bool_t enableAlphaBlending) override
Noop, for non-gl pad TASImage calls gVirtualX->CopyArea.
void SetTextFont(Font_t tfont) override
Delegate to gVirtualPS.
void SetTextColor(Color_t tcolor) override
Delegate to gVirtualPS.
void SetMarkerColor(Color_t mcolor) override
Delegate to gVirtualPS.
void DrawTextUrl(Double_t x, Double_t y, const char *text, const char *url) override
Drawint text with url link.
void SelectDrawable(Int_t device) override
Select the window in which the graphics will go - not implemented.
Float_t GetTextAngle() const override
Delegate to gVirtualPS.
void SetLineStyle(Style_t lstyle) override
Delegate to gVirtualPS.
void DrawFillArea(Int_t n, const Double_t *x, const Double_t *y) override
Paint filled area.
void DrawPolyMarker(Int_t n, const Double_t *x, const Double_t *y) override
Paint polymarker.
Float_t GetTextMagnitude() const override
Delegate to gVirtualPS.
void DrawText(Double_t x, Double_t y, const char *text, ETextMode mode) override
Paint text.
void SetLineColor(Color_t lcolor) override
Delegate to gVirtualPS.
Size_t GetMarkerSize() const override
Delegate to gVirtualPS.
Color_t GetLineColor() const override
Delegate to gVirtualPS.
void SetFillStyle(Style_t fstyle) override
Delegate to gVirtualPS.
void SetTextAngle(Float_t tangle) override
Delegate to gVirtualPS.
void SetOpacity(Int_t percent) override
Delegate to gVirtualPS.
void DrawLine(Double_t x1, Double_t y1, Double_t x2, Double_t y2) override
Paint a simple line.
void SetFillColor(Color_t fcolor) override
Delegate to gVirtualPS.
Short_t GetTextAlign() const override
Delegate to gVirtualPS.
Int_t CreateDrawable(UInt_t w, UInt_t h) override
Create a gVirtualX Pixmap - not implemented.
void DestroyDrawable(Int_t device) override
Close the current gVirtualX pixmap - not implemented.
void SetTextSizePixels(Int_t npixels) override
Delegate to gVirtualPS.
void DrawBox(Double_t x1, Double_t y1, Double_t x2, Double_t y2, EBoxMode mode) override
Paint a simple box.
void CopyDrawable(Int_t device, Int_t px, Int_t py) override
Copy a gVirtualX pixmap - not implemented.
Bool_t IsTransparent() const override
Delegate to gVirtualPS.
void DrawPolyLine(Int_t n, const Double_t *x, const Double_t *y) override
Paint Polyline.
TVirtualPS is an abstract interface to Postscript, PDF, SVG.
virtual void Text(Double_t x, Double_t y, const char *string)=0
virtual void DrawPS(Int_t n, Float_t *xw, Float_t *yw)=0
virtual void DrawBox(Double_t x1, Double_t y1, Double_t x2, Double_t y2)=0
virtual void DrawPolyMarker(Int_t n, Float_t *x, Float_t *y)=0
virtual void DrawSegments(Int_t n, Double_t *xw, Double_t *yw)
Print N segments.
virtual void TextUrl(Double_t x, Double_t y, const char *string, const char *url)=0
TVirtualPad is an abstract base class for the Pad and Canvas classes.
virtual Double_t GetX2() const =0
virtual Double_t GetY1() const =0
virtual Double_t GetY2() const =0
virtual Double_t GetX1() const =0