Revert "Fix locale-dependent gerber output"
[geda-pcb/whiteaudio.git] / src / draw.h
blobd92dee560382a36616cd5400f90ede906e175f33
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 PCB_DRAW_H
32 #define PCB_DRAW_H
34 #include "global.h"
36 /*bool SwitchDrawingWindow(double, GdkDrawable *, gboolean, gboolean);*/
38 void Draw (void);
39 void Redraw (void);
40 void DrawVia (PinTypePtr);
41 void DrawRat (RatTypePtr);
42 void DrawViaName (PinTypePtr);
43 void DrawPin (PinTypePtr);
44 void DrawPinName (PinTypePtr);
45 void DrawPad (PadTypePtr);
46 void DrawPadName (PadTypePtr);
47 void DrawLine (LayerTypePtr, LineTypePtr);
48 void DrawArc (LayerTypePtr, ArcTypePtr);
49 void DrawText (LayerTypePtr, TextTypePtr);
50 void DrawTextLowLevel (TextTypePtr, Coord);
51 void DrawPolygon (LayerTypePtr, PolygonTypePtr);
52 void DrawElement (ElementTypePtr);
53 void DrawElementName (ElementTypePtr);
54 void DrawElementPackage (ElementTypePtr);
55 void DrawElementPinsAndPads (ElementTypePtr);
56 void DrawObject (int, void *, void *);
57 void DrawLayer (LayerTypePtr, const BoxType *);
58 void EraseVia (PinTypePtr);
59 void EraseRat (RatTypePtr);
60 void EraseViaName (PinTypePtr);
61 void ErasePad (PadTypePtr);
62 void ErasePadName (PadTypePtr);
63 void ErasePin (PinTypePtr);
64 void ErasePinName (PinTypePtr);
65 void EraseLine (LineTypePtr);
66 void EraseArc (ArcTypePtr);
67 void EraseText (LayerTypePtr, TextTypePtr);
68 void ErasePolygon (PolygonTypePtr);
69 void EraseElement (ElementTypePtr);
70 void EraseElementPinsAndPads (ElementTypePtr);
71 void EraseElementName (ElementTypePtr);
72 void EraseObject (int, void *, void *);
74 void DrawLayerGroup (int side, const BoxType *drawn_area);
75 void DrawPaste (int side, const BoxType *drawn_area);
76 void DrawSilk (int side, const BoxType *drawn_area);
77 void DrawMask (int side, const BoxType *drawn_area);
78 void DrawHoles (bool draw_plated, bool draw_unplated, const BoxType *drawn_area);
79 void PrintAssembly (int side, const BoxType *drawn_area);
81 #endif