/** ** dummypng.c ---- dummy png funtions if not PNG support in the library ** ** Copyright (C) 2001 Mariano Alvarez Fernandez ** [e-mail: malfer@teleline.es] ** ** This file is part of the GRX graphics library. ** ** The GRX graphics library is free software; you can redistribute it ** and/or modify it under some conditions; see the "copying.grx" file ** for details. ** ** This library is distributed in the hope that it will be useful, ** but WITHOUT ANY WARRANTY; without even the implied warranty of ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ** **/ #include #include #include "grx20.h" /* ** GrPngSupport - Returns false */ int GrPngSupport( void ) { return 0; } /* ** GrSaveContextToPng - Returns error */ int GrSaveContextToPng( GrContext *grc, char *pngfn ) { return -1; } /* ** GrLoadContextFromPng - Returns error */ int GrLoadContextFromPng( GrContext *grc, char *pngfn, int use_alpha ) { return -1; } /* ** GrQueryPnm - Returns error */ int GrQueryPng( char *pngfn, int *width, int *height ) { return -1; }