MCPcopy Create free account
hub / github.com/GenericMappingTools/gmt / PSL_makecolor

Function PSL_makecolor

src/postscriptlight.c:5025–5030  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5023}
5024
5025char * PSL_makecolor (struct PSL_CTRL *PSL, double rgb[]) {
5026 /* Creates a text string with the corresponding PS command to set the color */
5027 static char buffer[PSL_BUFSIZ];
5028 sprintf (buffer, "%s", psl_putcolor (PSL, rgb, 0));
5029 return (buffer);
5030}
5031
5032int PSL_settextmode (struct PSL_CTRL *PSL, int mode) {
5033 /* Change from laissez-faire to replacing hyphens with minus sign char code */

Callers 6

gmt_plotinitFunction · 0.85
GMT_psxyFunction · 0.85
GMT_psxyzFunction · 0.85
GMT_psconvertFunction · 0.85

Calls 1

psl_putcolorFunction · 0.85

Tested by

no test coverage detected