#include <TGX11TTF.h>
Inheritance diagram for TGX11TTF:
Definition at line 46 of file TGX11TTF.h.
enum TGX11TTF::EAlign [private] |
Definition at line 49 of file TGX11TTF.h.
enum TGX11TTF::EAlign [private] |
Definition at line 49 of file TGX11TTF.h.
TGX11TTF::TGX11TTF | ( | const TGX11 & | org | ) |
Referenced by Activate(), G__G__X11TTF_161_0_30(), and G__G__X11TTF_161_0_6().
virtual TGX11TTF::~TGX11TTF | ( | ) | [inline, virtual] |
Definition at line 66 of file TGX11TTF.h.
TGX11TTF::TGX11TTF | ( | const TGX11 & | org | ) |
virtual TGX11TTF::~TGX11TTF | ( | ) | [inline, virtual] |
Definition at line 66 of file TGX11TTF.h.
void TGX11TTF::Align | ( | void | ) | [private] |
Definition at line 181 of file TGX11TTF.cxx.
References align(), fAlign, TTF::fgAscent, TTF::fgRotMatrix, TTF::fgWidth, FT_Vector_Transform(), TGX11::fTextAlign, kBCenter, kBRight, kMCenter, kMLeft, kMRight, kTCenter, kTLeft, kTRight, FT_Vector_::x, and FT_Vector_::y.
Referenced by DrawText().
void TGX11TTF::DrawImage | ( | FT_Bitmap * | source, | |
ULong_t | fore, | |||
ULong_t | back, | |||
XImage * | xim, | |||
Int_t | bx, | |||
Int_t | by | |||
) | [private] |
Definition at line 213 of file TGX11TTF.cxx.
References TGX11::AllocColor(), b, d, TGX11::fColormap, TTF::fgSmoothing, g, int, kBitsPerByte, n, p, TGX11::QueryColors(), red, row, s, TESTBIT, TObject::Warning(), x, and y.
Referenced by RenderString().
Definition at line 380 of file TGX11TTF.cxx.
References TGX11::GetCurrentWindow(), height, kFALSE, kTRUE, width, and xy.
Referenced by RenderString().
Definition at line 354 of file TGX11TTF.cxx.
References TGX11::fDisplay, TGX11::GetCurrentWindow(), height, width, and xy.
Referenced by RenderString().
Definition at line 401 of file TGX11TTF.cxx.
References depth, DrawImage(), TObject::Error(), fAlign, TGX11::fDepth, TGX11::fDisplay, TTF::fgGlyphs, TTF::fgNumGlyphs, TTF::fgSmoothing, TTGlyph::fImage, FT_Glyph_To_Bitmap(), ft_render_mode_mono, ft_render_mode_normal, TGX11::fVisual, GetBackground(), TTF::GetBox(), TGX11::GetCurrentWindow(), TGX11::GetGC(), h, int, IsVisible(), TVirtualX::kClear, malloc(), n, w, FT_Vector_::x, x1, FT_BBox_::xMax, FT_BBox_::xMin, FT_Vector_::y, FT_BBox_::yMax, and FT_BBox_::yMin.
Referenced by DrawText().
Bool_t TGX11TTF::Init | ( | void * | display | ) | [virtual] |
Reimplemented from TGX11.
Definition at line 165 of file TGX11TTF.cxx.
References TGX11::fDepth, TGX11::Init(), kFALSE, kTRUE, and TTF::SetSmoothing().
void TGX11TTF::DrawText | ( | Int_t | x, | |
Int_t | y, | |||
Float_t | angle, | |||
Float_t | mgn, | |||
const char * | text, | |||
ETextMode | mode | |||
) | [virtual] |
Reimplemented from TGX11.
Definition at line 335 of file TGX11TTF.cxx.
References Align(), TGX11::DrawText(), TTF::fgInit, TGX11::fHasTTFonts, TTF::Init(), TTF::LayoutGlyphs(), TTF::PrepareString(), RenderString(), and TTF::SetRotationMatrix().
void TGX11TTF::SetTextFont | ( | Font_t | fontnumber | ) | [virtual] |
Reimplemented from TGX11.
Definition at line 485 of file TGX11TTF.cxx.
References TGX11::fHasTTFonts, TAttText::fTextFont, TGX11::SetTextFont(), and TTF::SetTextFont().
Int_t TGX11TTF::SetTextFont | ( | char * | fontname, | |
ETextSetMode | mode | |||
) | [virtual] |
Reimplemented from TGX11.
Definition at line 498 of file TGX11TTF.cxx.
References TGX11::fHasTTFonts, TGX11::SetTextFont(), and TTF::SetTextFont().
void TGX11TTF::SetTextSize | ( | Float_t | textsize | ) | [virtual] |
Reimplemented from TGX11.
Definition at line 517 of file TGX11TTF.cxx.
References TGX11::fHasTTFonts, TAttText::fTextSize, TGX11::SetTextSize(), and TTF::SetTextSize().
void TGX11TTF::Activate | ( | ) | [static] |
Definition at line 153 of file TGX11TTF.cxx.
References TGX11TTF().
Referenced by G__G__X11TTF_161_0_17(), G__setup_memfuncTGX11TTF(), and TTFX11Init::TTFX11Init().
void TGX11TTF::Align | ( | void | ) | [private] |
void TGX11TTF::DrawImage | ( | FT_Bitmap * | source, | |
ULong_t | fore, | |||
ULong_t | back, | |||
XImage * | xim, | |||
Int_t | bx, | |||
Int_t | by | |||
) | [private] |
void TGX11TTF::DrawText | ( | Int_t | x, | |
Int_t | y, | |||
Float_t | angle, | |||
Float_t | mgn, | |||
const char * | text, | |||
ETextMode | mode | |||
) | [virtual] |
Reimplemented from TGX11.
Int_t TGX11TTF::SetTextFont | ( | char * | fontname, | |
ETextSetMode | mode | |||
) | [virtual] |
Reimplemented from TGX11.
FontStruct_t TGX11TTF::LoadQueryFont | ( | const char * | font_name | ) | [virtual] |
Reimplemented from TGX11.
void TGX11TTF::DeleteFont | ( | FontStruct_t | fs | ) | [virtual] |
Reimplemented from TGX11.
void TGX11TTF::DrawString | ( | Drawable_t | id, | |
GContext_t | gc, | |||
Int_t | x, | |||
Int_t | y, | |||
const char * | s, | |||
Int_t | len | |||
) | [virtual] |
Reimplemented from TGX11.
Int_t TGX11TTF::TextWidth | ( | FontStruct_t | font, | |
const char * | s, | |||
Int_t | len | |||
) | [virtual] |
Reimplemented from TGX11.
void TGX11TTF::GetFontProperties | ( | FontStruct_t | font, | |
Int_t & | max_ascent, | |||
Int_t & | max_descent | |||
) | [virtual] |
Reimplemented from TGX11.
static void TGX11TTF::Activate | ( | ) | [static] |
FT_Vector TGX11TTF::fAlign [private] |
TXftFontHash* TGX11TTF::fXftFontHash [private] |
Definition at line 54 of file TGX11TTF.h.