_rputrow.c

来自「支持各种栅格图像和矢量图像读取的库」· C语言 代码 · 共 32 行

C
32
字号
/* * _rputrow.c */#include "csf.h"#include "csfimpl.h"/* write one row to a CSF raster file * RputRow writes one row of cell values to a * file. * returns * number of cells successfully written. Should be equal * to the number of columns if everything is OK. * * example * .so examples/_row.tr */size_t RputRow(MAP *map,         /* map handle */size_t rowNr,      /* Row number of row */void *buf)        /* read-write. Buffer large enough to                   * hold one row in the in-file cell representation                   * or the in-app cell representation.                   * If these types are not equal then the buffer is                   * converted from the in-app to the in-file                    * cell representation.                    */{	return RputSomeCells(map, (map->raster.nrCols)*rowNr, 	                          (size_t)map->raster.nrCols, buf) ;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?