87 ::Error(
"DrawLineNDC",
"Not supported correctly");
131 for (
Int_t n = 0;
n < nPoints; ++
n) {
133 buf[
n * 2 + 1] = ys[
n];
147 for (
Int_t n = 0;
n < nPoints; ++
n) {
149 buf[
n * 2 + 1] = ys[
n];
163 for (
Int_t n = 0;
n < nPoints; ++
n) {
165 buf[
n * 2 + 1] = ys[
n];
179 for (
Int_t n = 0;
n < nPoints; ++
n) {
181 buf[
n * 2 + 1] = ys[
n];
193 ::Error(
"DrawPolyLineNDC",
"Not supported correctly");
197 for (
Int_t n = 0;
n < nPoints; ++
n) {
199 buf[
n * 2 + 1] =
v[
n];
214 for (
Int_t n = 0;
n < nPoints; ++
n) {
216 buf[
n * 2 + 1] =
y[
n];
231 for (
Int_t n = 0;
n < nPoints; ++
n) {
233 buf[
n * 2 + 1] =
y[
n];
266 ::Error(
"DrawTextNDC",
"Not supported correctly");
281 ::Error(
"DrawTextNDC",
"Not supported correctly");
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 const char text
Option_t Option_t TPoint TPoint const char y1
The most important graphics class in the ROOT system.
TVirtualPad is an abstract base class for the Pad and Canvas classes.
static bool ProduceImage(TPad *pad, const char *filename, Int_t width=0, Int_t height=0)
Create image using batch (headless) capability of Chrome or Firefox browsers Supported png,...
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.
Style_t GetFillStyle() const override
void DrawFillArea(Int_t n, const Double_t *x, const Double_t *y) override
Paint filled area.
void DrawBox(Double_t x1, Double_t y1, Double_t x2, Double_t y2, EBoxMode mode) override
Paint a simple box.
void DrawTextNDC(Double_t u, Double_t v, const char *text, ETextMode mode) override
Paint text in normalized coordinates.
Float_t * StoreOperation(const std::string &oper, unsigned attrkind, int opersize=0)
Store operation identifier with appropriate attributes.
void DrawText(Double_t x, Double_t y, const char *text, ETextMode mode) override
Paint text.
void DrawLineNDC(Double_t u1, Double_t v1, Double_t u2, Double_t v2) override
Paint a simple line in normalized coordinates.
void DrawPolyMarker(Int_t n, const Double_t *x, const Double_t *y) override
Paint polymarker.
void DrawPolyLineNDC(Int_t n, const Double_t *u, const Double_t *v) override
Paint polyline in normalized coordinates.
Width_t GetLineWidth() const override
void SaveImage(TVirtualPad *, const char *, Int_t) const override
Produce image from WebPadPainter.
void DrawPolyLine(Int_t n, const Double_t *x, const Double_t *y) override
Paint Polyline.
void DrawLine(Double_t x1, Double_t y1, Double_t x2, Double_t y2) override
Paint a simple line.
void AddTextAttr(const TAttText &attr)
Store text attributes If attributes were not changed - ignore operation.
void AddMarkerAttr(const TAttMarker &attr)
Store marker attributes If attributes were not changed - ignore operation.
void AddLineAttr(const TAttLine &attr)
Store line attributes If attributes were not changed - ignore operation.
static std::string MakeTextOper(const char *str)
Create text operation If text include special symbols - use simple hex coding.
void AddOper(const std::string &oper)
Add next custom operator to painting Operations are separated by semicolons Following operations are ...
Float_t * Reserve(Int_t sz)
Reserve place in the float buffer Returns pointer on first element in reserved area.
void AddFillAttr(const TAttFill &attr)
Store fill attributes If attributes were not changed - ignore operation.