Graphviz 12.0.1~dev.20240716.0800
Loading...
Searching...
No Matches
colxlate.c File Reference

function colorxlate (one of many) for gvcolor.c More...

#include <cgraph/agxbuf.h>
#include <cgraph/gv_ctype.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#include "colortbl.h"
#include "colorxlate.h"
Include dependency graph for colxlate.c:

Go to the source code of this file.

Data Structures

struct  hsbcolor_t
 

Functions

static void canoncolor (const char *orig, agxbuf *out)
 
static int colorcmpf (const void *a0, const void *a1)
 
void colorxlate (char *str, agxbuf *buf)
 

Function Documentation

◆ canoncolor()

static void canoncolor ( const char *  orig,
agxbuf out 
)
static

Definition at line 33 of file colxlate.c.

References agxbputc(), gv_isalnum(), and out().

Referenced by colorxlate().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ colorcmpf()

static int colorcmpf ( const void *  a0,
const void *  a1 
)
static

Definition at line 42 of file colxlate.c.

References hsbcolor_t::name.

Referenced by colorxlate(), and colorxlate().

Here is the caller graph for this function:

◆ colorxlate()

void colorxlate ( char *  str,
agxbuf buf 
)

Definition at line 48 of file colxlate.c.

References agxbfree(), agxbprint(), agxbput(), agxbputc(), agxbuse(), canon(), canoncolor(), color_lib, colorcmpf(), gv_isdigit(), last, NULL, agxbuf::s, and str.

Referenced by changetopfishfocus(), colorx(), GetglCompColor(), glCompColorxlate(), gvrender_resolve_color(), Import_coord_clusters_from_dot(), object_color(), prepare_topological_fisheye(), set_color_button_widget(), set_color_theme_color(), set_viewport_settings_from_template(), and setcolor().

Here is the call graph for this function:
Here is the caller graph for this function: