#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>
Classes | |
struct | RVisual |
struct | RXColor |
struct | RXGCValues |
struct | RXImage |
struct | RXPoint |
struct | RXVisualInfo |
Namespaces | |
namespace | ROOT |
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tbb::task_arena without forward declaring tbb::interface7 | |
Functions | |
static Int_t | DummyX11ErrorHandler (Display *, XErrorEvent *) |
Dummy error handler for X11. Used by FindUsableVisual(). | |
static void | GetPixel (int y, int width, Byte_t *scline) |
Get pixels in line y and put in array scline. | |
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. | |
int | XRotDrawAlignedImageString (Display *, XFontStruct *, float, Drawable, GC, int, int, char *, int) |
A front end to XRotPaintAlignedString: -does alignment, paints background. | |
int | XRotDrawAlignedString (Display *, XFontStruct *, float, Drawable, GC, int, int, char *, int) |
A front end to XRotPaintAlignedString: -does alignment, no background. | |
int | XRotDrawImageString (Display *, XFontStruct *, float, Drawable, GC, int, int, char *) |
A front end to XRotPaintAlignedString: -no alignment, paints background. | |
int | XRotDrawString (Display *, XFontStruct *, float, Drawable, GC, int, int, char *) |
A front end to XRotPaintAlignedString: -no alignment, no background. | |
void | XRotSetBoundingBoxPad (int) |
Set the padding used when calculating bounding boxes. | |
void | XRotSetMagnification (float) |
Set the font magnification factor for all subsequent operations. | |
XPoint * | XRotTextExtents (Display *, XFontStruct *, float, int, int, char *, int) |
Calculate the bounding box some text will have when painted. | |
float | XRotVersion (char *, int) |
Return version/copyright information. | |
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 = nullptr | |
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 | ||
) |
|
static |
int XRotDrawAlignedImageString | ( | Display * | dpy, |
XFontStruct * | font, | ||
float | angle, | ||
Drawable | drawable, | ||
GC | gc, | ||
int | x, | ||
int | y, | ||
char * | text, | ||
int | align | ||
) |
A front end to XRotPaintAlignedString: -does alignment, paints background.
Definition at line 316 of file Rotated.cxx.
int XRotDrawAlignedString | ( | Display * | dpy, |
XFontStruct * | font, | ||
float | angle, | ||
Drawable | drawable, | ||
GC | gc, | ||
int | x, | ||
int | y, | ||
char * | text, | ||
int | align | ||
) |
A front end to XRotPaintAlignedString: -does alignment, no background.
Definition at line 305 of file Rotated.cxx.
int XRotDrawImageString | ( | Display * | dpy, |
XFontStruct * | font, | ||
float | angle, | ||
Drawable | drawable, | ||
GC | gc, | ||
int | x, | ||
int | y, | ||
char * | str | ||
) |
A front end to XRotPaintAlignedString: -no alignment, paints background.
Definition at line 294 of file Rotated.cxx.
int XRotDrawString | ( | Display * | dpy, |
XFontStruct * | font, | ||
float | angle, | ||
Drawable | drawable, | ||
GC | gc, | ||
int | x, | ||
int | y, | ||
char * | str | ||
) |
A front end to XRotPaintAlignedString: -no alignment, no background.
Definition at line 283 of file Rotated.cxx.
void XRotSetBoundingBoxPad | ( | int | p | ) |
Set the padding used when calculating bounding boxes.
Definition at line 251 of file Rotated.cxx.
void XRotSetMagnification | ( | float | m | ) |
Set the font magnification factor for all subsequent operations.
Definition at line 242 of file Rotated.cxx.
XPoint * XRotTextExtents | ( | Display * | , |
XFontStruct * | font, | ||
float | angle, | ||
int | x, | ||
int | y, | ||
char * | text, | ||
int | align | ||
) |
Calculate the bounding box some text will have when painted.
Definition at line 1335 of file Rotated.cxx.
float XRotVersion | ( | char * | str, |
int | n | ||
) |
Return version/copyright information.
Definition at line 232 of file Rotated.cxx.
struct { ... } gFont[kMAXFONT] |
|
static |
struct { ... } gMarker |
|
static |
const char null_cursor_bits[] |