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

Function PSL_makepen

src/postscriptlight.c:5004–5009  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5002}
5003
5004char * PSL_makepen (struct PSL_CTRL *PSL, double linewidth, double rgb[], char *pattern, double offset) {
5005 /* Creates a text string with the corresponding PS command to set the pen */
5006 static char buffer[PSL_BUFSIZ];
5007 sprintf (buffer, "%d W %s %s", psl_ip (PSL, linewidth), psl_putcolor (PSL, rgb, 0), psl_putdash (PSL, pattern, offset));
5008 return (buffer);
5009}
5010
5011char * PSL_makefont (struct PSL_CTRL *PSL, double size, double rgb[]) {
5012 /* Creates a text string with the corresponding PS command to set the font (current font) */

Callers 4

GMT_psxyFunction · 0.85
GMT_psxyzFunction · 0.85

Calls 3

psl_ipFunction · 0.85
psl_putcolorFunction · 0.85
psl_putdashFunction · 0.85

Tested by

no test coverage detected