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

Function gmtapi_init_image

src/gmt_api.c:2148–2151  ·  view source on GitHub ↗

! . */

Source from the content-addressed store, hash-verified

2146
2147/*! . */
2148GMT_LOCAL int gmtapi_init_image (struct GMTAPI_CTRL *API, struct GMT_OPTION *opt, uint64_t dim[], double *range, double *inc, int registration, unsigned int mode, unsigned int direction, struct GMT_IMAGE *I) {
2149 if (direction == GMT_OUT) return (GMT_NOERROR); /* OK for creating blank container for output */
2150 return (gmtapi_init_grdheader (API->GMT, direction, I->header, opt, dim, range, inc, registration, mode));
2151}
2152
2153/*! . */
2154GMT_LOCAL int gmtapi_init_matrix (struct GMTAPI_CTRL *API, uint64_t dim[], double *range, double *inc, int registration, unsigned int mode, unsigned int direction, struct GMT_MATRIX *M) {

Callers 1

GMT_Create_DataFunction · 0.85

Calls 1

gmtapi_init_grdheaderFunction · 0.85

Tested by

no test coverage detected