#ifndef ROOT_TGX11TTF
#define ROOT_TGX11TTF
#ifndef ROOT_TGX11
#include "TGX11.h"
#endif
#ifndef ROOT_TTF
#include "TTF.h"
#endif
class TGX11TTF : public TGX11 {
private:
enum EAlign { kNone, kTLeft, kTCenter, kTRight, kMLeft, kMCenter, kMRight,
kBLeft, kBCenter, kBRight };
FT_Vector fAlign;
void Align(void);
void DrawImage(FT_Bitmap *source, ULong_t fore, ULong_t back, XImage *xim,
Int_t bx, Int_t by);
Bool_t IsVisible(Int_t x, Int_t y, UInt_t w, UInt_t h);
XImage *GetBackground(Int_t x, Int_t y, UInt_t w, UInt_t h);
void RenderString(Int_t x, Int_t y, ETextMode mode);
public:
TGX11TTF(const TGX11 &org);
virtual ~TGX11TTF();
void DrawText(Int_t x, Int_t y, Float_t angle, Float_t mgn,
const char *text, ETextMode mode);
void SetTextFont(Font_t fontnumber);
Int_t SetTextFont(char *fontname, ETextSetMode mode);
void SetTextSize(Float_t textsize);
ClassDef(TGX11TTF,0)
};
#endif
ROOT page - Class index - Class Hierarchy - 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.