19 typedef unsigned char byte;
39 void DrawImg16(
unsigned short *d,
char *s,
char *e);
40 void DrawImg24(
char *d,
char *s,
char *e);
41 void DrawColImg16(
unsigned short *d,
char *s1,
char *s2,
char *e);
45 MGImage(
const TGWindow* p, UInt_t w, UInt_t h, UInt_t options = kSunkenFrame, ULong_t back = fgDefaultFrameBackground);
56 static UChar_t
Color(
int col);
57 static void DrawCircle(UChar_t *buf,
int w,
int h, Float_t x, Float_t y, Float_t r, UChar_t col);
58 static void DrawHexagon(UChar_t *buf,
int w,
int h, Float_t x, Float_t y, Float_t r, UChar_t col, Int_t style=1);
59 static void DrawLine(UChar_t *buf,
int w,
int h, Float_t x1, Float_t y1, Float_t x2, Float_t y2, UChar_t col, Int_t style=1);
60 static void DrawBox(UChar_t *buf,
int w,
int h, Float_t x1, Float_t y1, Float_t x2, Float_t y2, UChar_t col, Int_t style=1);
61 static void DrawDot(UChar_t *buf,
int w,
int h, Float_t cx, Float_t cy, UChar_t col);
62 static void DrawMultiply(UChar_t *buf,
int w,
int h, Float_t cx, Float_t cy, Float_t
size, UChar_t col);
63 static void DrawCross(UChar_t *buf,
int w,
int h, Float_t cx, Float_t cy, Float_t size, UChar_t col);
static void DrawHexagon(UChar_t *buf, int w, int h, Float_t x, Float_t y, Float_t r, UChar_t col, Int_t style=1)
void DrawColImg(const byte *gbuf, const byte *cbuf)
void DrawColImg16(unsigned short *d, char *s1, char *s2, char *e)
static void DrawMultiply(UChar_t *buf, int w, int h, Float_t cx, Float_t cy, Float_t size, UChar_t col)
static void DrawCross(UChar_t *buf, int w, int h, Float_t cx, Float_t cy, Float_t size, UChar_t col)
static UChar_t Color(int col)
static void DrawLine(UChar_t *buf, int w, int h, Float_t x1, Float_t y1, Float_t x2, Float_t y2, UChar_t col, Int_t style=1)
void DrawImg16(unsigned short *d, char *s, char *e)
static void DrawDot(UChar_t *buf, int w, int h, Float_t cx, Float_t cy, UChar_t col)
MGImage(const TGWindow *p, UInt_t w, UInt_t h, UInt_t options=kSunkenFrame, ULong_t back=fgDefaultFrameBackground)
void DrawColImg24(char *d, char *s1, char *s2, char *e)
void DrawImg(const byte *buffer)
static void DrawCircle(UChar_t *buf, int w, int h, Float_t x, Float_t y, Float_t r, UChar_t col)
void DrawImg24(char *d, char *s, char *e)
static void DrawBox(UChar_t *buf, int w, int h, Float_t x1, Float_t y1, Float_t x2, Float_t y2, UChar_t col, Int_t style=1)