~ubuntu-branches/ubuntu/intrepid/gmsh/intrepid

« back to all changes in this revision

Viewing changes to Graphics/gl2png.h

  • Committer: Bazaar Package Importer
  • Author(s): Emmet Hikory
  • Date: 2007-05-07 10:01:37 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070507100137-6j0rzz1ucbn0m2jt
Tags: 2.0.7-1ubuntu1
* Merged with Debian unstable.  Remaining Ubuntu changes:
  - Add .desktop file
  - Add icon
* Added XSBC-Original-Maintainer
* Removed Application Category from gmsh.desktop
* Link against GLU (fixes FTBFS)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#ifndef _GL2PNG_H_
2
2
#define _GL2PNG_H_
3
3
 
4
 
/*
5
 
 * GL2PNG, an OpenGL to PNG Printing Library
6
 
 * Copyright (C) 1999-2003 Christophe Geuzaine <geuz@geuz.org>
7
 
 *
8
 
 * This program is free software; you can redistribute it and/or
9
 
 * modify it under the terms of either:
10
 
 *
11
 
 * a) the GNU Library General Public License as published by the Free
12
 
 * Software Foundation, either version 2 of the License, or (at your
13
 
 * option) any later version; or
14
 
 *
15
 
 * b) the GL2PS License as published by Christophe Geuzaine, either
16
 
 * version 2 of the License, or (at your option) any later version.
17
 
 *
18
 
 * This program is distributed in the hope that it will be useful, but
19
 
 * WITHOUT ANY WARRANTY; without even the implied warranty of
20
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See either
21
 
 * the GNU Library General Public License or the GL2PS License for
22
 
 * more details.
23
 
 *
24
 
 * You should have received a copy of the GNU Library General Public
25
 
 * License along with this library in the file named "COPYING.LGPL";
26
 
 * if not, write to the Free Software Foundation, Inc., 675 Mass Ave,
27
 
 * Cambridge, MA 02139, USA.
28
 
 *
29
 
 * You should have received a copy of the GL2PS License with this
30
 
 * library in the file named "COPYING.GL2PS"; if not, I will be glad
31
 
 * to provide one.
32
 
 */
 
4
// Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
 
5
//
 
6
// This program is free software; you can redistribute it and/or modify
 
7
// it under the terms of the GNU General Public License as published by
 
8
// the Free Software Foundation; either version 2 of the License, or
 
9
// (at your option) any later version.
 
10
//
 
11
// This program is distributed in the hope that it will be useful,
 
12
// but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14
// GNU General Public License for more details.
 
15
//
 
16
// You should have received a copy of the GNU General Public License
 
17
// along with this program; if not, write to the Free Software
 
18
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 
19
// USA.
 
20
// 
 
21
// Please report all bugs and problems to <gmsh@geuz.org>.
33
22
 
34
23
#include <stdio.h>
 
24
#include "PixelBuffer.h"
35
25
 
36
 
void create_png(FILE *outfile, int width, int height, int quality);
 
26
void create_png(FILE *outfile, PixelBuffer *buffer, int quality);
37
27
 
38
28
#endif