gd.h File Reference

#include <stdio.h>
#include "../../../core/includes/machine.h"

Include dependency graph for gd.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  gdImageStruct
struct  gdFont
struct  gdPoint

Defines

#define GD_H   1
#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 gdImageStruct gdImage
typedef gdImagegdImagePtr
typedef gdFontgdFontPtr
typedef struct gdPointgdPointPtr

Functions

void gdSetClipping __PARAMS ((gdImagePtr im, int xmin, int ymin, int xmax, int ymax))
void gdUnsetClipping __PARAMS ((gdImagePtr im))
void gdSetAlu __PARAMS ((gdImagePtr im, int alu))
void gdResetDash ()
gdImagePtr gdImageCreate __PARAMS ((int sx, int sy))
gdImagePtr gdImageCreateFromGif __PARAMS ((FILE *fd))
gdImagePtr gdImageCreateFromGd __PARAMS ((FILE *in))
void gdImageSetPixel __PARAMS ((gdImagePtr im, int x, int y, int color))
int gdImageGetPixel __PARAMS ((gdImagePtr im, int x, int y))
void gdImageLine __PARAMS ((gdImagePtr im, int x1, int y1, int x2, int y2, int color))
void gdImageThickRectangle __PARAMS ((gdImagePtr im, int x1, int y1, int x2, int y2, int color, int thick))
int gdImageChar __PARAMS ((gdImagePtr im, gdFontPtr f, int x, int y, int c, int color))
void gdImageString __PARAMS ((gdImagePtr im, gdFontPtr f, int x, int y, unsigned char *s, int color))
void gdImageString16 __PARAMS ((gdImagePtr im, gdFontPtr f, int x, int y, unsigned short *s, int color))
void gdImagePolygon __PARAMS ((gdImagePtr im, gdPointPtr p, int n, int c))
int gdImageColorAllocate __PARAMS ((gdImagePtr im, int r, int g, int b))
void gdImageColorDeallocate __PARAMS ((gdImagePtr im, int color))
void gdImageGif __PARAMS ((gdImagePtr im, FILE *out))
void gdImageArc __PARAMS ((gdImagePtr im, int cx, int cy, int w, int h, int s, int e, int color))
void gdImageFillToBorder __PARAMS ((gdImagePtr im, int x, int y, int border, int color))
void gdImageCopy __PARAMS ((gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int w, int h))
void gdImageCopyResized __PARAMS ((gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int dstW, int dstH, int srcW, int srcH))
void gdImageSetBrush __PARAMS ((gdImagePtr im, gdImagePtr brush))
void gdImageSetTile __PARAMS ((gdImagePtr im, gdImagePtr tile))
void gdImageSetStyle __PARAMS ((gdImagePtr im, int *style, int noOfPixels))
void gdImageInterlace __PARAMS ((gdImagePtr im, int interlaceArg))
void gdImageChangeColor __PARAMS ((gdImagePtr im, int old, int new))
void gdSetBackground __PARAMS ((gdImagePtr im, int background))
int gdCharWidth __PARAMS ((gdFontPtr f, int c))
void gdImagePolyLine __PARAMS ((gdImagePtr im, int *X, int *Y, int n, int color, int thick, int close))


Define Documentation

#define GD_H   1

Definition at line 2 of file gd.h.

#define gdBrushed   (-3)

Definition at line 81 of file gd.h.

Referenced by gdImagePolyLine(), gdImageSetPixel(), and gdImageThickLine().

#define gdDashSize   4

Definition at line 76 of file gd.h.

#define gdImageBlue ( im,
 )     ((im)->blue[(c)])

Definition at line 165 of file gd.h.

Referenced by gdImageSetBrush(), gdImageSetTile(), and main().

#define gdImageColorsTotal ( im   )     ((im)->colorsTotal)

Definition at line 162 of file gd.h.

Referenced by gdImageSetBrush(), gdImageSetTile(), and main().

#define gdImageGetInterlaced ( im   )     ((im)->interlace)

Definition at line 167 of file gd.h.

Referenced by main().

#define gdImageGetTransparent ( im   )     ((im)->transparent)

Definition at line 166 of file gd.h.

Referenced by gdImageBrushApply(), gdImageCopy(), gdImageCopyResized(), gdImageFill(), gdImageTileApply(), and main().

#define gdImageGreen ( im,
 )     ((im)->green[(c)])

Definition at line 164 of file gd.h.

Referenced by gdImageSetBrush(), gdImageSetTile(), and main().

#define gdImageRed ( im,
 )     ((im)->red[(c)])

Definition at line 163 of file gd.h.

Referenced by gdImageSetBrush(), gdImageSetTile(), and main().

#define gdImageSX ( im   )     ((im)->sx)

Definition at line 160 of file gd.h.

Referenced by gdImageBrushApply(), gdImageFill(), gdImageTileApply(), and main().

#define gdImageSY ( im   )     ((im)->sy)

Definition at line 161 of file gd.h.

Referenced by gdImageBrushApply(), gdImageFill(), gdImageTileApply(), and main().

#define gdMaxColors   256

Definition at line 20 of file gd.h.

Referenced by FileInitFromScreenGif(), gdImageColorAllocate(), gdImageCopy(), gdImageCopyResized(), gdImageCreate(), gdImageCreateFromGd(), gdImageGd(), ReadImage(), and setgccolormapGif().

#define gdStyled   (-2)

Definition at line 80 of file gd.h.

Referenced by gdImageSetPixel(), and GifLineColor().

#define gdStyledBrushed   (-4)

Definition at line 82 of file gd.h.

Referenced by gdImageSetPixel(), and main().

#define gdTiled   (-5)

Definition at line 83 of file gd.h.

Referenced by gdImageFill(), and gdImageSetPixel().

#define gdTransparent   (-6)

Definition at line 87 of file gd.h.

Referenced by gdImageSetPixel(), and GifLineColor().


Typedef Documentation

typedef gdFont* gdFontPtr

Definition at line 71 of file gd.h.

typedef struct gdImageStruct gdImage

typedef gdImage* gdImagePtr

Definition at line 53 of file gd.h.

typedef struct gdPoint * gdPointPtr


Function Documentation

void gdImagePolyLine __PARAMS ( (gdImagePtr im, int *X, int *Y, int n, int color, int thick, int close)   ) 

int gdCharWidth __PARAMS ( (gdFontPtr f, int c)   ) 

void gdSetBackground __PARAMS ( (gdImagePtr im, int background)   ) 

void gdImageChangeColor __PARAMS ( (gdImagePtr im, int old, int new)   ) 

void gdImageInterlace __PARAMS ( (gdImagePtr im, int interlaceArg)   ) 

void gdImageSetStyle __PARAMS ( (gdImagePtr im, int *style, int noOfPixels)   ) 

void gdImageSetTile __PARAMS ( (gdImagePtr im, gdImagePtr tile)   ) 

void gdImageSetBrush __PARAMS ( (gdImagePtr im, gdImagePtr brush)   ) 

void gdImageCopyResized __PARAMS ( (gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int dstW, int dstH, int srcW, int srcH)   ) 

void gdImageCopy __PARAMS ( (gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int w, int h  ) 

void gdImageFillToBorder __PARAMS ( (gdImagePtr im, int x, int y, int border, int color)   ) 

void gdImageArc __PARAMS ( (gdImagePtr im, int cx, int cy, int w, int h, int s, int e, int color)   ) 

void gdImageGif __PARAMS ( (gdImagePtr im, FILE *out)   ) 

void gdImageColorDeallocate __PARAMS ( (gdImagePtr im, int color)   ) 

int gdImageColorAllocate __PARAMS ( (gdImagePtr im, int r, int g, int b  ) 

void gdImagePolygon __PARAMS ( (gdImagePtr im, gdPointPtr p, int n, int c)   ) 

void gdImageString16 __PARAMS ( (gdImagePtr im, gdFontPtr f, int x, int y, unsigned short *s, int color)   ) 

void gdImageString __PARAMS ( (gdImagePtr im, gdFontPtr f, int x, int y, unsigned char *s, int color)   ) 

int gdImageChar __PARAMS ( (gdImagePtr im, gdFontPtr f, int x, int y, int c, int color)   ) 

void gdImageThickRectangle __PARAMS ( (gdImagePtr im, int x1, int y1, int x2, int y2, int color, int thick)   ) 

void gdImageLine __PARAMS ( (gdImagePtr im, int x1, int y1, int x2, int y2, int color)   ) 

int gdImageGetPixel __PARAMS ( (gdImagePtr im, int x, int y  ) 

void gdImageSetPixel __PARAMS ( (gdImagePtr im, int x, int y, int color)   ) 

gdImagePtr gdImageCreateFromGd __PARAMS ( (FILE *in)   ) 

gdImagePtr gdImageCreateFromGif __PARAMS ( (FILE *fd  ) 

gdImagePtr gdImageCreate __PARAMS ( (int sx, int sy  ) 

void gdSetAlu __PARAMS ( (gdImagePtr im, int alu)   ) 

void gdUnsetClipping __PARAMS ( (gdImagePtr im)   ) 

void gdSetClipping __PARAMS ( (gdImagePtr im, int xmin, int ymin, int xmax, int ymax)   ) 

void gdResetDash (  ) 


Generated on Sun Mar 4 15:56:11 2007 for Scilab [trunk] by  doxygen 1.5.1