TGX11.cxx File Reference

#include "TROOT.h"
#include "TColor.h"
#include "TGX11.h"
#include "TPoint.h"
#include "TMath.h"
#include "TStorage.h"
#include "TStyle.h"
#include "TExMap.h"
#include "TEnv.h"
#include "TString.h"
#include "TObjString.h"
#include "TObjArray.h"
#include "RStipples.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#include <unistd.h>

Go to the source code of this file.

Functions

float XRotVersion (char *, int)
void XRotSetMagnification (float)
void XRotSetBoundingBoxPad (int)
int XRotDrawString (Display *, XFontStruct *, float, Drawable, GC, int, int, char *)
int XRotDrawImageString (Display *, XFontStruct *, float, Drawable, GC, int, int, char *)
int XRotDrawAlignedString (Display *, XFontStruct *, float, Drawable, GC, int, int, char *, int)
int XRotDrawAlignedImageString (Display *, XFontStruct *, float, Drawable, GC, int, int, char *, int)
XPoint * XRotTextExtents (Display *, XFontStruct *, float, int, int, char *, int)
 ClassImp (TGX11) TGX11
static Int_t DummyX11ErrorHandler (Display *, XErrorEvent *)
int GIFquantize (UInt_t width, UInt_t height, Int_t *ncol, Byte_t *red, Byte_t *green, Byte_t *blue, Byte_t *outputBuf, Byte_t *outputCmap)
long GIFencode (int Width, int Height, Int_t Ncol, Byte_t R[], Byte_t G[], Byte_t B[], Byte_t ScLine[], void(*get_scline)(int, int, Byte_t *), void(*pb)(Byte_t))
int GIFdecode (Byte_t *gifArr, Byte_t *pixArr, int *Width, int *Height, int *Ncols, Byte_t *R, Byte_t *G, Byte_t *B)
int GIFinfo (Byte_t *gifArr, int *Width, int *Height, int *Ncols)
static void GetPixel (int y, int width, Byte_t *scline)
static void PutByte (Byte_t b)

Variables

static XWindow_tgCws
static XWindow_tgTws
const Int_t kBIGGEST_RGB_VALUE = 65535
const int kMAXGC = 7
static GC gGClist [kMAXGC]
static GC * gGCline = &gGClist[0]
static GC * gGCmark = &gGClist[1]
static GC * gGCfill = &gGClist[2]
static GC * gGCtext = &gGClist[3]
static GC * gGCinvt = &gGClist[4]
static GC * gGCdash = &gGClist[5]
static GC * gGCpxmp = &gGClist[6]
static GC gGCecho
static Int_t gFillHollow
static Pixmap gFillPattern = 0
const Int_t kMAXFONT = 4
struct {
   XFontStruct *   id
   char   name [80]
gFont [kMAXFONT]
static XFontStruct * gTextFont
static Int_t gCurrentFontNumber = 0
const Int_t kMAXMK = 100
struct {
   int   type
   int   n
   XPoint   xy [kMAXMK]
gMarker
static int gLineWidth = 0
static int gLineStyle = LineSolid
static int gCapStyle = CapButt
static int gJoinStyle = JoinMiter
static char gDashList [10]
static int gDashLength = 0
static int gDashOffset = 0
static int gDashSize = 0
static ULong_t gMouseMask
static ULong_t gKeybdMask
const char null_cursor_bits []
static Cursor gNullCursor = 0
static FILE * gOut
static XImage * gXimage = 0


Function Documentation

ClassImp ( TGX11   ) 

Definition at line 140 of file TGX11.cxx.

References i, kFALSE, and kNumCursors.

static Int_t DummyX11ErrorHandler ( Display *  ,
XErrorEvent *   
) [static]

Definition at line 797 of file TGX11.cxx.

Referenced by TGX11::FindUsableVisual().

static void GetPixel ( int  y,
int  width,
Byte_t scline 
) [static]

Definition at line 2983 of file TGX11.cxx.

References i.

int GIFdecode ( Byte_t gifArr,
Byte_t pixArr,
int *  Width,
int *  Height,
int *  Ncols,
Byte_t R,
Byte_t G,
Byte_t B 
)

Definition at line 149 of file gifdecode.c.

References b, BITS, BitsPixel, ClearCode, CurBit, CurCodeSize, CurMaxCode, EOFCode, fprintf(), FreeCode, i, IniCodeSize, long, OutCode, OutPixel(), Prefix, ptr1, ptr2, ReadCode(), Suffix, TSIZE, and x80.

long GIFencode ( int  Width,
int  Height,
Int_t  Ncol,
Byte_t  R[],
Byte_t  G[],
Byte_t  B[],
Byte_t  ScLine[],
void(*)(int, int, Byte_t *)  get_scline,
void(*)(Byte_t pb 
)

int GIFinfo ( Byte_t gifArr,
int *  Width,
int *  Height,
int *  Ncols 
)

Definition at line 80 of file gifdecode.c.

References b, fprintf(), ptr1, and x80.

int GIFquantize ( UInt_t  width,
UInt_t  height,
Int_t ncol,
Byte_t red,
Byte_t green,
Byte_t blue,
Byte_t outputBuf,
Byte_t outputCmap 
)

static void PutByte ( Byte_t  b  )  [static]

Definition at line 2992 of file TGX11.cxx.

int XRotDrawAlignedImageString ( Display *  ,
XFontStruct *  ,
float  ,
Drawable  ,
GC  ,
int  ,
int  ,
char *  ,
int   
)

int XRotDrawAlignedString ( Display *  ,
XFontStruct *  ,
float  ,
Drawable  ,
GC  ,
int  ,
int  ,
char *  ,
int   
)

int XRotDrawImageString ( Display *  ,
XFontStruct *  ,
float  ,
Drawable  ,
GC  ,
int  ,
int  ,
char *   
)

int XRotDrawString ( Display *  ,
XFontStruct *  ,
float  ,
Drawable  ,
GC  ,
int  ,
int  ,
char *   
)

void XRotSetBoundingBoxPad ( int   ) 

void XRotSetMagnification ( float   ) 

XPoint* XRotTextExtents ( Display *  ,
XFontStruct *  ,
float  ,
int  ,
int  ,
char *  ,
int   
)

float XRotVersion ( char *  ,
int   
)


Variable Documentation

int gCapStyle = CapButt [static]

Definition at line 113 of file TGX11.cxx.

Int_t gCurrentFontNumber = 0 [static]

Definition at line 96 of file TGX11.cxx.

Referenced by TGX11::OpenDisplay(), and TGX11::SetTextFont().

XWindow_t* gCws [static]

Definition at line 63 of file TGX11.cxx.

int gDashLength = 0 [static]

Definition at line 116 of file TGX11.cxx.

char gDashList[10] [static]

Definition at line 115 of file TGX11.cxx.

int gDashOffset = 0 [static]

Definition at line 117 of file TGX11.cxx.

int gDashSize = 0 [static]

Definition at line 118 of file TGX11.cxx.

Int_t gFillHollow [static]

Definition at line 83 of file TGX11.cxx.

Pixmap gFillPattern = 0 [static]

Definition at line 84 of file TGX11.cxx.

struct { ... } gFont[kMAXFONT] [static]

Referenced by DrawCreditItem(), DrawCredits(), TGX11::OpenDisplay(), PopupLogo(), TGX11::SetTextFont(), and WaitLogo().

GC* gGCdash = &gGClist[5] [static]

Definition at line 78 of file TGX11.cxx.

GC gGCecho [static]

Definition at line 81 of file TGX11.cxx.

GC* gGCfill = &gGClist[2] [static]

Definition at line 75 of file TGX11.cxx.

GC* gGCinvt = &gGClist[4] [static]

Definition at line 77 of file TGX11.cxx.

GC* gGCline = &gGClist[0] [static]

Definition at line 73 of file TGX11.cxx.

GC gGClist[kMAXGC] [static]

Definition at line 72 of file TGX11.cxx.

GC* gGCmark = &gGClist[1] [static]

Definition at line 74 of file TGX11.cxx.

GC* gGCpxmp = &gGClist[6] [static]

Definition at line 79 of file TGX11.cxx.

GC* gGCtext = &gGClist[3] [static]

Definition at line 76 of file TGX11.cxx.

int gJoinStyle = JoinMiter [static]

Definition at line 114 of file TGX11.cxx.

ULong_t gKeybdMask [static]

Initial value:

   ButtonPressMask | KeyPressMask |
                              EnterWindowMask | LeaveWindowMask

Definition at line 127 of file TGX11.cxx.

int gLineStyle = LineSolid [static]

Definition at line 112 of file TGX11.cxx.

int gLineWidth = 0 [static]

Definition at line 111 of file TGX11.cxx.

Referenced by TGX11::SetLineType(), and TGX11::SetLineWidth().

struct { ... } gMarker [static]

ULong_t gMouseMask [static]

Initial value:

   ButtonPressMask   | ButtonReleaseMask |
                              EnterWindowMask   | LeaveWindowMask   |
                              PointerMotionMask | KeyPressMask      |
                              KeyReleaseMask

Definition at line 123 of file TGX11.cxx.

Cursor gNullCursor = 0 [static]

Definition at line 137 of file TGX11.cxx.

FILE* gOut [static]

Definition at line 2970 of file TGX11.cxx.

Referenced by TGX11::WriteGIF().

XFontStruct* gTextFont [static]

Definition at line 95 of file TGX11.cxx.

XWindow_t* gTws [static]

Definition at line 64 of file TGX11.cxx.

XImage* gXimage = 0 [static]

Definition at line 2971 of file TGX11.cxx.

Referenced by TGX11::WriteGIF().

XFontStruct* id

Definition at line 91 of file TGX11.cxx.

Referenced by TGLScenePad::AttemptDirectRenderer(), TGeoVoxelFinder::BuildVoxelLimits(), XrdCpWorkLst::BuildWorkList_xrd(), TProofServ::CatMotd(), TGeoChecker::CheckOverlaps(), ClassImp(), XrdROOTMgr::Config(), TGeoShapeAssembly::Contains(), XrdMonSenderInfo::convert2Id(), convert_directory(), TDocOutput::CopyHtmlFile(), CreateDestPath_xrd(), TGM::CreateSession(), TStreamerInfoActions::TActionSequence::CreateSubSequence(), TGeoTube::Divide(), TGeoTubeSeg::Divide(), TGeoPcon::Divide(), TGeoConeSeg::Divide(), TGeoTrd2::Divide(), TGeoPgon::Divide(), TGeoTrd1::Divide(), TGeoCone::Divide(), TestSliders::DoSlider(), TGFileBrowser::DoubleClicked(), TGeoVoxelFinder::Efficiency(), TGPopupMenu::EndMenu(), executeStat(), XrdProofdProofServ::ExportBuf(), TMD5::FileChecksum(), TGeoNode::FillIdArray(), get_current_url(), TFTP::GetFile(), TGeoVolume::GetOptimalVoxels(), TApplication::GetOptions(), TFTP::GetPathInfo(), TXNetSystem::GetPathInfo(), TDocMacroDirective::GetResult(), TFile::GetSize(), TGWin32::GetWindowAttributes(), TGPopupMenu::HandleButton(), MyMainFrame::HandleButtons(), importdir(), inflateSetDictionary(), TDecompSparse::InitPivot_sub1(), TDecompSparse::InitPivot_sub2(), TDecompSparse::InitPivot_sub3(), TClassEdit::InsertStd(), TSystemFile::IsDirectory(), TSystemDirectory::IsItDirectory(), TDocOutput::IsModified(), main(), TTreeViewer::MapTree(), TMinuit::mnhess(), TMinuit::mnmatu(), TMinuit::mnset(), TGeoChecker::NChecksPerVolume(), Rgl::ObjectIDToColor(), TSessionFrame::OnBtnDownClicked(), TSessionFrame::OnBtnUpClicked(), TFile::OpenFromCache(), TEveElement::PaintStandard(), TPointSet3D::PointSelected(), TMessageHandler::Print(), TGeoVoxelFinder::Print(), TFTP::PutFile(), TGX11::PutImage(), TGWin32::PutImage(), TXMLFile::ReadFromFile(), ReadPasswd(), TGeoNavigator::Safety(), TGeoNavigator::SearchNode(), TApplicationRemote::SendFile(), TProof::SendFile(), TTimer::SetTimerID(), MSIDir::SetupGuids(), TFile::ShrinkCacheFileDir(), TGeoVoxelFinder::SortAll(), stress6(), Reflex::PluginService::StringId(), TFileSet::TFileSet(), TCL::trchlu(), TCL::trchul(), TXNetSystem::Unlink(), XrdClientID::XrdClientID(), XrdFfsMisc_get_current_url(), and XrdFfsQueue_create_workers().

const Int_t kBIGGEST_RGB_VALUE = 65535

Definition at line 66 of file TGX11.cxx.

const Int_t kMAXFONT = 4

Definition at line 89 of file TGX11.cxx.

Referenced by TGX11::OpenDisplay(), and TGX11::SetTextFont().

const int kMAXGC = 7

Definition at line 71 of file TGX11.cxx.

const Int_t kMAXMK = 100

Definition at line 101 of file TGX11.cxx.

int n

Definition at line 104 of file TGX11.cxx.

char name[80]

Definition at line 92 of file TGX11.cxx.

const char null_cursor_bits[]

Initial value:

 {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}

Definition at line 133 of file TGX11.cxx.

int type

Definition at line 103 of file TGX11.cxx.

XPoint xy[kMAXMK]

Definition at line 105 of file TGX11.cxx.


Generated on Tue Jul 5 15:58:45 2011 for ROOT_528-00b_version by  doxygen 1.5.1