Logo ROOT   6.18/05
Reference Guide
List of all members | Public Member Functions | Private Member Functions | Private Attributes | List of all members
TGLPadPainter Class Reference

"Delegating" part of TGLPadPainter.

Line/fill/etc. attributes can be set inside TPad, but not only there: many of them are set by base sub-objects of 2d primitives (2d primitives usually inherit TAttLine or TAttFill etc.). And these sub-objects call gVirtualX->SetLineWidth ... etc. So, if I save some attributes in my painter, it will be mess - at any moment I do not know, where to take line attribute - from gVirtualX or from my own member. So! All attributed, ALL go to/from gVirtualX.

Definition at line 28 of file TGLPadPainter.h.

Public Member Functions

 TGLPadPainter ()
 
void ClearDrawable ()
 Not required at the moment. More...
 
void CopyDrawable (Int_t device, Int_t px, Int_t py)
 Not required at the moment. More...
 
Int_t CreateDrawable (UInt_t w, UInt_t h)
 Not required at the moment. More...
 
void DestroyDrawable (Int_t device)
 Not required at the moment. More...
 
void DrawBox (Double_t x1, Double_t y1, Double_t x2, Double_t y2, EBoxMode mode)
 Draw filled or hollow box. More...
 
void DrawFillArea (Int_t n, const Double_t *x, const Double_t *y)
 Draw tesselated polygon (probably, outline only). More...
 
void DrawFillArea (Int_t n, const Float_t *x, const Float_t *y)
 Draw tesselated polygon (never called, probably, since TPad::PaintFillArea for floats is deprecated). More...
 
void DrawLine (Double_t x1, Double_t y1, Double_t x2, Double_t y2)
 Draw line segment. More...
 
void DrawLineNDC (Double_t u1, Double_t v1, Double_t u2, Double_t v2)
 Draw line segment in NDC coordinates. More...
 
void DrawPixels (const unsigned char *pixelData, UInt_t width, UInt_t height, Int_t dstX, Int_t dstY, Bool_t enableBlending)
 
void DrawPolyLine (Int_t n, const Double_t *x, const Double_t *y)
 Draw poly-line in user coordinates. More...
 
void DrawPolyLine (Int_t n, const Float_t *x, const Float_t *y)
 Never called? More...
 
void DrawPolyLineNDC (Int_t n, const Double_t *u, const Double_t *v)
 Poly line in NDC. More...
 
void DrawPolyMarker (Int_t n, const Double_t *x, const Double_t *y)
 Poly-marker. More...
 
void DrawPolyMarker (Int_t n, const Float_t *x, const Float_t *y)
 Poly-marker. More...
 
void DrawText (Double_t x, Double_t y, const char *text, ETextMode mode)
 Draw text. More...
 
void DrawText (Double_t, Double_t, const wchar_t *, ETextMode)
 Draw text. More...
 
template<class Char >
void DrawTextHelper (Double_t x, Double_t y, const Char *text, ETextMode)
 
void DrawTextNDC (Double_t x, Double_t y, const char *text, ETextMode mode)
 Draw text in NDC. More...
 
void DrawTextNDC (Double_t, Double_t, const wchar_t *, ETextMode)
 Draw text in NDC. More...
 
Color_t GetFillColor () const
 Delegate to gVirtualX. More...
 
Style_t GetFillStyle () const
 Delegate to gVirtualX. More...
 
Color_t GetLineColor () const
 Delegate to gVirtualX. More...
 
Style_t GetLineStyle () const
 Delegate to gVirtualX. More...
 
Width_t GetLineWidth () const
 Delegate to gVirtualX. More...
 
Short_t GetTextAlign () const
 Delegate to gVirtualX. More...
 
Float_t GetTextAngle () const
 Delegate to gVirtualX. More...
 
Color_t GetTextColor () const
 Delegate to gVirtualX. More...
 
Font_t GetTextFont () const
 Delegate to gVirtualX. More...
 
Float_t GetTextMagnitude () const
 Delegate to gVirtualX. More...
 
Float_t GetTextSize () const
 Delegate to gVirtualX. More...
 
void InitPainter ()
 Init gl-pad painter: More...
 
void InvalidateCS ()
 When TPad::Range for gPad is called, projection must be changed in OpenGL. More...
 
Bool_t IsTransparent () const
 Delegate to gVirtualX. More...
 
void LockPainter ()
 Locked state of painter means, that GL context can be invalid, so no GL calls can be executed. More...
 
void SaveImage (TVirtualPad *pad, const char *fileName, Int_t type) const
 Using TImage save frame-buffer contents as a picture. More...
 
void SelectDrawable (Int_t device)
 For gVirtualX this means select pixmap (or window) and all subsequent drawings will go into this pixmap. More...
 
void SetFillColor (Color_t fcolor)
 Delegate to gVirtualX. More...
 
void SetFillStyle (Style_t fstyle)
 Delegate to gVirtualX. More...
 
void SetLineColor (Color_t lcolor)
 Delegate to gVirtualX. More...
 
void SetLineStyle (Style_t lstyle)
 Delegate to gVirtualX. More...
 
void SetLineWidth (Width_t lwidth)
 Delegate to gVirtualX. More...
 
void SetOpacity (Int_t percent)
 Delegate to gVirtualX. More...
 
void SetTextAlign (Short_t align)
 Delegate to gVirtualX. More...
 
void SetTextAngle (Float_t tangle)
 Delegate to gVirtualX. More...
 
void SetTextColor (Color_t tcolor)
 Delegate to gVirtualX. More...
 
void SetTextFont (Font_t tfont)
 Delegate to gVirtualX. More...
 
void SetTextSize (Float_t tsize)
 Delegate to gVirtualX. More...
 
void SetTextSizePixels (Int_t npixels)
 Delegate to gVirtualX. More...
 
- Public Member Functions inherited from TVirtualPadPainter
virtual ~TVirtualPadPainter ()
 Virtual dtor. More...
 
virtual void ClearDrawable ()=0
 
virtual void CopyDrawable (Int_t device, Int_t px, Int_t py)=0
 
virtual Int_t CreateDrawable (UInt_t w, UInt_t h)=0
 
virtual void DestroyDrawable (Int_t device)=0
 
virtual void DrawBox (Double_t x1, Double_t y1, Double_t x2, Double_t y2, EBoxMode mode)=0
 
virtual void DrawFillArea (Int_t n, const Double_t *x, const Double_t *y)=0
 
virtual void DrawFillArea (Int_t n, const Float_t *x, const Float_t *y)=0
 
virtual void DrawLine (Double_t x1, Double_t y1, Double_t x2, Double_t y2)=0
 
virtual void DrawLineNDC (Double_t u1, Double_t v1, Double_t u2, Double_t v2)=0
 
virtual void DrawPixels (const unsigned char *pixelData, UInt_t width, UInt_t height, Int_t dstX, Int_t dstY, Bool_t enableAlphaBlending)=0
 
virtual void DrawPolyLine (Int_t n, const Double_t *x, const Double_t *y)=0
 
virtual void DrawPolyLine (Int_t n, const Float_t *x, const Float_t *y)=0
 
virtual void DrawPolyLineNDC (Int_t n, const Double_t *u, const Double_t *v)=0
 
virtual void DrawPolyMarker (Int_t n, const Double_t *x, const Double_t *y)=0
 
virtual void DrawPolyMarker (Int_t n, const Float_t *x, const Float_t *y)=0
 
virtual void DrawText (Double_t x, Double_t y, const char *text, ETextMode mode)=0
 
virtual void DrawText (Double_t x, Double_t y, const wchar_t *text, ETextMode mode)=0
 
virtual void DrawTextNDC (Double_t u, Double_t v, const char *text, ETextMode mode)=0
 
virtual void DrawTextNDC (Double_t u, Double_t v, const wchar_t *text, ETextMode mode)=0
 
virtual Color_t GetFillColor () const =0
 
virtual Style_t GetFillStyle () const =0
 
virtual Color_t GetLineColor () const =0
 
virtual Style_t GetLineStyle () const =0
 
virtual Width_t GetLineWidth () const =0
 
virtual Short_t GetTextAlign () const =0
 
virtual Float_t GetTextAngle () const =0
 
virtual Color_t GetTextColor () const =0
 
virtual Font_t GetTextFont () const =0
 
virtual Float_t GetTextMagnitude () const =0
 
virtual Float_t GetTextSize () const =0
 
virtual void InitPainter ()
 Empty definition. More...
 
virtual void InvalidateCS ()
 Empty definition. More...
 
virtual Bool_t IsTransparent () const =0
 
virtual void LockPainter ()
 Empty definition. More...
 
virtual void SaveImage (TVirtualPad *pad, const char *fileName, Int_t type) const =0
 
virtual void SelectDrawable (Int_t device)=0
 
virtual void SetFillColor (Color_t fcolor)=0
 
virtual void SetFillStyle (Style_t fstyle)=0
 
virtual void SetLineColor (Color_t lcolor)=0
 
virtual void SetLineStyle (Style_t lstyle)=0
 
virtual void SetLineWidth (Width_t lwidth)=0
 
virtual void SetOpacity (Int_t percent)=0
 
virtual void SetTextAlign (Short_t align=11)=0
 
virtual void SetTextAngle (Float_t tangle=0)=0
 
virtual void SetTextColor (Color_t tcolor=1)=0
 
virtual void SetTextFont (Font_t tfont=62)=0
 
virtual void SetTextSize (Float_t tsize=1)=0
 
virtual void SetTextSizePixels (Int_t npixels)=0
 

Private Member Functions

 TGLPadPainter (const TGLPadPainter &rhs)
 
void DrawGradient (const TLinearGradient *gradient, Int_t n, const Double_t *x, const Double_t *y)
 
void DrawGradient (const TRadialGradient *gradient, Int_t n, const Double_t *x, const Double_t *y)
 
void DrawPolygonWithGradient (Int_t n, const Double_t *x, const Double_t *y)
 At the moment I assume both linear and radial gradients will work the same way - using a stencil buffer and some big rectangle(s) to fill with a gradient. More...
 
void DrawPolyMarker ()
 Poly-marker. More...
 
void DrawTesselation (Int_t n, const Double_t *x, const Double_t *y)
 
template<class Char_t >
void DrawTextHelper (Double_t x, Double_t y, const Char_t *text, ETextMode mode)
 
TGLPadPainteroperator= (const TGLPadPainter &rhs)
 
void RestoreModelviewMatrix () const
 Restore the modelview matrix. More...
 
void RestoreProjectionMatrix () const
 Restore the projection matrix. More...
 
void RestoreViewport ()
 Restore the saved viewport. More...
 
void SaveModelviewMatrix () const
 Save the modelview matrix. More...
 
void SaveProjectionMatrix () const
 Save the projection matrix. More...
 
void SaveViewport ()
 Extract and save the current viewport. More...
 

Private Attributes

TGLFont fF
 
TGLFontManager fFM
 
Bool_t fIsHollowArea
 
Rgl::Pad::GLLimits fLimits
 
Bool_t fLocked
 
Rgl::Pad::MarkerPainter fMarker
 
std::vector< TPointfPoly
 
Rgl::Pad::PolygonStippleSet fSSet
 
Rgl::Pad::Tesselator fTess
 
Int_t fVp [4]
 
std::vector< Double_tfVs
 

Additional Inherited Members

- Public Types inherited from TVirtualPadPainter
enum  EBoxMode { kHollow , kFilled }
 
enum  ETextMode { kClear , kOpaque }
 
- Static Public Member Functions inherited from TVirtualPadPainter
static TVirtualPadPainterPadPainter (Option_t *opt="")
 Create a pad painter of specified type. More...
 

#include <TGLPadPainter.h>

Inheritance diagram for TGLPadPainter:
[legend]

Constructor & Destructor Documentation

◆ TGLPadPainter() [1/2]

TGLPadPainter::TGLPadPainter ( )

Definition at line 60 of file TGLPadPainter.cxx.

◆ TGLPadPainter() [2/2]

TGLPadPainter::TGLPadPainter ( const TGLPadPainter rhs)
private

Member Function Documentation

◆ ClearDrawable()

void TGLPadPainter::ClearDrawable ( )
virtual

Not required at the moment.

Implements TVirtualPadPainter.

Definition at line 276 of file TGLPadPainter.cxx.

◆ CopyDrawable()

void TGLPadPainter::CopyDrawable ( Int_t  device,
Int_t  px,
Int_t  py 
)
virtual

Not required at the moment.

Implements TVirtualPadPainter.

Definition at line 283 of file TGLPadPainter.cxx.

◆ CreateDrawable()

Int_t TGLPadPainter::CreateDrawable ( UInt_t  w,
UInt_t  h 
)
virtual

Not required at the moment.

Implements TVirtualPadPainter.

Definition at line 268 of file TGLPadPainter.cxx.

◆ DestroyDrawable()

void TGLPadPainter::DestroyDrawable ( Int_t  device)
virtual

Not required at the moment.

Implements TVirtualPadPainter.

Definition at line 290 of file TGLPadPainter.cxx.

◆ DrawBox()

void TGLPadPainter::DrawBox ( Double_t  x1,
Double_t  y1,
Double_t  x2,
Double_t  y2,
EBoxMode  mode 
)
virtual

Draw filled or hollow box.

Implements TVirtualPadPainter.

Definition at line 468 of file TGLPadPainter.cxx.

◆ DrawFillArea() [1/2]

void TGLPadPainter::DrawFillArea ( Int_t  n,
const Double_t x,
const Double_t y 
)
virtual

Draw tesselated polygon (probably, outline only).

Implements TVirtualPadPainter.

Definition at line 495 of file TGLPadPainter.cxx.

◆ DrawFillArea() [2/2]

void TGLPadPainter::DrawFillArea ( Int_t  n,
const Float_t x,
const Float_t y 
)
virtual

Draw tesselated polygon (never called, probably, since TPad::PaintFillArea for floats is deprecated).

Implements TVirtualPadPainter.

Definition at line 525 of file TGLPadPainter.cxx.

◆ DrawGradient() [1/2]

void TGLPadPainter::DrawGradient ( const TLinearGradient gradient,
Int_t  n,
const Double_t x,
const Double_t y 
)
private

Definition at line 1335 of file TGLPadPainter.cxx.

◆ DrawGradient() [2/2]

void TGLPadPainter::DrawGradient ( const TRadialGradient gradient,
Int_t  n,
const Double_t x,
const Double_t y 
)
private

Definition at line 1156 of file TGLPadPainter.cxx.

◆ DrawLine()

void TGLPadPainter::DrawLine ( Double_t  x1,
Double_t  y1,
Double_t  x2,
Double_t  y2 
)
virtual

Draw line segment.

Implements TVirtualPadPainter.

Definition at line 407 of file TGLPadPainter.cxx.

◆ DrawLineNDC()

void TGLPadPainter::DrawLineNDC ( Double_t  u1,
Double_t  v1,
Double_t  u2,
Double_t  v2 
)
virtual

Draw line segment in NDC coordinates.

Implements TVirtualPadPainter.

Definition at line 451 of file TGLPadPainter.cxx.

◆ DrawPixels()

void TGLPadPainter::DrawPixels ( const unsigned char *  pixelData,
UInt_t  width,
UInt_t  height,
Int_t  dstX,
Int_t  dstY,
Bool_t  enableBlending 
)
virtual

Implements TVirtualPadPainter.

Definition at line 1024 of file TGLPadPainter.cxx.

◆ DrawPolygonWithGradient()

void TGLPadPainter::DrawPolygonWithGradient ( Int_t  n,
const Double_t x,
const Double_t y 
)
private

At the moment I assume both linear and radial gradients will work the same way - using a stencil buffer and some big rectangle(s) to fill with a gradient.

Thus I have a 'common' part - the part responsible for a stencil test.

Definition at line 1102 of file TGLPadPainter.cxx.

◆ DrawPolyLine() [1/2]

void TGLPadPainter::DrawPolyLine ( Int_t  n,
const Double_t x,
const Double_t y 
)
virtual

Draw poly-line in user coordinates.

Implements TVirtualPadPainter.

Definition at line 557 of file TGLPadPainter.cxx.

◆ DrawPolyLine() [2/2]

void TGLPadPainter::DrawPolyLine ( Int_t  n,
const Float_t x,
const Float_t y 
)
virtual

Never called?

Implements TVirtualPadPainter.

Definition at line 594 of file TGLPadPainter.cxx.

◆ DrawPolyLineNDC()

void TGLPadPainter::DrawPolyLineNDC ( Int_t  n,
const Double_t u,
const Double_t v 
)
virtual

Poly line in NDC.

Implements TVirtualPadPainter.

Definition at line 616 of file TGLPadPainter.cxx.

◆ DrawPolyMarker() [1/3]

void TGLPadPainter::DrawPolyMarker ( )
private

Poly-marker.

Definition at line 666 of file TGLPadPainter.cxx.

◆ DrawPolyMarker() [2/3]

void TGLPadPainter::DrawPolyMarker ( Int_t  n,
const Double_t x,
const Double_t y 
)
virtual

Poly-marker.

Implements TVirtualPadPainter.

Definition at line 644 of file TGLPadPainter.cxx.

◆ DrawPolyMarker() [3/3]

void TGLPadPainter::DrawPolyMarker ( Int_t  n,
const Float_t x,
const Float_t y 
)
virtual

Poly-marker.

Implements TVirtualPadPainter.

Definition at line 655 of file TGLPadPainter.cxx.

◆ DrawTesselation()

void TGLPadPainter::DrawTesselation ( Int_t  n,
const Double_t x,
const Double_t y 
)
private

Definition at line 1456 of file TGLPadPainter.cxx.

◆ DrawText() [1/2]

void TGLPadPainter::DrawText ( Double_t  x,
Double_t  y,
const char *  text,
ETextMode  mode 
)
virtual

Draw text.

This operation is especially dangerous if in locked state - ftgl will assert on zero texture size (which is result of bad GL context).

Implements TVirtualPadPainter.

Definition at line 854 of file TGLPadPainter.cxx.

◆ DrawText() [2/2]

void TGLPadPainter::DrawText ( Double_t  x,
Double_t  y,
const wchar_t *  text,
ETextMode  mode 
)
virtual

Draw text.

This operation is especially dangerous if in locked state - ftgl will assert on zero texture size (which is result of bad GL context).

Implements TVirtualPadPainter.

Definition at line 870 of file TGLPadPainter.cxx.

◆ DrawTextHelper() [1/2]

template<class Char >
void TGLPadPainter::DrawTextHelper ( Double_t  x,
Double_t  y,
const Char *  text,
ETextMode   
)

Definition at line 809 of file TGLPadPainter.cxx.

◆ DrawTextHelper() [2/2]

template<class Char_t >
void TGLPadPainter::DrawTextHelper ( Double_t  x,
Double_t  y,
const Char_t text,
ETextMode  mode 
)
private

◆ DrawTextNDC() [1/2]

void TGLPadPainter::DrawTextNDC ( Double_t  u,
Double_t  v,
const char *  text,
ETextMode  mode 
)
virtual

Draw text in NDC.

This operation is especially dangerous if in locked state - ftgl will assert on zero texture size (which is result of bad GL context).

Implements TVirtualPadPainter.

Definition at line 886 of file TGLPadPainter.cxx.

◆ DrawTextNDC() [2/2]

void TGLPadPainter::DrawTextNDC ( Double_t  u,
Double_t  v,
const wchar_t *  text,
ETextMode  mode 
)
virtual

Draw text in NDC.

This operation is especially dangerous if in locked state - ftgl will assert on zero texture size (which is result of bad GL context).

Implements TVirtualPadPainter.

Definition at line 901 of file TGLPadPainter.cxx.

◆ GetFillColor()

Color_t TGLPadPainter::GetFillColor ( ) const
virtual

Delegate to gVirtualX.

Implements TVirtualPadPainter.

Definition at line 119 of file TGLPadPainter.cxx.

◆ GetFillStyle()

Style_t TGLPadPainter::GetFillStyle ( ) const
virtual

Delegate to gVirtualX.

Implements TVirtualPadPainter.

Definition at line 127 of file TGLPadPainter.cxx.

◆ GetLineColor()

Color_t TGLPadPainter::GetLineColor ( ) const
virtual

Delegate to gVirtualX.

Implements TVirtualPadPainter.

Definition at line 71 of file TGLPadPainter.cxx.

◆ GetLineStyle()

Style_t TGLPadPainter::GetLineStyle ( ) const
virtual

Delegate to gVirtualX.

Implements TVirtualPadPainter.

Definition at line 79 of file TGLPadPainter.cxx.

◆ GetLineWidth()

Width_t TGLPadPainter::GetLineWidth ( ) const
virtual

Delegate to gVirtualX.

Implements TVirtualPadPainter.

Definition at line 87 of file TGLPadPainter.cxx.

◆ GetTextAlign()

Short_t TGLPadPainter::GetTextAlign ( ) const
virtual

Delegate to gVirtualX.

Implements TVirtualPadPainter.

Definition at line 168 of file TGLPadPainter.cxx.

◆ GetTextAngle()

Float_t TGLPadPainter::GetTextAngle ( ) const
virtual

Delegate to gVirtualX.

Implements TVirtualPadPainter.

Definition at line 176 of file TGLPadPainter.cxx.

◆ GetTextColor()

Color_t TGLPadPainter::GetTextColor ( ) const
virtual

Delegate to gVirtualX.

Implements TVirtualPadPainter.

Definition at line 184 of file TGLPadPainter.cxx.

◆ GetTextFont()

Font_t TGLPadPainter::GetTextFont ( ) const
virtual

Delegate to gVirtualX.

Implements TVirtualPadPainter.

Definition at line 192 of file TGLPadPainter.cxx.

◆ GetTextMagnitude()

Float_t TGLPadPainter::GetTextMagnitude ( ) const
virtual

Delegate to gVirtualX.

Implements TVirtualPadPainter.

Definition at line 208 of file TGLPadPainter.cxx.

◆ GetTextSize()

Float_t TGLPadPainter::GetTextSize ( ) const
virtual

Delegate to gVirtualX.

Implements TVirtualPadPainter.

Definition at line 200 of file TGLPadPainter.cxx.

◆ InitPainter()

void TGLPadPainter::InitPainter ( )
virtual

Init gl-pad painter:

  1. 2D painter does not use depth test, should not modify depth-buffer content (except initial cleanup).
  2. Disable cull face.
  3. Disable lighting.
  4. Set viewport (to the whole canvas area).
  5. Set camera.
  6. Unlock painter.

Reimplemented from TVirtualPadPainter.

Definition at line 343 of file TGLPadPainter.cxx.

◆ InvalidateCS()

void TGLPadPainter::InvalidateCS ( )
virtual

When TPad::Range for gPad is called, projection must be changed in OpenGL.

Reimplemented from TVirtualPadPainter.

Definition at line 373 of file TGLPadPainter.cxx.

◆ IsTransparent()

Bool_t TGLPadPainter::IsTransparent ( ) const
virtual

Delegate to gVirtualX.

IsTransparent is implemented as inline function in TAttFill.

Implements TVirtualPadPainter.

Definition at line 136 of file TGLPadPainter.cxx.

◆ LockPainter()

void TGLPadPainter::LockPainter ( )
virtual

Locked state of painter means, that GL context can be invalid, so no GL calls can be executed.

Reimplemented from TVirtualPadPainter.

Definition at line 390 of file TGLPadPainter.cxx.

◆ operator=()

TGLPadPainter & TGLPadPainter::operator= ( const TGLPadPainter rhs)
private

◆ RestoreModelviewMatrix()

void TGLPadPainter::RestoreModelviewMatrix ( ) const
private

Restore the modelview matrix.

Attention! GL_MODELVIEW will become the current matrix after this call!

Definition at line 948 of file TGLPadPainter.cxx.

◆ RestoreProjectionMatrix()

void TGLPadPainter::RestoreProjectionMatrix ( ) const
private

Restore the projection matrix.

Attention! GL_PROJECTION will become the current matrix after this call!

Definition at line 926 of file TGLPadPainter.cxx.

◆ RestoreViewport()

void TGLPadPainter::RestoreViewport ( )
private

Restore the saved viewport.

Definition at line 965 of file TGLPadPainter.cxx.

◆ SaveImage()

void TGLPadPainter::SaveImage ( TVirtualPad pad,
const char *  fileName,
Int_t  type 
) const
virtual

Using TImage save frame-buffer contents as a picture.

Implements TVirtualPadPainter.

Definition at line 973 of file TGLPadPainter.cxx.

◆ SaveModelviewMatrix()

void TGLPadPainter::SaveModelviewMatrix ( ) const
private

Save the modelview matrix.

Attention! GL_MODELVIEW will become the current matrix after this call!

Definition at line 937 of file TGLPadPainter.cxx.

◆ SaveProjectionMatrix()

void TGLPadPainter::SaveProjectionMatrix ( ) const
private

Save the projection matrix.

Attention! GL_PROJECTION will become the current matrix after this call!

Definition at line 915 of file TGLPadPainter.cxx.

◆ SaveViewport()

void TGLPadPainter::SaveViewport ( )
private

Extract and save the current viewport.

Definition at line 957 of file TGLPadPainter.cxx.

◆ SelectDrawable()

void TGLPadPainter::SelectDrawable ( Int_t  device)
virtual

For gVirtualX this means select pixmap (or window) and all subsequent drawings will go into this pixmap.

For OpenGL this means the change of coordinate system and viewport.

Implements TVirtualPadPainter.

Definition at line 300 of file TGLPadPainter.cxx.

◆ SetFillColor()

void TGLPadPainter::SetFillColor ( Color_t  fcolor)
virtual

Delegate to gVirtualX.

Implements TVirtualPadPainter.

Definition at line 144 of file TGLPadPainter.cxx.

◆ SetFillStyle()

void TGLPadPainter::SetFillStyle ( Style_t  fstyle)
virtual

Delegate to gVirtualX.

Implements TVirtualPadPainter.

Definition at line 152 of file TGLPadPainter.cxx.

◆ SetLineColor()

void TGLPadPainter::SetLineColor ( Color_t  lcolor)
virtual

Delegate to gVirtualX.

Implements TVirtualPadPainter.

Definition at line 95 of file TGLPadPainter.cxx.

◆ SetLineStyle()

void TGLPadPainter::SetLineStyle ( Style_t  lstyle)
virtual

Delegate to gVirtualX.

Implements TVirtualPadPainter.

Definition at line 103 of file TGLPadPainter.cxx.

◆ SetLineWidth()

void TGLPadPainter::SetLineWidth ( Width_t  lwidth)
virtual

Delegate to gVirtualX.

Implements TVirtualPadPainter.

Definition at line 111 of file TGLPadPainter.cxx.

◆ SetOpacity()

void TGLPadPainter::SetOpacity ( Int_t  percent)
virtual

Delegate to gVirtualX.

Implements TVirtualPadPainter.

Definition at line 160 of file TGLPadPainter.cxx.

◆ SetTextAlign()

void TGLPadPainter::SetTextAlign ( Short_t  align)
virtual

Delegate to gVirtualX.

Implements TVirtualPadPainter.

Definition at line 216 of file TGLPadPainter.cxx.

◆ SetTextAngle()

void TGLPadPainter::SetTextAngle ( Float_t  tangle)
virtual

Delegate to gVirtualX.

Implements TVirtualPadPainter.

Definition at line 224 of file TGLPadPainter.cxx.

◆ SetTextColor()

void TGLPadPainter::SetTextColor ( Color_t  tcolor)
virtual

Delegate to gVirtualX.

Implements TVirtualPadPainter.

Definition at line 232 of file TGLPadPainter.cxx.

◆ SetTextFont()

void TGLPadPainter::SetTextFont ( Font_t  tfont)
virtual

Delegate to gVirtualX.

Implements TVirtualPadPainter.

Definition at line 240 of file TGLPadPainter.cxx.

◆ SetTextSize()

void TGLPadPainter::SetTextSize ( Float_t  tsize)
virtual

Delegate to gVirtualX.

Implements TVirtualPadPainter.

Definition at line 248 of file TGLPadPainter.cxx.

◆ SetTextSizePixels()

void TGLPadPainter::SetTextSizePixels ( Int_t  npixels)
virtual

Delegate to gVirtualX.

Implements TVirtualPadPainter.

Definition at line 256 of file TGLPadPainter.cxx.

Member Data Documentation

◆ fF

TGLFont TGLPadPainter::fF
private

Definition at line 38 of file TGLPadPainter.h.

◆ fFM

TGLFontManager TGLPadPainter::fFM
private

Definition at line 37 of file TGLPadPainter.h.

◆ fIsHollowArea

Bool_t TGLPadPainter::fIsHollowArea
private

Definition at line 43 of file TGLPadPainter.h.

◆ fLimits

Rgl::Pad::GLLimits TGLPadPainter::fLimits
private

Definition at line 33 of file TGLPadPainter.h.

◆ fLocked

Bool_t TGLPadPainter::fLocked
private

Definition at line 45 of file TGLPadPainter.h.

◆ fMarker

Rgl::Pad::MarkerPainter TGLPadPainter::fMarker
private

Definition at line 32 of file TGLPadPainter.h.

◆ fPoly

std::vector<TPoint> TGLPadPainter::fPoly
private

Definition at line 42 of file TGLPadPainter.h.

◆ fSSet

Rgl::Pad::PolygonStippleSet TGLPadPainter::fSSet
private

Definition at line 30 of file TGLPadPainter.h.

◆ fTess

Rgl::Pad::Tesselator TGLPadPainter::fTess
private

Definition at line 31 of file TGLPadPainter.h.

◆ fVp

Int_t TGLPadPainter::fVp[4]
private

Definition at line 40 of file TGLPadPainter.h.

◆ fVs

std::vector<Double_t> TGLPadPainter::fVs
private

Definition at line 35 of file TGLPadPainter.h.

Libraries for TGLPadPainter:
[legend]

The documentation for this class was generated from the following files: