1 /****************************************************************************
2     Copyright (C) 1987-2015 by Jeffery P. Hansen
3 
4     This program is free software; you can redistribute it and/or modify
5     it under the terms of the GNU General Public License as published by
6     the Free Software Foundation; either version 2 of the License, or
7     (at your option) any later version.
8 
9     This program is distributed in the hope that it will be useful,
10     but WITHOUT ANY WARRANTY; without even the implied warranty of
11     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12     GNU General Public License for more details.
13 
14     You should have received a copy of the GNU General Public License along
15     with this program; if not, write to the Free Software Foundation, Inc.,
16     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17 ****************************************************************************/
18 #ifndef __zoom_h
19 #define __zoom_h
20 
21 #include "gate_painter.h"
22 
23 void ZDrawLine(Display *display,Drawable d,GC gc,int x1,int y1,int x2,int y2);
24 void ZDrawLines(Display *display,Drawable d,GC gc,XPoint *points,int npoints,int mode);
25 void ZDrawRectangle(Display *display, Drawable d,GC gc,int x,int y,unsigned width,unsigned height);
26 void ZFillRectangle(Display *display, Drawable d,GC gc,int x,int y,unsigned width,unsigned height);
27 void ZDrawString(GatePainter*,GC gc,int x,int y,char *string,int length);
28 void ZDrawString16(Display *display,Drawable d,GC gc,int x,int y,XChar2b *string,int length);
29 void ZCopyArea(Display *display,Drawable src,Drawable dest,GC gc,int src_x,int src_y,
30 	       unsigned width,unsigned height,int dest_x,int dest_y);
31 void ZCopyPlane(Display *display,Drawable src,Drawable dest,GC gc,int src_x,int src_y,
32 		unsigned width,unsigned height,int dest_x,int dest_y,unsigned long plane);
33 
34 //void unZoomMetrics(Tk_FontMetrics *);
35 
36 #endif
37