11#ifndef ROOT_TWebPainting 
   12#define ROOT_TWebPainting 
#define ClassDefOverride(name, id)
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t attr
 
Array of floats (32 bits per element).
 
void Set(Int_t n) override
Set size of this array to n floats.
 
Fill Area Attributes class.
 
The color creation and management class.
 
Mother of all ROOT objects.
 
Object used to store paint operations and deliver them to JSROOT.
 
void AddColor(Int_t indx, TColor *col)
Add custom color to operations.
 
TWebPainting()
Constructor.
 
void AddTextAttr(const TAttText &attr)
Store text attributes If attributes were not changed - ignore operation.
 
TAttMarker fLastMarker
! last marker attributes
 
void SetObjectName(const std::string &objname)
 
void AddMarkerAttr(const TAttMarker &attr)
Store marker attributes If attributes were not changed - ignore operation.
 
~TWebPainting() override=default
 
const std::string & GetObjectName() const
 
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.
 
const std::string & GetClassName() const
 
std::string fObjectName
object name
 
Int_t fSize
! filled buffer size
 
std::string fClassName
class name of object produced this painting
 
TAttFill fLastFill
! last fill attributes
 
std::string fOper
list of operations, separated by semicolons
 
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.
 
TArrayF fBuf
array of points for all operations
 
TAttLine fLastLine
! last line attributes
 
void AddFillAttr(const TAttFill &attr)
Store fill attributes If attributes were not changed - ignore operation.
 
void SetClassName(const std::string &classname)