MIDAS
Loading...
Searching...
No Matches
mgd.h File Reference
#include <stdio.h>
Include dependency graph for mgd.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  gdImageStruct
 
struct  gdGifBufferStruct
 
struct  gdFont
 
struct  gdPoint
 

Macros

#define gdMaxColors   256
 
#define gdDashSize   4
 
#define gdStyled   (-2)
 
#define gdBrushed   (-3)
 
#define gdStyledBrushed   (-4)
 
#define gdTiled   (-5)
 
#define gdTransparent   (-6)
 
#define gdImageSX(im)   ((im)->sx)
 
#define gdImageSY(im)   ((im)->sy)
 
#define gdImageColorsTotal(im)   ((im)->colorsTotal)
 
#define gdImageRed(im, c)   ((im)->red[(c)])
 
#define gdImageGreen(im, c)   ((im)->green[(c)])
 
#define gdImageBlue(im, c)   ((im)->blue[(c)])
 
#define gdImageGetTransparent(im)   ((im)->transparent)
 
#define gdImageGetInterlaced(im)   ((im)->interlace)
 

Typedefs

typedef struct gdImageStruct gdImage
 
typedef gdImagegdImagePtr
 
typedef struct gdGifBufferStruct gdGifBuffer
 
typedef gdFontgdFontPtr
 
typedef struct gdPointgdPointPtr
 

Functions

gdImagePtr gdImageCreate (int sx, int sy)
 
gdImagePtr gdImageCreateFromGif (FILE *fd)
 
void gdImageDestroy (gdImagePtr im)
 
void gdImageSetPixel (gdImagePtr im, int x, int y, int color)
 
int gdImageGetPixel (gdImagePtr im, int x, int y)
 
void gdImageLine (gdImagePtr im, int x1, int y1, int x2, int y2, int color)
 
void gdImageDashedLine (gdImagePtr im, int x1, int y1, int x2, int y2, int color)
 
void gdImageRectangle (gdImagePtr im, int x1, int y1, int x2, int y2, int color)
 
void gdImageFilledRectangle (gdImagePtr im, int x1, int y1, int x2, int y2, int color)
 
int gdImageBoundsSafe (gdImagePtr im, int x, int y)
 
void gdImageChar (gdImagePtr im, gdFontPtr f, int x, int y, int c, int color)
 
void gdImageCharUp (gdImagePtr im, gdFontPtr f, int x, int y, char c, int color)
 
void gdImageString (gdImagePtr im, gdFontPtr f, int x, int y, const char *s, int color)
 
void gdImageStringUp (gdImagePtr im, gdFontPtr f, int x, int y, const char *s, int color)
 
void gdImagePolygon (gdImagePtr im, gdPointPtr p, int n, int c)
 
void gdImageFilledPolygon (gdImagePtr im, gdPointPtr p, int n, int c)
 
int gdImageColorAllocate (gdImagePtr im, int r, int g, int b)
 
int gdImageColorClosest (gdImagePtr im, int r, int g, int b)
 
int gdImageColorExact (gdImagePtr im, int r, int g, int b)
 
void gdImageColorDeallocate (gdImagePtr im, int color)
 
void gdImageColorTransparent (gdImagePtr im, int color)
 
void gdImageGif (gdImagePtr im, gdGifBuffer *buffer)
 
void gdImageFillToBorder (gdImagePtr im, int x, int y, int border, int color)
 
void gdImageFill (gdImagePtr im, int x, int y, int color)
 
void gdImageCopy (gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int w, int h)
 
void gdImageCopyResized (gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int dstW, int dstH, int srcW, int srcH)
 
void gdImageSetBrush (gdImagePtr im, gdImagePtr brush)
 
void gdImageSetTile (gdImagePtr im, gdImagePtr tile)
 
void gdImageSetStyle (gdImagePtr im, int *style, int noOfPixels)
 
void gdImageInterlace (gdImagePtr im, int interlaceArg)
 

Variables

gdFontPtr gdFontMediumBold
 
gdFontPtr gdFontGiant
 
gdFontPtr gdFontSmall