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

Function PSL_makefontsize

src/postscriptlight.c:5018–5023  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5016}
5017
5018char * PSL_makefontsize (struct PSL_CTRL *PSL, double size) {
5019 /* Creates a text string with the corresponding PS command to set the font (current font) with no color info */
5020 static char buffer[PSL_BUFSIZ];
5021 sprintf (buffer, "%d F%d", psl_ip (PSL, size), PSL->current.font_no);
5022 return (buffer);
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 */

Callers 1

Calls 1

psl_ipFunction · 0.85

Tested by

no test coverage detected