88 ::Error(
"DrawLineNDC",
"Not supported correctly");
132 for (
Int_t n = 0;
n < nPoints; ++
n) {
134 buf[
n * 2 + 1] = ys[
n];
148 for (
Int_t n = 0;
n < nPoints; ++
n) {
150 buf[
n * 2 + 1] = ys[
n];
164 for (
Int_t n = 0;
n < nPoints; ++
n) {
166 buf[
n * 2 + 1] = ys[
n];
180 for (
Int_t n = 0;
n < nPoints; ++
n) {
182 buf[
n * 2 + 1] = ys[
n];
194 ::Error(
"DrawPolyLineNDC",
"Not supported correctly");
198 for (
Int_t n = 0;
n < nPoints; ++
n) {
200 buf[
n * 2 + 1] =
v[
n];
215 for (
Int_t n = 0;
n < nPoints; ++
n) {
217 buf[
n * 2 + 1] =
y[
n];
232 for (
Int_t n = 0;
n < nPoints; ++
n) {
234 buf[
n * 2 + 1] =
y[
n];
267 ::Error(
"DrawTextNDC",
"Not supported correctly");
282 ::Error(
"DrawTextNDC",
"Not supported correctly");
static const double x2[5]
static const double x1[5]
void Error(const char *location, const char *msgfmt,...)
Use this function in case an error occurred.
TVirtualPad is an abstract base class for the Pad and Canvas classes.
virtual TCanvas * GetCanvas() const =0
static bool ProduceImage(TCanvas *c, const char *filename, Int_t width=0, Int_t height=0)
Create image using batch (headless) capability of Chrome browser Supported png, jpeg,...
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.