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
28 /* prototypes for drawing routines
31 #ifndef __DRAW_INCLUDED__
32 #define __DRAW_INCLUDED__
36 /*Boolean SwitchDrawingWindow(double, GdkDrawable *, gboolean, gboolean);*/
39 void RedrawOutput (BoxTypePtr area
);
40 void ClearAndRedrawOutput (void);
41 void DrawVia (PinTypePtr
, int);
42 void DrawRat (RatTypePtr
, int);
43 void DrawViaName (PinTypePtr
, int);
44 void DrawPin (PinTypePtr
, int);
45 void DrawPinName (PinTypePtr
, int);
46 void DrawPad (PadTypePtr
, int);
47 void DrawPadName (PadTypePtr
, int);
48 void DrawLine (LayerTypePtr
, LineTypePtr
, int);
49 void DrawArc (LayerTypePtr
, ArcTypePtr
, int);
50 void DrawText (LayerTypePtr
, TextTypePtr
, int);
51 void DrawTextLowLevel (TextTypePtr
, int);
52 void DrawPolygon (LayerTypePtr
, PolygonTypePtr
, int);
53 void DrawElement (ElementTypePtr
, int);
54 void DrawElementName (ElementTypePtr
, int);
55 void DrawElementPackage (ElementTypePtr
, int);
56 void DrawElementPinsAndPads (ElementTypePtr
, int);
57 void DrawObject (int, void *, void *, int);
58 void DrawLayer (LayerTypePtr
, const BoxType
*);
59 void EraseVia (PinTypePtr
);
60 void EraseRat (RatTypePtr
);
61 void EraseViaName (PinTypePtr
);
62 void ErasePad (PadTypePtr
);
63 void ErasePadName (PadTypePtr
);
64 void ErasePin (PinTypePtr
);
65 void ErasePinName (PinTypePtr
);
66 void EraseLine (LineTypePtr
);
67 void EraseArc (ArcTypePtr
);
68 void EraseText (LayerTypePtr
, TextTypePtr
);
69 void ErasePolygon (PolygonTypePtr
);
70 void EraseElement (ElementTypePtr
);
71 void EraseElementPinsAndPads (ElementTypePtr
);
72 void EraseElementName (ElementTypePtr
);
73 void EraseObject (int, void *, void *);
74 void LoadBackgroundImage (char *);
75 void UpdateAll (void);
77 /*GdkDrawable *draw_get_current_drawable(void);*/