ROOT logo
ROOT » GRAF2D » X11TTF » TGX11TTF

class TGX11TTF: public TGX11


TGX11TTF

Interface to low level X11 (Xlib). This class gives access to basic
X11 graphics via the parent class TGX11. However, all text and font
handling is done via the Freetype TrueType library. When the
shared library containing this class is loaded the global gVirtualX
is redirected to point to this class.


Function Members (Methods)

public:
TGX11TTF(const TGX11& org)
TGX11TTF(const TGX11TTF&)
virtual~TGX11TTF()
voidTObject::AbstractMethod(const char* method) const
static voidActivate()
virtual Int_tTGX11::AddPixmap(ULong_t pixid, UInt_t w, UInt_t h)
virtual Int_tTGX11::AddWindow(ULong_t qwid, UInt_t w, UInt_t h)
virtual Bool_tTGX11::AllocColor(Colormap_t cmap, ColorStruct_t& color)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTGX11::Bell(Int_t percent)
virtual voidTObject::Browse(TBrowser* b)
virtual voidTGX11::ChangeActivePointerGrab(Window_t, UInt_t, Cursor_t)
virtual voidTGX11::ChangeGC(GContext_t gc, GCValues_t* gval)
virtual voidTGX11::ChangeProperties(Window_t id, Atom_t property, Atom_t type, Int_t format, UChar_t* data, Int_t len)
virtual voidTGX11::ChangeProperty(Window_t id, Atom_t property, Atom_t type, UChar_t* data, Int_t len)
virtual voidTGX11::ChangeWindowAttributes(Window_t id, SetWindowAttributes_t* attr)
virtual Bool_tTGX11::CheckEvent(Window_t id, EGEventType type, Event_t& ev)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual voidTGX11::ClearArea(Window_t id, Int_t x, Int_t y, UInt_t w, UInt_t h)
virtual voidTGX11::ClearWindow()
virtual voidTGX11::ClearWindow(Window_t id)
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual voidTGX11::CloseDisplay()
virtual voidTGX11::ClosePixmap()
virtual voidTGX11::CloseWindow()
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidTGX11::ConvertPrimarySelection(Window_t id, Atom_t clipboard, Time_t when)
virtual voidTGX11::ConvertSelection(Window_t, Atom_t&, Atom_t&, Atom_t&, Time_t&)
virtual voidTNamed::Copy(TObject& named) const
virtual voidTGX11::CopyArea(Drawable_t src, Drawable_t dest, GContext_t gc, Int_t src_x, Int_t src_y, UInt_t width, UInt_t height, Int_t dest_x, Int_t dest_y)
virtual voidTGX11::CopyGC(GContext_t org, GContext_t dest, Mask_t mask)
virtual voidTGX11::CopyPixmap(Int_t wid, Int_t xpos, Int_t ypos)
virtual Pixmap_tTGX11::CreateBitmap(Drawable_t id, const char* bitmap, UInt_t width, UInt_t height)
virtual Cursor_tTGX11::CreateCursor(ECursor cursor)
virtual GContext_tTGX11::CreateGC(Drawable_t id, GCValues_t* gval)
virtual Drawable_tTGX11::CreateImage(UInt_t width, UInt_t height)
virtual voidTVirtualX::CreateOpenGLContext(Int_t wid = 0)
virtual Bool_tTGX11::CreatePictureFromData(Drawable_t id, char** data, Pixmap_t& pict, Pixmap_t& pict_mask, PictureAttributes_t& attr)
virtual Bool_tTGX11::CreatePictureFromFile(Drawable_t id, const char* filename, Pixmap_t& pict, Pixmap_t& pict_mask, PictureAttributes_t& attr)
virtual Pixmap_tTGX11::CreatePixmap(Drawable_t id, UInt_t w, UInt_t h)
virtual Pixmap_tTGX11::CreatePixmap(Drawable_t id, const char* bitmap, UInt_t width, UInt_t height, ULong_t forecolor, ULong_t backcolor, Int_t depth)
virtual Pixmap_tTGX11::CreatePixmapFromData(unsigned char* bits, UInt_t width, UInt_t height)
virtual Region_tTGX11::CreateRegion()
virtual Window_tTGX11::CreateWindow(Window_t parent, Int_t x, Int_t y, UInt_t w, UInt_t h, UInt_t border, Int_t depth, UInt_t clss, void* visual, SetWindowAttributes_t* attr, UInt_t wtype)
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual voidDeleteFont(FontStruct_t fs)
virtual voidTGX11::DeleteGC(GContext_t gc)
virtual voidTGX11::DeleteImage(Drawable_t img)
virtual voidTVirtualX::DeleteOpenGLContext(Int_t wid = 0)
virtual voidTGX11::DeletePictureData(void* data)
virtual voidTGX11::DeletePixmap(Pixmap_t pmap)
virtual voidTGX11::DeleteProperty(Window_t, Atom_t&)
virtual voidTGX11::DestroyRegion(Region_t reg)
virtual voidTGX11::DestroySubwindows(Window_t id)
virtual voidTGX11::DestroyWindow(Window_t id)
virtual const char*TGX11::DisplayName(const char* dpyName = 0)
Int_tTAttLine::DistancetoLine(Int_t px, Int_t py, Double_t xp1, Double_t yp1, Double_t xp2, Double_t yp2)
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTGX11::DrawBox(Int_t x1, Int_t y1, Int_t x2, Int_t y2, TVirtualX::EBoxMode mode)
virtual voidTGX11::DrawCellArray(Int_t x1, Int_t y1, Int_t x2, Int_t y2, Int_t nx, Int_t ny, Int_t* ic)
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTGX11::DrawFillArea(Int_t n, TPoint* xy)
virtual voidTGX11::DrawLine(Int_t x1, Int_t y1, Int_t x2, Int_t y2)
virtual voidTGX11::DrawLine(Drawable_t id, GContext_t gc, Int_t x1, Int_t y1, Int_t x2, Int_t y2)
virtual voidTGX11::DrawPolyLine(Int_t n, TPoint* xy)
virtual voidTGX11::DrawPolyMarker(Int_t n, TPoint* xy)
virtual voidTGX11::DrawRectangle(Drawable_t id, GContext_t gc, Int_t x, Int_t y, UInt_t w, UInt_t h)
virtual voidTGX11::DrawSegments(Drawable_t id, GContext_t gc, Segment_t* seg, Int_t nseg)
virtual voidDrawString(Drawable_t id, GContext_t gc, Int_t x, Int_t y, const char* s, Int_t len)
virtual voidDrawText(Int_t x, Int_t y, Float_t angle, Float_t mgn, const char* text, TVirtualX::ETextMode mode)
virtual voidTObject::Dump() constMENU
virtual Bool_tTGX11::EmptyRegion(Region_t reg)
virtual Bool_tTGX11::EqualRegion(Region_t rega, Region_t regb)
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual Int_tTGX11::EventsPending()
virtual UInt_tTVirtualX::ExecCommand(TGWin32Command* code)
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
virtual voidTGX11::FillPolygon(Window_t id, GContext_t gc, Point_t* points, Int_t npnt)
virtual voidTGX11::FillRectangle(Drawable_t id, GContext_t gc, Int_t x, Int_t y, UInt_t w, UInt_t h)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual Window_tTGX11::FindRWindow(Window_t win, Window_t dragwin, Window_t input, int x, int y, int maxd)
virtual voidTGX11::FreeColor(Colormap_t cmap, ULong_t pixel)
virtual voidTGX11::FreeFontNames(char** fontlist)
virtual voidTGX11::FreeFontStruct(FontStruct_t fs)
virtual voidTGX11::GetCharacterUp(Float_t& chupx, Float_t& chupy)
virtual unsigned char*TGX11::GetColorBits(Drawable_t wid, Int_t x = 0, Int_t y = 0, UInt_t w = 0, UInt_t h = 0)
virtual Colormap_tTGX11::GetColormap() const
virtual Window_tTGX11::GetCurrentWindow() const
virtual Window_tTGX11::GetDefaultRootWindow() const
virtual Int_tTGX11::GetDepth() const
virtual Display_tTGX11::GetDisplay() const
virtual Int_tTGX11::GetDoubleBuffer(Int_t wid)
TVirtualX::EDrawModeTVirtualX::GetDrawMode()
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual Color_tTAttFill::GetFillColor() const
virtual Style_tTAttFill::GetFillStyle() const
virtual Int_tTVirtualX::GetFontAscent() const
virtual Int_tTVirtualX::GetFontDescent() const
virtual FontH_tTGX11::GetFontHandle(FontStruct_t fs)
virtual voidGetFontProperties(FontStruct_t font, Int_t& max_ascent, Int_t& max_descent)
virtual FontStruct_tTGX11::GetFontStruct(FontH_t fh)
virtual voidTGX11::GetGCValues(GContext_t gc, GCValues_t& gval)
virtual voidTGX11::GetGeometry(Int_t wid, Int_t& x, Int_t& y, UInt_t& w, UInt_t& h)
virtual const char*TObject::GetIconName() const
virtual voidTGX11::GetImageSize(Drawable_t id, UInt_t& width, UInt_t& height)
virtual Window_tTGX11::GetInputFocus()
virtual Color_tTAttLine::GetLineColor() const
virtual Style_tTAttLine::GetLineStyle() const
virtual Width_tTAttLine::GetLineWidth() const
virtual Color_tTAttMarker::GetMarkerColor() const
virtual Size_tTAttMarker::GetMarkerSize() const
virtual Style_tTAttMarker::GetMarkerStyle() const
virtual const char*TNamed::GetName() const
virtual Handle_tTGX11::GetNativeEvent() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual Window_tTGX11::GetParent(Window_t id) const
virtual voidTGX11::GetPasteBuffer(Window_t id, Atom_t atom, TString& text, Int_t& nchar, Bool_t del)
virtual ULong_tTGX11::GetPixel(Color_t cindex)
virtual voidTGX11::GetPlanes(Int_t& nplanes)
virtual Window_tTGX11::GetPrimarySelectionOwner()
virtual Int_tTGX11::GetProperty(Window_t, Atom_t, Long_t, Long_t, Bool_t, Atom_t, Atom_t*, Int_t*, ULong_t*, ULong_t*, unsigned char**)
virtual voidTGX11::GetRegionBox(Region_t reg, Rectangle_t*)
virtual voidTGX11::GetRGB(Int_t index, Float_t& r, Float_t& g, Float_t& b)
virtual Int_tTGX11::GetScreen() const
virtual Short_tTAttText::GetTextAlign() const
virtual Float_tTAttText::GetTextAngle() const
virtual Color_tTAttText::GetTextColor() const
virtual voidTGX11::GetTextExtent(UInt_t& w, UInt_t& h, char* mess)
virtual Font_tTAttText::GetTextFont() const
virtual Float_tTGX11::GetTextMagnitude()
virtual Float_tTAttText::GetTextSize() const
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Visual_tTGX11::GetVisual() const
virtual voidTGX11::GetWindowAttributes(Window_t id, WindowAttributes_t& attr)
virtual Window_tTGX11::GetWindowID(Int_t wid)
virtual voidTGX11::GetWindowSize(Drawable_t id, Int_t& x, Int_t& y, UInt_t& w, UInt_t& h)
virtual voidTGX11::GrabButton(Window_t id, EMouseButton button, UInt_t modifier, UInt_t evmask, Window_t confine, Cursor_t cursor, Bool_t grab = kTRUE)
virtual voidTGX11::GrabKey(Window_t id, Int_t keycode, UInt_t modifier, Bool_t grab = kTRUE)
virtual voidTGX11::GrabPointer(Window_t id, UInt_t evmask, Window_t confine, Cursor_t cursor, Bool_t grab = kTRUE, Bool_t owner_events = kTRUE)
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
virtual Bool_tTGX11::HasTTFonts() const
virtual voidTGX11::IconifyWindow(Window_t id)
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual Bool_tInit(void* display)
virtual Int_tTGX11::InitWindow(ULong_t window)
virtual voidTObject::Inspect() constMENU
static TVirtualX*&TVirtualX::Instance()
virtual Atom_tTGX11::InternAtom(const char* atom_name, Bool_t only_if_exist)
virtual voidTGX11::IntersectRegion(Region_t rega, Region_t regb, Region_t result)
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTVirtualX::IsCmdThread() const
virtual Bool_tTGX11::IsDNDAware(Window_t win, Atom_t* typelist)
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTNamed::IsSortable() const
virtual Bool_tTAttFill::IsTransparent() const
Bool_tTObject::IsZombie() const
virtual Int_tTGX11::KeysymToKeycode(UInt_t keysym)
virtual char**TGX11::ListFonts(const char* fontname, Int_t max, Int_t& count)
virtual FontStruct_tLoadQueryFont(const char* font_name)
virtual voidTGX11::LookupString(Event_t* event, char* buf, Int_t buflen, UInt_t& keysym)
virtual voidTGX11::LowerWindow(Window_t id)
virtual voidTNamed::ls(Option_t* option = "") const
virtual voidTGX11::MapRaised(Window_t id)
virtual voidTGX11::MapSubwindows(Window_t id)
virtual voidTGX11::MapWindow(Window_t id)
voidTObject::MayNotUse(const char* method) const
virtual voidTAttLine::Modify()
virtual voidTGX11::MoveResizeWindow(Window_t id, Int_t x, Int_t y, UInt_t w, UInt_t h)
virtual voidTGX11::MoveWindow(Int_t wid, Int_t x, Int_t y)
virtual voidTGX11::MoveWindow(Window_t id, Int_t x, Int_t y)
virtual Bool_tTVirtualX::NeedRedraw(ULong_t tgwindow, Bool_t force)
virtual voidTGX11::NextEvent(Event_t& event)
virtual Bool_tTObject::Notify()
Int_tTGX11::OpenDisplay(Display* display)
virtual Int_tTGX11::OpenDisplay(const char* dpyName)
virtual Int_tTGX11::OpenPixmap(UInt_t w, UInt_t h)
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
TGX11TTF&operator=(const TGX11TTF&)
virtual voidTObject::Paint(Option_t* option = "")
virtual Bool_tTGX11::ParseColor(Colormap_t cmap, const char* cname, ColorStruct_t& color)
virtual Bool_tTGX11::PointInRegion(Int_t x, Int_t y, Region_t reg)
virtual Region_tTGX11::PolygonRegion(Point_t* points, Int_t np, Bool_t winding)
virtual voidTObject::Pop()
virtual voidTNamed::Print(Option_t* option = "") const
virtual voidTGX11::PutImage(Drawable_t id, GContext_t gc, Drawable_t img, Int_t dx, Int_t dy, Int_t x, Int_t y, UInt_t w, UInt_t h)
virtual voidTGX11::PutPixel(Drawable_t id, Int_t x, Int_t y, ULong_t pixel)
virtual voidTGX11::QueryColor(Colormap_t cmap, ColorStruct_t& color)
virtual voidTGX11::QueryPointer(Int_t& ix, Int_t& iy)
virtual voidTGX11::QueryPointer(Window_t id, Window_t& rootw, Window_t& childw, Int_t& root_x, Int_t& root_y, Int_t& win_x, Int_t& win_y, UInt_t& mask)
virtual voidTGX11::RaiseWindow(Window_t id)
virtual Int_tTObject::Read(const char* name)
virtual Pixmap_tTGX11::ReadGIF(Int_t x0, Int_t y0, const char* file, Window_t id = 0)
virtual Bool_tTGX11::ReadPictureDataFromFile(const char* filename, char*** ret_data)
virtual voidTObject::RecursiveRemove(TObject* obj)
virtual voidTGX11::RemoveWindow(ULong_t qwid)
virtual voidTGX11::ReparentWindow(Window_t id, Window_t pid, Int_t x, Int_t y)
virtual Int_tTGX11::RequestLocator(Int_t mode, Int_t ctyp, Int_t& x, Int_t& y)
virtual Int_tTGX11::RequestString(Int_t x, Int_t y, char* text)
virtual voidTGX11::RescaleWindow(Int_t wid, UInt_t w, UInt_t h)
virtual voidTAttFill::ResetAttFill(Option_t* option = "")
virtual voidTAttLine::ResetAttLine(Option_t* option = "")
virtual voidTAttMarker::ResetAttMarker(Option_t* toption = "")
virtual voidTAttText::ResetAttText(Option_t* toption = "")
voidTObject::ResetBit(UInt_t f)
virtual Int_tTGX11::ResizePixmap(Int_t wid, UInt_t w, UInt_t h)
virtual voidTGX11::ResizeWindow(Int_t wid)
virtual voidTGX11::ResizeWindow(Window_t id, UInt_t w, UInt_t h)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTAttFill::SaveFillAttributes(ostream& out, const char* name, Int_t coldef = 1, Int_t stydef = 1001)
virtual voidTAttLine::SaveLineAttributes(ostream& out, const char* name, Int_t coldef = 1, Int_t stydef = 1, Int_t widdef = 1)
virtual voidTAttMarker::SaveMarkerAttributes(ostream& out, const char* name, Int_t coldef = 1, Int_t stydef = 1, Int_t sizdef = 1)
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
virtual voidTAttText::SaveTextAttributes(ostream& out, const char* name, Int_t alidef = 12, Float_t angdef = 0, Int_t coldef = 1, Int_t fondef = 61, Float_t sizdef = 1)
virtual UInt_tTGX11::ScreenWidthMM() const
virtual voidTGX11::SelectInput(Window_t id, UInt_t evmask)
virtual voidTVirtualX::SelectPixmap(Int_t qpixid)
virtual voidTGX11::SelectWindow(Int_t wid)
virtual voidTGX11::SendEvent(Window_t id, Event_t* ev)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTGX11::SetCharacterUp(Float_t chupx, Float_t chupy)
virtual voidTGX11::SetClassHints(Window_t id, char* className, char* resourceName)
virtual voidTGX11::SetClipOFF(Int_t wid)
virtual voidTGX11::SetClipRectangles(GContext_t gc, Int_t x, Int_t y, Rectangle_t* recs, Int_t n)
virtual voidTGX11::SetClipRegion(Int_t wid, Int_t x, Int_t y, UInt_t w, UInt_t h)
virtual voidTGX11::SetCursor(Int_t win, ECursor cursor)
virtual voidTGX11::SetCursor(Window_t id, Cursor_t curid)
virtual voidTGX11::SetDashes(GContext_t gc, Int_t offset, const char* dash_list, Int_t n)
virtual voidTGX11::SetDNDAware(Window_t, Atom_t*)
virtual voidTGX11::SetDoubleBuffer(Int_t wid, Int_t mode)
virtual voidTGX11::SetDoubleBufferOFF()
virtual voidTGX11::SetDoubleBufferON()
virtual voidTGX11::SetDrawMode(TVirtualX::EDrawMode mode)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
virtual voidTAttFill::SetFillAttributes()MENU
virtual voidTGX11::SetFillColor(Color_t cindex)
virtual voidTGX11::SetFillStyle(Style_t style)
virtual voidTGX11::SetForeground(GContext_t gc, ULong_t foreground)
virtual voidTGX11::SetIconName(Window_t id, char* name)
virtual voidTGX11::SetIconPixmap(Window_t id, Pixmap_t pic)
virtual voidTGX11::SetInputFocus(Window_t id)
virtual voidTGX11::SetKeyAutoRepeat(Bool_t on = kTRUE)
virtual voidTAttLine::SetLineAttributes()MENU
virtual voidTGX11::SetLineColor(Color_t cindex)
virtual voidTGX11::SetLineStyle(Style_t linestyle)
virtual voidTGX11::SetLineType(Int_t n, Int_t* dash)
virtual voidTGX11::SetLineWidth(Width_t width)
virtual voidTAttMarker::SetMarkerAttributes()MENU
virtual voidTGX11::SetMarkerColor(Color_t cindex)
virtual voidTGX11::SetMarkerSize(Float_t markersize)
virtual voidTGX11::SetMarkerStyle(Style_t markerstyle)
virtual voidTGX11::SetMWMHints(Window_t id, UInt_t value, UInt_t funcs, UInt_t input)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTGX11::SetOpacity(Int_t percent)
virtual voidTGX11::SetPrimarySelectionOwner(Window_t id)
virtual voidTGX11::SetRGB(Int_t cindex, Float_t r, Float_t g, Float_t b)
virtual Bool_tTGX11::SetSelectionOwner(Window_t, Atom_t&)
virtual voidTGX11::SetTextAlign(Short_t talign = 11)
virtual voidTAttText::SetTextAngle(Float_t tangle = 0)MENU
virtual voidTAttText::SetTextAttributes()MENU
virtual voidTGX11::SetTextColor(Color_t cindex)
virtual voidSetTextFont(Font_t fontnumber)
virtual Int_tSetTextFont(char* fontname, TVirtualX::ETextSetMode mode)
virtual voidTGX11::SetTextMagnitude(Float_t mgn = 1)
virtual voidSetTextSize(Float_t textsize)
virtual voidTAttText::SetTextSizePixels(Int_t npixels)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTGX11::SetTypeList(Window_t win, Atom_t prop, Atom_t* typelist)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidTGX11::SetWindowBackground(Window_t id, ULong_t color)
virtual voidTGX11::SetWindowBackgroundPixmap(Window_t id, Pixmap_t pxm)
virtual voidTGX11::SetWindowName(Window_t id, char* name)
virtual voidTGX11::SetWMPosition(Window_t id, Int_t x, Int_t y)
virtual voidTGX11::SetWMSize(Window_t id, UInt_t w, UInt_t h)
virtual voidTGX11::SetWMSizeHints(Window_t id, UInt_t wmin, UInt_t hmin, UInt_t wmax, UInt_t hmax, UInt_t winc, UInt_t hinc)
virtual voidTGX11::SetWMState(Window_t id, EInitialState state)
virtual voidTGX11::SetWMTransientHint(Window_t id, Window_t main_id)
virtual voidTGX11::ShapeCombineMask(Window_t id, Int_t x, Int_t y, Pixmap_t mask)
virtual voidShowMembers(TMemberInspector& insp)
virtual Int_tTNamed::Sizeof() const
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTGX11::SubtractRegion(Region_t rega, Region_t regb, Region_t result)
virtual Int_tTGX11::SupportsExtension(const char* ext) const
voidTGX11::Sync(Int_t mode)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual Int_tTextWidth(FontStruct_t font, const char* s, Int_t len)
virtual voidTGX11::TranslateCoordinates(Window_t src, Window_t dest, Int_t src_x, Int_t src_y, Int_t& dest_x, Int_t& dest_y, Window_t& child)
virtual voidTGX11::UnionRectWithRegion(Rectangle_t* rect, Region_t src, Region_t dest)
virtual voidTGX11::UnionRegion(Region_t rega, Region_t regb, Region_t result)
virtual voidTGX11::UnmapWindow(Window_t id)
virtual voidTGX11::Update(Int_t mode = 0)
virtual voidTGX11::UpdateWindow(Int_t mode)
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual voidTGX11::Warp(Int_t ix, Int_t iy, Window_t id = 0)
virtual voidTGX11::WMDeleteNotify(Window_t id)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
virtual Int_tTGX11::WriteGIF(char* name)
virtual voidTGX11::WritePixmap(Int_t wid, UInt_t w, UInt_t h, char* pxname)
virtual voidTGX11::XorRegion(Region_t rega, Region_t regb, Region_t result)
protected:
Bool_tTGX11::AllocColor(unsigned long cmap, XColor* color)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
XColor_t&TGX11::GetColor(Int_t cid)
GC*TGX11::GetGC(Int_t which) const
voidTObject::MakeZombie()
voidTGX11::QueryColors(unsigned long cmap, XColor* colors, Int_t ncolors)
private:
voidAlign()
voidDrawImage(FT_Bitmap* source, ULong_t fore, ULong_t back, XImage* xim, Int_t bx, Int_t by)
XImage*GetBackground(Int_t x, Int_t y, UInt_t w, UInt_t h)
Bool_tIsVisible(Int_t x, Int_t y, UInt_t w, UInt_t h)
voidRenderString(Int_t x, Int_t y, TVirtualX::ETextMode mode)

Data Members

public:
enum EAlign { kNone
kTLeft
kTCenter
kTRight
kMLeft
kMCenter
kMRight
kBLeft
kBCenter
kBRight
};
enum TVirtualX::EDrawMode { kCopy
kXor
kInvert
};
enum TVirtualX::EBoxMode { kHollow
kFilled
};
enum TVirtualX::ETextMode { kClear
kOpaque
};
enum TVirtualX::ETextSetMode { kCheck
kLoad
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
protected:
ULong_tTGX11::fBlackPixelValue of black pixel in colormap
Int_tTGX11::fBlueDivBlue value divider
Int_tTGX11::fBlueShiftBits to left shift blue
Float_tTGX11::fCharacterUpXCharacter Up vector along X
Float_tTGX11::fCharacterUpYCharacter Up vector along Y
unsigned longTGX11::fColormapDefault colormap, 0 if b/w
Int_tTGX11::fDepthNumber of color planes
Display*TGX11::fDisplayPointer to display
TVirtualX::EDrawModeTVirtualX::fDrawModeDrawing mode
Color_tTAttFill::fFillColorfill area color
Style_tTAttFill::fFillStylefill area style
Int_tTGX11::fGreenDivGreen value divider
Int_tTGX11::fGreenShiftBits to left shift green
Bool_tTGX11::fHasTTFontsTrue when TrueType fonts are used
Color_tTAttLine::fLineColorline color
Style_tTAttLine::fLineStyleline style
Width_tTAttLine::fLineWidthline width
Color_tTAttMarker::fMarkerColorMarker color index
Size_tTAttMarker::fMarkerSizeMarker size
Style_tTAttMarker::fMarkerStyleMarker style
TStringTNamed::fNameobject identifier
Int_tTGX11::fRedDivRed value divider, -1 if no TrueColor visual
Int_tTGX11::fRedShiftBits to left shift red, -1 if no TrueColor visual
unsigned longTGX11::fRootWinRoot window used as parent of all windows
Int_tTGX11::fScreenNumberScreen number
Int_tTGX11::fTextAlignText alignment (set in SetTextAlign)
Short_tTAttText::fTextAlignText alignment
Int_tTGX11::fTextAlignHText Alignment Horizontal
Int_tTGX11::fTextAlignVText Alignment Vertical
Float_tTAttText::fTextAngleText angle
Color_tTAttText::fTextColorText color index
Font_tTAttText::fTextFontText font number
Float_tTGX11::fTextMagnitudeText Magnitude
Float_tTAttText::fTextSizeText size
TStringTNamed::fTitleobject title
unsigned longTGX11::fVisRootWinRoot window with fVisual to be used to create GC's and XImages
Visual*TGX11::fVisualPointer to visual used by all windows
ULong_tTGX11::fWhitePixelValue of white pixel in colormap
private:
FT_VectorfAlignalignment vector
TXftFontHash*fXftFontHashhash table for Xft fonts

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TGX11TTF(const TGX11& org)
 Create copy of TGX11 but now use TrueType fonts.
void Activate()
 Static method setting TGX11TTF as the acting gVirtualX.
Bool_t Init(void* display)
 Initialize X11 system. Returns kFALSE in case of failure.
void Align(void)
 Compute alignment variables. The alignment is done on the horizontal string
 then the rotation is applied on the alignment variables.
 SetRotation and LayoutGlyphs should have been called before.
void DrawImage(FT_Bitmap* source, ULong_t fore, ULong_t back, XImage* xim, Int_t bx, Int_t by)
 Draw FT_Bitmap bitmap to xim image at position bx,by using specified
 foreground color.
void DrawText(Int_t x, Int_t y, Float_t angle, Float_t mgn, const char* text, TVirtualX::ETextMode mode)
 Draw text using TrueType fonts. If TrueType fonts are not available the
 text is drawn with TGX11::DrawText.
XImage * GetBackground(Int_t x, Int_t y, UInt_t w, UInt_t h)
 Get the background of the current window in an XImage.
Bool_t IsVisible(Int_t x, Int_t y, UInt_t w, UInt_t h)
 Test if there is really something to render.
void RenderString(Int_t x, Int_t y, TVirtualX::ETextMode mode)
 Perform the string rendering in the pad.
 LayoutGlyphs should have been called before.
void SetTextFont(Font_t fontnumber)
 Set specified font.
Int_t SetTextFont(char* fontname, TVirtualX::ETextSetMode mode)
 Set text font to specified name.
 mode       : loading flag
 mode=0     : search if the font exist (kCheck)
 mode=1     : search the font and load it if it exists (kLoad)
 font       : font name

 Set text font to specified name. This function returns 0 if
 the specified font is found, 1 if not.
void SetTextSize(Float_t textsize)
 Set current text size.
FontStruct_t LoadQueryFont(const char* font_name)
 Parses an XLFD name and opens a font.
void DeleteFont(FontStruct_t fs)
 Explicitely delete font structure obtained with LoadQueryFont().
Int_t TextWidth(FontStruct_t font, const char* s, Int_t len)
 Return lenght of string in pixels. Size depends on font
void GetFontProperties(FontStruct_t font, Int_t& max_ascent, Int_t& max_descent)
  Return some font properties
void DrawString(Drawable_t id, GContext_t gc, Int_t x, Int_t y, const char* s, Int_t len)
 Draw text string
TGX11TTF(const TGX11& org)
virtual ~TGX11TTF()
{ }