107 for ( i = 1; i < (
int)
fWidth/3 - 2; ++i ) {
109 i * dist + dist/2, base + amplitude);
113 for ( i = 1; i < (
int)
fWidth/3 - 2; ++i ) {
114 gVirtualX->DrawLine(
fId,
gc->GetGC(), i * dist + dist/2, base + amplitude,
115 i * dist + dist, base - amplitude);
139 base + amplitude,i * dist + dist/2);
145 gVirtualX->DrawLine(
fId,
gc->GetGC(), base + amplitude, i * dist + dist/2,
146 base - amplitude, i * dist + dist );
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize id
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void gc
const TGResourcePool * GetResourcePool() const
void Resize(UInt_t w=0, UInt_t h=0) override
Resize the frame.
UInt_t fHeight
frame height
void DoRedraw() override
Redraw the frame.
Encapsulate a graphics context used in the low level graphics.
TGClient * fClient
Connection to display server.
Handle_t fId
X11/Win32 Window identifier.
This class implements a pool for the default GUI resource set, like GC's, colors, fonts,...
const TGGC * GetFrameShadowGC() const
const TGGC * GetSelectedBckgndGC() const
const TGGC * GetWhiteGC() const
ROOT GUI Window base class.
Short_t Min(Short_t a, Short_t b)
Returns the smallest of a and b.
Point structure (maps to the X11 XPoint structure)