TGString


class description - source file - inheritance tree

class TGString


    public:
TGString TGString() TGString TGString(TString s) TGString TGString(const char* s) TGString TGString(const TGString* s) TGString TGString(TGString&) virtual void ~TGString() TClass* Class() virtual void Draw(Drawable_t id, GContext_t gc, Int_t x, Int_t y) virtual void DrawWrapped(Drawable_t id, GContext_t gc, Int_t x, Int_t y, UInt_t w, FontStruct_t font) Int_t GetLength() const virtual Int_t GetLines(FontStruct_t font, UInt_t w) const char* GetString() const virtual TClass* IsA() const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b)

Data Members

protected:
TString fString embedded string


See also

TGHotString

Class Description

                                                                      
 TGString and TGHotString                                             
                                                                      
 TGString wraps a TString and adds some graphics routines like        
 drawing, size of string on screen depending on font, etc.            
 TGHotString is a string with a "hot" character unerlined.            
                                                                      


void Draw(Drawable_t id, GContext_t gc, Int_t x, Int_t y)
 Draw string.

void DrawWrapped(Drawable_t id, GContext_t gc, Int_t x, Int_t y, UInt_t w, FontStruct_t font)
 Draw a string in a column with width w. If string is longer than
 w wrap it to next line.

Int_t GetLines(FontStruct_t font, UInt_t w)
 Get number of lines of width w the string would take using a certain font.



Inline Functions


           TGString TGString()
           TGString TGString(TString s)
           TGString TGString(const char* s)
           TGString TGString(const TGString* s)
              Int_t GetLength() const
        const char* GetString() const
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
           TGString TGString(TGString&)
               void ~TGString()


Author: Fons Rademakers 05/01/98
Last update: 2.23/03 07/09/99 23.34.51 by Fons Rademakers
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.