28 namespace Experimental {
66 :
TFrame(nullptr, pos, size)
73 std::unique_ptr<Detail::TPadUserCoordBase>
SwapUserCoordSystem(std::unique_ptr<Detail::TPadUserCoordBase> &&newCoord)
75 std::unique_ptr<Detail::TPadUserCoordBase> ret(std::move(newCoord));
81 std::array<TPadCoord::Normal, 2>
UserToNormal(
const std::array<TPadCoord::User, 2> &pos)
const 83 return fUserCoord->ToNormal(pos);
Namespace for new ROOT classes and functions.
std::unique_ptr< Detail::TPadUserCoordBase > SwapUserCoordSystem(std::unique_ptr< Detail::TPadUserCoordBase > &&newCoord)
Get the current user coordinate system.
void swap(TDirectoryEntry &e1, TDirectoryEntry &e2) noexcept
Base class for drawing options.
TPadExtent fSize
Size of the frame, in parent TPad coordinates.
DrawingOpts(TPadBase &pad)
A position (horizontal and vertical) in a TPad.
Base class for graphic containers for TDrawable-s.
std::array< TPadCoord::Normal, 2 > UserToNormal(const std::array< TPadCoord::User, 2 > &pos) const
Convert user coordinates to normal coordinates.
TPadExtent fSize
Size of the frame in parent TPad coordinates.
TPalette fPalette
Palette used to visualize user coordinates.
TPadPos fPos
Offset with respect to parent TPad.
TFrame(const TPadPos &pos=DrawingOpts::Default().fPos, const TPadExtent &size=DrawingOpts::Default().fSize)
Holds a user coordinate system with a palette.
An extent / size (horizontal and vertical) in a TPad.
static DrawingOpts & Default()
Retrieve the default drawing options for DERIVED.
std::unique_ptr< Detail::TPadUserCoordBase > fUserCoord
Mapping of user coordinates to normal coordinates.
TPadPos fPos
Position of the frame in parent TPad coordinates.