png_helper.h

来自「一个开源的Flash 播放器,可以在Windows/Linux 上运行」· C头文件 代码 · 共 33 行

H
33
字号
// png_helper.h	-- Thatcher Ulrich <tu@tulrich.com> 2004// This source code has been donated to the Public Domain.  Do// whatever you want with it.// Wrapper for png file operations.  The actual work is done by the// libpng lib.#ifndef PNG_HELPER_H#define PNG_HELPER_H#include "base/tu_config.h"#include <stdio.h>namespace png_helper{	void	write_grayscale(FILE* out, uint8* data, int width, int height);	// TODO: add more helpers as needed...}#endif // PNG_HELPER_H// Local Variables:// mode: C++// c-basic-offset: 8 // tab-width: 8// indent-tabs-mode: t// End:

⌨️ 快捷键说明

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