- Main Page
- Modules
- Data Structures
- Files

# hpgsimage.h

    00001 /***********************************************************************
    00002  *                                                                     *
    00003  * $Id: hpgsimage.h 489 2009-02-11 14:10:30Z softadm $
    00004  *                                                                     *
    00005  * hpgs - HPGl Script, a hpgl/2 interpreter, which uses a Postscript   *
    00006  *        API for rendering a scene and thus renders to a variety of   *
    00007  *        devices and fileformats.                                     *
    00008  *                                                                     *
    00009  * (C) 2004-2009 ev-i Informationstechnologie GmbH  http://www.ev-i.at *
    00010  *                                                                     *
    00011  * Author: Wolfgang Glas                                               *
    00012  *                                                                     *
    00013  *  hpgs is free software; you can redistribute it and/or              *
    00014  * modify it under the terms of the GNU Lesser General Public          *
    00015  * License as published by the Free Software Foundation; either        *
    00016  * version 2.1 of the License, or (at your option) any later version.  *
    00017  *                                                                     *
    00018  * hpgs is distributed in the hope that it will be useful,             *
    00019  * but WITHOUT ANY WARRANTY; without even the implied warranty of      *
    00020  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU   *
    00021  * Lesser General Public License for more details.                     *
    00022  *                                                                     *
    00023  * You should have received a copy of the GNU Lesser General Public    *
    00024  * License along with this library; if not, write to the               *
    00025  * Free Software  Foundation, Inc., 59 Temple Place, Suite 330,        *
    00026  * Boston, MA  02111-1307  USA                                         *
    00027  *                                                                     *
    00028  ***********************************************************************
    00029  *                                                                     *
    00030  * Private declarations for images.                                    *
    00031  *                                                                     *
    00032  ***********************************************************************/
    00033
    00034 #ifndef __HPGS_IMAGE_H__
    00035 #define __HPGS_IMAGE_H__
    00036
    00037 #include <hpgs.h>
    00038
    00039 #ifdef __cplusplus
    00040 extern "C" {
    00041 #endif
    00042
    00054 struct hpgs_png_image_st {
    00055   hpgs_image inherited;
    00056
    00057   int depth;
    00058   int color_type;
    00059   int bytes_per_row;
    00060   int compression;
    00061
    00062   unsigned char *data;
    00063
    00064   hpgs_rop3_func_t rop3;
    00065   hpgs_palette_color pattern_color;
    00066
    00067   unsigned res_x;
    00068   unsigned res_y;
    00069 };
    00070  /* end of group reader */
    00072
    00073 #ifdef __cplusplus
    00074 } // end of extern "C"
    00075 #endif
    00076
    00077 #endif // ! __HPGS_IMAGE_H__