Logo ROOT  
Reference Guide
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Loading...
Searching...
No Matches
TGWin32.cxx File Reference
#include <ft2build.h>
#include <FT_FREETYPE_H>
#include <FT_GLYPH_H>
#include "TGWin32.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#include <limits.h>
#include <process.h>
#include <wchar.h>
#include "gdk/gdkkeysyms.h"
#include "xatom.h"
#include <winuser.h>
#include "TROOT.h"
#include "TApplication.h"
#include "TColor.h"
#include "TPoint.h"
#include "TMath.h"
#include "TStorage.h"
#include "TStyle.h"
#include "TSystem.h"
#include "TError.h"
#include "TException.h"
#include "TClassTable.h"
#include "KeySymbols.h"
#include "TWinNTSystem.h"
#include "TGWin32VirtualXProxy.h"
#include "TWin32SplashThread.h"
#include "TString.h"
#include "TObjString.h"
#include "TObjArray.h"
#include "TExMap.h"
#include "TEnv.h"
#include "RStipples.h"
#include "GuiTypes.h"
Include dependency graph for TGWin32.cxx:

Classes

struct  XWindow_t
 Description of a X11 window. More...
 

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
 

Macros

#define BITmask(x)
 
#define IDC_HAND   MAKEINTRESOURCE(32649)
 
#define MAKELONGLONG(lo, hi)   MAKELONG(lo, hi)
 
#define safestrlen(s)   ((s) ? strlen(s) : 0)
 
#define XDND_PROTOCOL_VERSION   5
 

Functions

static void _set_event_time (GdkEvent &event, UInt_t time)
 
void gdk_win32_draw_arc (GdkDrawable *drawable, GdkGC *gc, gint filled, gint x, gint y, gint width, gint height, gint angle1, gint angle2)
 
void gdk_win32_draw_lines (GdkDrawable *drawable, GdkGC *gc, GdkPoint *points, gint npoints)
 
void gdk_win32_draw_points (GdkDrawable *drawable, GdkGC *gc, GdkPoint *points, gint npoints)
 
void gdk_win32_draw_polygon (GdkDrawable *drawable, GdkGC *gc, gint filled, GdkPoint *points, gint npoints)
 
void gdk_win32_draw_rectangle (GdkDrawable *drawable, GdkGC *gc, gint filled, gint x, gint y, gint width, gint height)
 
void gdk_win32_draw_segments (GdkDrawable *drawable, GdkGC *gc, GdkSegment *segs, gint nsegs)
 
void gdk_win32_draw_text (GdkDrawable *drawable, GdkFont *font, GdkGC *gc, gint x, gint y, const gchar *text, gint text_length)
 
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.
 

Variables

int gdk_debug_level
 
static FILEgGifFile
 
static GdkImagegGifImage = 0
 

Macro Definition Documentation

◆ BITmask

#define BITmask ( x)
Value:
if (evmask & k##x##Mask) \
p += sprintf (p, "%s" #x, (p > bfr ? " " : ""))
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t evmask
Double_t x[n]
Definition legend1.C:17

◆ IDC_HAND

#define IDC_HAND   MAKEINTRESOURCE(32649)

Definition at line 66 of file TGWin32.cxx.

◆ MAKELONGLONG

#define MAKELONGLONG ( lo,
hi )   MAKELONG(lo, hi)

Definition at line 72 of file TGWin32.cxx.

◆ safestrlen

#define safestrlen ( s)    ((s) ? strlen(s) : 0)

Definition at line 6529 of file TGWin32.cxx.

◆ XDND_PROTOCOL_VERSION

#define XDND_PROTOCOL_VERSION   5

Definition at line 64 of file TGWin32.cxx.

Function Documentation

◆ _set_event_time()

static void _set_event_time ( GdkEvent & event,
UInt_t time )
static

Definition at line 5901 of file TGWin32.cxx.

◆ gdk_win32_draw_arc()

void gdk_win32_draw_arc ( GdkDrawable * drawable,
GdkGC * gc,
gint filled,
gint x,
gint y,
gint width,
gint height,
gint angle1,
gint angle2 )

◆ gdk_win32_draw_lines()

void gdk_win32_draw_lines ( GdkDrawable * drawable,
GdkGC * gc,
GdkPoint * points,
gint npoints )

◆ gdk_win32_draw_points()

void gdk_win32_draw_points ( GdkDrawable * drawable,
GdkGC * gc,
GdkPoint * points,
gint npoints )

◆ gdk_win32_draw_polygon()

void gdk_win32_draw_polygon ( GdkDrawable * drawable,
GdkGC * gc,
gint filled,
GdkPoint * points,
gint npoints )

◆ gdk_win32_draw_rectangle()

void gdk_win32_draw_rectangle ( GdkDrawable * drawable,
GdkGC * gc,
gint filled,
gint x,
gint y,
gint width,
gint height )

◆ gdk_win32_draw_segments()

void gdk_win32_draw_segments ( GdkDrawable * drawable,
GdkGC * gc,
GdkSegment * segs,
gint nsegs )

◆ gdk_win32_draw_text()

void gdk_win32_draw_text ( GdkDrawable * drawable,
GdkFont * font,
GdkGC * gc,
gint x,
gint y,
const gchar * text,
gint text_length )

◆ GetPixel()

static void GetPixel ( int y,
int width,
Byte_t * scline )
static

Get pixels in line y and put in array scline.

Definition at line 4302 of file TGWin32.cxx.

◆ GIFdecode()

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.

◆ GIFencode()

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 )

◆ GIFinfo()

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

Definition at line 80 of file gifdecode.c.

◆ GIFquantize()

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 )

◆ PutByte()

static void PutByte ( Byte_t b)
static

Put byte b in output stream.

Definition at line 4312 of file TGWin32.cxx.

Variable Documentation

◆ gdk_debug_level

int gdk_debug_level

Definition at line 141 of file TGWin32.cxx.

◆ gGifFile

FILE* gGifFile
static

Definition at line 4282 of file TGWin32.cxx.

◆ gGifImage

GdkImage* gGifImage = 0
static

Definition at line 4283 of file TGWin32.cxx.