Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
colxlate.c File Reference

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

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#include <util/agxbuf.h>
#include <util/gv_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 31 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 40 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 46 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: