_getcell.c
来自「支持各种栅格图像和矢量图像读取的库」· C语言 代码 · 共 30 行
C
30 行
/* * _getcell.c */#include "csf.h"#include "csfimpl.h"/* read one cell from a CSF raster file * RgetCell reads one cell value from a * file. * returns * 1 if cell is successfully read, * 0 if not * * example * .so examples/csfdump1.tr */size_t RgetCell( MAP *map, /* map handle */ size_t rowNr, /* row number of cell */ size_t colNr, /* column number of cell */ void *cellValue) /* write-only. buffer, large enough to hold * the value of the cell in the file and app * cell representation */{ return RgetSomeCells(map, ( (map->raster.nrCols) * rowNr) + colNr, (size_t)1, cellValue);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?