16#ifndef ROOT7_RPadDisplayItem
17#define ROOT7_RPadDisplayItem
24namespace Experimental {
53 void Add(std::unique_ptr<RDisplayItem> &&item) {
fPrimitives.push_back(std::move(item)); }
Base class for painting data for JS.
Holds a user coordinate system with a palette.
Display item for the pad Includes different graphical properties of the pad itself plus list of creat...
const RPadExtent * fSize
temporary pointer on pad size attributes
void SetTitle(const std::string &title)
PadPrimitives_t & GetPrimitives()
std::array< RPadLength::Pixel, 2 > fWinSize
window size (used for canvas)
void SetFrame(const RFrame *f)
void SetWindowSize(const std::array< RPadLength::Pixel, 2 > &win)
void SetSize(const RPadExtent *sz)
const RPad::DrawingOpts * fDrawOpts
temporary pointer on pad drawing options
void Add(std::unique_ptr< RDisplayItem > &&item)
void SetPos(const RPadPos *pos)
PadPrimitives_t fPrimitives
display items for all primitives in the pad
std::vector< std::unique_ptr< RDisplayItem > > PadPrimitives_t
void SetDrawOpts(const RPad::DrawingOpts *opts)
const RPadPos * fPos
temporary pointer on pad position attribute
const RFrame * fFrame
temporary pointer on frame object
RPadDisplayItem()=default
virtual ~RPadDisplayItem()
std::string fTitle
title of the pad (used for canvas)
Drawing options for a RPad.
Namespace for new ROOT classes and functions.
An extent / size (horizontal and vertical) in a RPad.
A position (horizontal and vertical) in a RPad.