iceWing
Main Page
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
gui
Gpolygon.h
Go to the documentation of this file.
1
/* -*- mode: C; tab-width: 4; c-basic-offset: 4; -*- */
2
3
/*
4
* Author: Frank Loemker
5
*
6
* Copyright (C) 1999-2009
7
* Frank Loemker, Applied Computer Science, Faculty of Technology,
8
* Bielefeld University, Germany
9
*
10
* This file is part of iceWing, a graphical plugin shell.
11
*
12
* iceWing is free software; you can redistribute it and/or modify
13
* it under the terms of the GNU General Public License as published by
14
* the Free Software Foundation; either version 2 of the License, or
15
* (at your option) any later version.
16
*
17
* iceWing is distributed in the hope that it will be useful,
18
* but WITHOUT ANY WARRANTY; without even the implied warranty of
19
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
* GNU General Public License for more details.
21
*
22
* You should have received a copy of the GNU General Public License
23
* along with this program; if not, write to the Free Software
24
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
25
*/
26
27
#ifndef iw_Gpolygon_H
28
#define iw_Gpolygon_H
29
30
#include "
Grender.h
"
31
32
typedef
void (*
prevPolyFunc
) (
int
x,
int
y,
int
cnt,
void
*data);
33
34
#ifdef __cplusplus
35
extern
"C"
{
36
#endif
37
38
/*********************************************************************
39
Fill the polygon defined by the points pts (or everything except
40
the polygon if invers==TRUE).
41
width, height: clipping range for the polygon
42
npts : number of points
43
fkt : is called with data as argument
44
*********************************************************************/
45
gboolean
prev_drawFPoly_raw
(
int
width,
int
height,
int
npts,
const
prevDataPoint
*pts,
46
gboolean invers,
prevPolyFunc
fkt,
void
*data);
47
gboolean
prev_drawConvexPoly_raw
(
int
width,
int
height,
int
npts,
const
prevDataPoint
*pts,
48
gboolean invers,
prevPolyFunc
fkt,
void
*data);
49
50
#ifdef __cplusplus
51
}
52
#endif
53
54
#endif
/* iw_Gpolygon_H */
Generated by
1.8.1