VirtualBox

source: vbox/trunk/src/libs/libpng-1.2.8/contrib/visupng/PngFile.h@ 12130

最後變更 在這個檔案從12130是 6395,由 vboxsync 提交於 17 年 前

export libpng and zlib so Windows and OS/2 build cleanly.

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.0 KB
 
1//------------------------------------------
2// PNGFILE.H -- Header File for pngfile.c
3//------------------------------------------
4
5// Copyright 2000, Willem van Schaik. For conditions of distribution and
6// use, see the copyright/license/disclaimer notice in png.h
7
8#include <stdio.h>
9#include <stdlib.h>
10#include <string.h>
11#include <windows.h>
12
13void PngFileInitialize (HWND hwnd) ;
14BOOL PngFileOpenDlg (HWND hwnd, PTSTR pstrFileName, PTSTR pstrTitleName) ;
15BOOL PngFileSaveDlg (HWND hwnd, PTSTR pstrFileName, PTSTR pstrTitleName) ;
16
17BOOL PngLoadImage (PTSTR pstrFileName, png_byte **ppbImageData,
18 int *piWidth, int *piHeight, int *piChannels, png_color *pBkgColor);
19BOOL PngSaveImage (PTSTR pstrFileName, png_byte *pDiData,
20 int iWidth, int iHeight, png_color BkgColor);
21
22#if defined(PNG_NO_STDIO)
23static void png_read_data(png_structp png_ptr, png_bytep data, png_size_t length);
24static void png_write_data(png_structp png_ptr, png_bytep data, png_size_t length);
25static void png_flush(png_structp png_ptr);
26#endif
27
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette