Graphviz 13.0.0~dev.20241222.1117
|
#include "config.h"
#include "gd.h"
#include <assert.h>
#include <errno.h>
#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <tcl.h>
#include <util/agxbuf.h>
#include <util/startswith.h>
#include <util/streq.h>
Go to the source code of this file.
Data Structures | |
struct | cmdDataOptions |
struct | cmdImgOptions |
Macros | |
#define | IMGPTR(O) (O->internalRep.otherValuePtr) |
Typedefs | |
typedef int() | GdDataFunction(Tcl_Interp *interp, int argc, Tcl_Obj *const objv[]) |
typedef int() | GdImgFunction(Tcl_Interp *interp, gdImagePtr gdImg, int argc, const int args[]) |
Functions | |
static int | tclGd_GetColor (Tcl_Interp *interp, Tcl_Obj *obj, int *color) |
static int | gdCmd (ClientData clientData, Tcl_Interp *interp, int argc, Tcl_Obj *const objv[]) |
static int | tclGdCreateCmd (Tcl_Interp *interp, int argc, Tcl_Obj *const objv[]) |
static int | tclGdDestroyCmd (Tcl_Interp *interp, int argc, Tcl_Obj *const objv[]) |
static int | tclGdWriteCmd (Tcl_Interp *interp, int argc, Tcl_Obj *const objv[]) |
static int | tclGdInterlaceCmd (Tcl_Interp *interp, int argc, Tcl_Obj *const objv[]) |
static int | tclGdColorCmd (Tcl_Interp *interp, int argc, Tcl_Obj *const objv[]) |
static int | tclGdColorNewCmd (Tcl_Interp *interp, gdImagePtr im, int argc, const int args[]) |
static int | tclGdColorExactCmd (Tcl_Interp *interp, gdImagePtr im, int argc, const int args[]) |
static int | tclGdColorClosestCmd (Tcl_Interp *interp, gdImagePtr im, int argc, const int args[]) |
static int | tclGdColorResolveCmd (Tcl_Interp *interp, gdImagePtr im, int argc, const int args[]) |
static int | tclGdColorFreeCmd (Tcl_Interp *interp, gdImagePtr im, int argc, const int args[]) |
static int | tclGdColorTranspCmd (Tcl_Interp *interp, gdImagePtr im, int argc, const int args[]) |
static int | tclGdColorGetCmd (Tcl_Interp *interp, gdImagePtr im, int argc, const int args[]) |
static int | tclGdBrushCmd (Tcl_Interp *interp, int argc, Tcl_Obj *const objv[]) |
static int | tclGdTileCmd (Tcl_Interp *interp, int argc, Tcl_Obj *const objv[]) |
static int | tclGdStyleCmd (Tcl_Interp *interp, int argc, Tcl_Obj *const objv[]) |
static int | tclGdSetCmd (Tcl_Interp *interp, int argc, Tcl_Obj *const objv[]) |
static int | tclGdLineCmd (Tcl_Interp *interp, int argc, Tcl_Obj *const objv[]) |
static int | tclGdRectCmd (Tcl_Interp *interp, int argc, Tcl_Obj *const objv[]) |
static int | tclGdArcCmd (Tcl_Interp *interp, int argc, Tcl_Obj *const objv[]) |
static int | tclGdPolygonCmd (Tcl_Interp *interp, int argc, Tcl_Obj *const objv[]) |
static int | tclGdFillCmd (Tcl_Interp *interp, int argc, Tcl_Obj *const objv[]) |
static int | tclGdCopyCmd (Tcl_Interp *interp, int argc, Tcl_Obj *const objv[]) |
static int | tclGdGetCmd (Tcl_Interp *interp, int argc, Tcl_Obj *const objv[]) |
static int | tclGdSizeCmd (Tcl_Interp *interp, int argc, Tcl_Obj *const objv[]) |
static int | tclGdTextCmd (Tcl_Interp *interp, int argc, Tcl_Obj *const objv[]) |
int | Gdtclft_Init (Tcl_Interp *interp) |
int | Gdtclft_SafeInit (Tcl_Interp *interp) |
typedef int() GdDataFunction(Tcl_Interp *interp, int argc, Tcl_Obj *const objv[]) |
typedef int() GdImgFunction(Tcl_Interp *interp, gdImagePtr gdImg, int argc, const int args[]) |
|
static |
Definition at line 350 of file gdtclft.c.
References cmd, fname, GdPtrType, GdPtrTypeSet, cmdDataOptions::ishandle, cmdDataOptions::minargs, NULL, streq(), cmdDataOptions::subcmds, subcmdVec, and usage.
Referenced by Gdtclft_Init().
int Gdtclft_Init | ( | Tcl_Interp * | interp | ) |
int Gdtclft_SafeInit | ( | Tcl_Interp * | interp | ) |
Definition at line 1280 of file gdtclft.c.
References Gdtclft_Init.
|
static |
Definition at line 179 of file gdtclft.c.
References color().
Referenced by tclGdArcCmd(), tclGdFillCmd(), tclGdLineCmd(), tclGdPolygonCmd(), tclGdRectCmd(), tclGdSetCmd(), and tclGdTextCmd().
|
static |
|
static |
|
static |
|
static |
Definition at line 665 of file gdtclft.c.
References cmd, cmdImgOptions::cmd, colorCmdVec, cmdImgOptions::f, IMGPTR, cmdImgOptions::minargs, streq(), and usage.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 1092 of file gdtclft.c.
References color(), IMGPTR, and tclGd_GetColor().
|
static |
|
static |
|
static |
Definition at line 911 of file gdtclft.c.
References color(), IMGPTR, and tclGd_GetColor().
|
static |
|
static |
|
static |
Definition at line 888 of file gdtclft.c.
References color(), IMGPTR, and tclGd_GetColor().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 32 of file gdtclft.c.
Referenced by gdCmd(), tclGdCreateCmd(), and tclGdTextCmd().
|
static |
Definition at line 31 of file gdtclft.c.
Referenced by gdCmd(), and tclGdTextCmd().
Tcl_AppInitProc Gdtclft_Init |
Definition at line 41 of file gdtclft.c.
Referenced by Gdtclft_SafeInit(), and Tcldot_Init().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |