Pass r_NoHolesPolygonDicer a POLYAREA *, not a PLINE *
[geda-pcb/gde.git] / src / draw.h
blob47c4c7f087769474ca94d2cfe75de23291e894e9
1 /*
2 * COPYRIGHT
4 * PCB, interactive printed circuit board design
5 * Copyright (C) 1994,1995,1996, 2004 Thomas Nau
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 * Contact addresses for paper mail and Email:
22 * Thomas Nau, Schlehenweg 15, 88471 Baustetten, Germany
23 * Thomas.Nau@rz.uni-ulm.de
25 * RCS: $Id$
28 /* prototypes for drawing routines
31 #ifndef __DRAW_INCLUDED__
32 #define __DRAW_INCLUDED__
34 #include "global.h"
36 /*Boolean SwitchDrawingWindow(double, GdkDrawable *, gboolean, gboolean);*/
38 void Draw (void);
39 void RedrawOutput (BoxTypePtr area);
40 void ClearAndRedrawOutput (void);
41 void ClearPin (PinTypePtr, int, int);
42 void DrawVia (PinTypePtr, int);
43 void DrawRat (RatTypePtr, int);
44 void DrawViaName (PinTypePtr, int);
45 void DrawPin (PinTypePtr, int);
46 void DrawPinName (PinTypePtr, int);
47 void DrawPad (PadTypePtr, int);
48 void DrawPadName (PadTypePtr, int);
49 void DrawLine (LayerTypePtr, LineTypePtr, int);
50 void DrawArc (LayerTypePtr, ArcTypePtr, int);
51 void DrawText (LayerTypePtr, TextTypePtr, int);
52 void DrawTextLowLevel (TextTypePtr, int);
53 void DrawPolygon (LayerTypePtr, PolygonTypePtr, int);
54 void DrawElement (ElementTypePtr, int);
55 void DrawElementName (ElementTypePtr, int);
56 void DrawElementPackage (ElementTypePtr, int);
57 void DrawElementPinsAndPads (ElementTypePtr, int);
58 void DrawObject (int, void *, void *, int);
59 void DrawLayer (LayerTypePtr, BoxType *);
60 void EraseVia (PinTypePtr);
61 void EraseRat (RatTypePtr);
62 void EraseViaName (PinTypePtr);
63 void ErasePad (PadTypePtr);
64 void ErasePadName (PadTypePtr);
65 void ErasePin (PinTypePtr);
66 void ErasePinName (PinTypePtr);
67 void EraseLine (LineTypePtr);
68 void EraseArc (ArcTypePtr);
69 void EraseText (LayerTypePtr, TextTypePtr);
70 void ErasePolygon (PolygonTypePtr);
71 void EraseElement (ElementTypePtr);
72 void EraseElementPinsAndPads (ElementTypePtr);
73 void EraseElementName (ElementTypePtr);
74 void EraseObject (int, void *, void *);
75 void LoadBackgroundImage (char *);
76 void UpdateAll (void);
78 /*GdkDrawable *draw_get_current_drawable(void);*/
80 #endif