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