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

Function psl_ip

src/postscriptlight.c:758–761  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

756}
757
758static int psl_ip (struct PSL_CTRL *PSL, double p) {
759 /* Convert PS points to PS dots */
760 return ((int)lrint (p * PSL->internal.dpp));
761}
762
763static int psl_convert_path_new (struct PSL_CTRL *PSL, double *x, double *y, int n, int *ix, int *iy, int mode) {
764 /* Simplifies the (x,y) array by converting it to pixel coordinates (ix,iy)

Callers 10

psl_forcelinewidthFunction · 0.85
psl_putfontFunction · 0.85
PSL_setlinewidthFunction · 0.85
PSL_makepenFunction · 0.85
PSL_makefontFunction · 0.85
PSL_makefontsizeFunction · 0.85
PSL_deftextdimFunction · 0.85
PSL_plottextFunction · 0.85
PSL_defpointsFunction · 0.85
PSL_defpenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected