|
Data Structures |
struct | gdImageStruct |
struct | gdFont |
struct | gdSource |
struct | gdPoint |
struct | gdSink |
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) |
#define | GD2_CHUNKSIZE 128 |
#define | GD2_CHUNKSIZE_MIN 64 |
#define | GD2_CHUNKSIZE_MAX 4096 |
#define | GD2_VERS 1 |
#define | GD2_ID "gd2" |
#define | GD2_FMT_RAW 1 |
#define | GD2_FMT_COMPRESSED 2 |
#define | GD_CMP_IMAGE 1 |
#define | GD_CMP_NUM_COLORS 2 |
#define | GD_CMP_COLOR 4 |
#define | GD_CMP_SIZE_X 8 |
#define | GD_CMP_SIZE_Y 16 |
#define | GD_CMP_TRANSPARENT 32 |
#define | GD_CMP_BACKGROUND 64 |
#define | GD_CMP_INTERLACE 128 |
Typedefs |
typedef gdImageStruct | gdImage |
typedef gdImage * | gdImagePtr |
typedef gdFont * | gdFontPtr |
typedef struct gdSource * | gdSourcePtr |
typedef struct gdPoint * | gdPointPtr |
typedef struct gdSink * | gdSinkPtr |
Functions |
gdImagePtr | gdImageCreate (int sx, int sy) |
gdImagePtr | gdImageCreateFromPng (FILE *fd) |
gdImagePtr | gdImageCreateFromPngCtx (gdIOCtxPtr in) |
gdImagePtr | gdImageCreateFromPngSource (gdSourcePtr in) |
gdImagePtr | gdImageCreateFromGd (FILE *in) |
gdImagePtr | gdImageCreateFromGdCtx (gdIOCtxPtr in) |
gdImagePtr | gdImageCreateFromGd2 (FILE *in) |
gdImagePtr | gdImageCreateFromGd2Ctx (gdIOCtxPtr in) |
gdImagePtr | gdImageCreateFromGd2Part (FILE *in, int srcx, int srcy, int w, int h) |
gdImagePtr | gdImageCreateFromGd2PartCtx (gdIOCtxPtr in, int srcx, int srcy, int w, int h) |
gdImagePtr | gdImageCreateFromXbm (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, int c, int color) |
void | gdImageString (gdImagePtr im, gdFontPtr f, int x, int y, unsigned char *s, int color) |
void | gdImageStringUp (gdImagePtr im, gdFontPtr f, int x, int y, unsigned char *s, int color) |
void | gdImageString16 (gdImagePtr im, gdFontPtr f, int x, int y, unsigned short *s, int color) |
void | gdImageStringUp16 (gdImagePtr im, gdFontPtr f, int x, int y, unsigned short *s, int color) |
char * | gdImageStringTTF (gdImage *im, int *brect, int fg, char *fontname, double ptsize, double angle, int x, int y, char *string) |
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) |
int | gdImageColorResolve (gdImagePtr im, int r, int g, int b) |
void | gdImageColorDeallocate (gdImagePtr im, int color) |
void | gdImageColorTransparent (gdImagePtr im, int color) |
void | gdImagePaletteCopy (gdImagePtr dst, gdImagePtr src) |
void | gdImagePng (gdImagePtr im, FILE *out) |
void | gdImagePngCtx (gdImagePtr im, gdIOCtx *out) |
void | gdImagePngToSink (gdImagePtr im, gdSinkPtr out) |
void | gdImageGd (gdImagePtr im, FILE *out) |
void | gdImageGd2 (gdImagePtr im, FILE *out, int cs, int fmt) |
void * | gdImagePngPtr (gdImagePtr im, int *size) |
void * | gdImageGdPtr (gdImagePtr im, int *size) |
void * | gdImageGd2Ptr (gdImagePtr im, int cs, int fmt, int *size) |
void | gdImageArc (gdImagePtr im, int cx, int cy, int w, int h, int s, int e, int color) |
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 | gdImageCopyMerge (gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int w, int h, int pct) |
void | gdImageCopyMergeGray (gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int w, int h, int pct) |
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) |
gdIOCtx * | gdNewFileCtx (FILE *) |
gdIOCtx * | gdNewDynamicCtx (int, void *) |
gdIOCtx * | gdNewSSCtx (gdSourcePtr in, gdSinkPtr out) |
void * | gdDPExtractData (struct gdIOCtx *ctx, int *size) |
int | gdImageCompare (gdImagePtr im1, gdImagePtr im2) |