32 fAttFill.SetFillStyle(4000 + percent);
96 ::Error(
"DrawLineNDC",
"Not supported correctly");
141 for (
Int_t n = 0;
n < nPoints; ++
n) {
143 buf[
n * 2 + 1] = ys[
n];
157 for (
Int_t n = 0;
n < nPoints; ++
n) {
159 buf[
n * 2 + 1] = ys[
n];
173 for (
Int_t n = 0;
n < nPoints; ++
n) {
175 buf[
n * 2 + 1] = ys[
n];
189 for (
Int_t n = 0;
n < nPoints; ++
n) {
191 buf[
n * 2 + 1] = ys[
n];
203 ::Error(
"DrawPolyLineNDC",
"Not supported correctly");
207 for (
Int_t n = 0;
n < nPoints; ++
n) {
209 buf[
n * 2 + 1] =
v[
n];
224 for (
Int_t n = 0;
n < nPoints; ++
n) {
226 buf[
n * 2 + 1] =
y[
n];
241 for (
Int_t n = 0;
n < nPoints; ++
n) {
243 buf[
n * 2 + 1] =
y[
n];
264 ::Error(
"DrawTextUrl",
"Not supported yet in web painter");
279 ::Error(
"DrawText",
"Not supported wchar_t yet");
293 ::Error(
"DrawTextNDC",
"Not supported correctly");
308 ::Error(
"DrawTextNDC",
"Not supported correctly");
int Int_t
Signed integer 4 bytes (int).
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
bool Bool_t
Boolean (0=false, 1=true) (bool).
double Double_t
Double 8 bytes.
float Float_t
Float 4 bytes (float).
Error("WriteTObject","The current directory (%s) is not associated with a file. The object (%s) has not been written.", GetName(), objname)
const TAttText & GetAttText() const override
Get text attributes.
const TAttMarker & GetAttMarker() const override
Get marker attributes.
const TAttFill & GetAttFill() const override
Width_t GetLineWidth() const override
TAttFill fAttFill
current fill attributes
const TAttLine & GetAttLine() const override
Get line attributes.
Style_t GetFillStyle() const override
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.
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.
TWebPainting * fPainting
! object to store all painting, owned by TWebPS object
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.
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 DrawTextUrl(Double_t x, Double_t y, const char *text, const char *url) override
Paint text with url.
void DrawLine(Double_t x1, Double_t y1, Double_t x2, Double_t y2) override
Paint a simple line.
void SetOpacity(Int_t percent) override
Set opacity - similar to TVirtualPS usecase.
static std::string MakeTextOper(const char *str)
Create text operation If text include special symbols - use simple hex coding.