TGString
class description - source file - inheritance tree
public:
TGString TGString()
TGString TGString(TString s)
TGString TGString(char* s)
TGString TGString(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()
virtual Int_t GetLines(FontStruct_t font, UInt_t w)
const char* GetString()
virtual TClass* IsA()
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
protected:
TString fString embedded string
See also
-
TGHotString
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(char* s)
TGString TGString(TGString* s)
Int_t GetLength()
const char* GetString()
TClass* Class()
TClass* IsA()
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
TGString TGString(TGString&)
void ~TGString()
Author: Fons Rademakers 05/01/98
Last update: 2.00/00 16/02/98 02.36.03 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.