#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 "strlcpy.h"
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xatom.h>
#include <X11/cursorfont.h>
#include <X11/keysym.h>
#include <X11/xpm.h>
#include <cstdio>
#include <cstring>
#include <cstdlib>
#include <cctype>
#include <unistd.h>
Functions | |
static Int_t | DummyX11ErrorHandler (Display *, XErrorEvent *) |
Dummy error handler for X11. Used by FindUsableVisual(). More... | |
static void | GetPixel (int y, int width, Byte_t *scline) |
Get pixels in line y and put in array scline. More... | |
int | GIFdecode (Byte_t *gifArr, Byte_t *pixArr, int *Width, int *Height, int *Ncols, Byte_t *R, Byte_t *G, Byte_t *B) |
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 | GIFinfo (Byte_t *gifArr, int *Width, int *Height, int *Ncols) |
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) |
Put byte b in output stream. More... | |
int | XRotDrawAlignedImageString (Display *, XFontStruct *, float, Drawable, GC, int, int, char *, int) |
A front end to XRotPaintAlignedString: -does alignment, paints background. More... | |
int | XRotDrawAlignedString (Display *, XFontStruct *, float, Drawable, GC, int, int, char *, int) |
A front end to XRotPaintAlignedString: -does alignment, no background. More... | |
int | XRotDrawImageString (Display *, XFontStruct *, float, Drawable, GC, int, int, char *) |
A front end to XRotPaintAlignedString: -no alignment, paints background. More... | |
int | XRotDrawString (Display *, XFontStruct *, float, Drawable, GC, int, int, char *) |
A front end to XRotPaintAlignedString: -no alignment, no background. More... | |
void | XRotSetBoundingBoxPad (int) |
Set the padding used when calculating bounding boxes. More... | |
void | XRotSetMagnification (float) |
Set the font magnification factor for all subsequent operations. More... | |
XPoint * | XRotTextExtents (Display *, XFontStruct *, float, int, int, char *, int) |
Calculate the bounding box some text will have when painted. More... | |
float | XRotVersion (char *, int) |
Return version/copyright information. More... | |
Variables | |
static int | gCapStyle = CapButt |
static Int_t | gCurrentFontNumber = 0 |
static XWindow_t * | gCws |
static int | gDashLength = 0 |
static char | gDashList [10] |
static int | gDashOffset = 0 |
static int | gDashSize = 0 |
static Int_t | gFillHollow |
static Pixmap | gFillPattern = 0 |
struct { | |
XFontStruct * id | |
char name [80] | |
} | gFont [kMAXFONT] |
static GC * | gGCdash = &gGClist[5] |
static GC | gGCecho |
static GC * | gGCfill = &gGClist[2] |
static GC * | gGCinvt = &gGClist[4] |
static GC * | gGCline = &gGClist[0] |
static GC | gGClist [kMAXGC] |
static GC * | gGCmark = &gGClist[1] |
static GC * | gGCpxmp = &gGClist[6] |
static GC * | gGCtext = &gGClist[3] |
static int | gJoinStyle = JoinMiter |
static ULong_t | gKeybdMask |
static int | gLineStyle = LineSolid |
static int | gLineWidth = 0 |
struct { | |
int n | |
int type | |
XPoint xy [kMAXMK] | |
} | gMarker |
static int | gMarkerCapStyle = CapRound |
static int | gMarkerJoinStyle = JoinRound |
static int | gMarkerLineStyle = LineSolid |
static int | gMarkerLineWidth = 0 |
static ULong_t | gMouseMask |
static Cursor | gNullCursor = 0 |
static FILE * | gOut |
static XFontStruct * | gTextFont |
static XWindow_t * | gTws |
static XImage * | gXimage = 0 |
const Int_t | kBIGGEST_RGB_VALUE = 65535 |
const Int_t | kMAXFONT = 4 |
const int | kMAXGC = 7 |
const Int_t | kMAXMK = 100 |
const char | null_cursor_bits [] |
|
static |
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.
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 | ||
) |
Definition at line 80 of file gifdecode.c.
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 | ||
) |
int XRotDrawAlignedImageString | ( | Display * | , |
XFontStruct * | , | ||
float | , | ||
Drawable | , | ||
GC | , | ||
int | , | ||
int | , | ||
char * | , | ||
int | |||
) |
A front end to XRotPaintAlignedString: -does alignment, paints background.
Definition at line 325 of file Rotated.cxx.
int XRotDrawAlignedString | ( | Display * | , |
XFontStruct * | , | ||
float | , | ||
Drawable | , | ||
GC | , | ||
int | , | ||
int | , | ||
char * | , | ||
int | |||
) |
A front end to XRotPaintAlignedString: -does alignment, no background.
Definition at line 314 of file Rotated.cxx.
A front end to XRotPaintAlignedString: -no alignment, paints background.
Definition at line 303 of file Rotated.cxx.
A front end to XRotPaintAlignedString: -no alignment, no background.
Definition at line 292 of file Rotated.cxx.
Set the padding used when calculating bounding boxes.
Definition at line 257 of file Rotated.cxx.
void XRotSetMagnification | ( | float | ) |
Set the font magnification factor for all subsequent operations.
Definition at line 248 of file Rotated.cxx.
Calculate the bounding box some text will have when painted.
Definition at line 1350 of file Rotated.cxx.
float XRotVersion | ( | char * | , |
int | |||
) |
Return version/copyright information.
Definition at line 238 of file Rotated.cxx.
struct { ... } gFont[kMAXFONT] |
|
static |
struct { ... } gMarker |
|
static |
const char null_cursor_bits[] |