Graphviz  2.41.20171026.1811
Macros | Functions
colxlate.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "arith.h"
#include "color.h"
#include "colorprocs.h"
#include "colortbl.h"
#include "memory.h"
Include dependency graph for colxlate.c:

Go to the source code of this file.

Macros

#define DFLT_SCHEME   "X11/" /* Must have final '/' */
 
#define DFLT_SCHEME_LEN   ((sizeof(DFLT_SCHEME)-1)/sizeof(char))
 
#define ISNONDFLT(s)   ((s) && *(s) && strncasecmp(DFLT_SCHEME, s, DFLT_SCHEME_LEN-1))
 

Functions

char * canontoken (char *str)
 
int colorxlate (char *str, gvcolor_t *color, color_type_t target_type)
 
int colorCvt (gvcolor_t *ocolor, gvcolor_t *ncolor)
 
void setColorScheme (char *s)
 

Macro Definition Documentation

#define DFLT_SCHEME   "X11/" /* Must have final '/' */

Definition at line 221 of file colxlate.c.

#define DFLT_SCHEME_LEN   ((sizeof(DFLT_SCHEME)-1)/sizeof(char))

Definition at line 222 of file colxlate.c.

#define ISNONDFLT (   s)    ((s) && *(s) && strncasecmp(DFLT_SCHEME, s, DFLT_SCHEME_LEN-1))

Definition at line 223 of file colxlate.c.

Function Documentation

char* canontoken ( char *  str)

Definition at line 145 of file colxlate.c.

References grealloc(), and NULL.

int colorCvt ( gvcolor_t ocolor,
gvcolor_t ncolor 
)
int colorxlate ( char *  str,
gvcolor_t color,
color_type_t  target_type 
)
void setColorScheme ( char *  s)

Definition at line 561 of file colxlate.c.

Referenced by emit_clusters().