diff options
author | drh <drh@sqlite.org> | 2003-01-08 23:02:19 (GMT) |
---|---|---|
committer | drh <drh@sqlite.org> | 2003-01-08 23:02:19 (GMT) |
commit | 429e43b644753e770d265227a59ab078bb9eaf04 (patch) | |
tree | ac3d9da91203ca0c8d8e76775c90ca1893242007 /generic/tkCanvas.h | |
parent | 891029fe3efdaa4b484b55a7d937c4e2d39b7722 (diff) | |
download | tk-429e43b644753e770d265227a59ab078bb9eaf04.zip tk-429e43b644753e770d265227a59ab078bb9eaf04.tar.gz tk-429e43b644753e770d265227a59ab078bb9eaf04.tar.bz2 |
Implement Cohen-Sutherland polygon clipping for long lines in the canvas widget
so that coordinates do not overflow the 16-bit limit imposed by X11 and Win32.
Bug #663981.
Diffstat (limited to 'generic/tkCanvas.h')
-rw-r--r-- | generic/tkCanvas.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/generic/tkCanvas.h b/generic/tkCanvas.h index cb601a9..402eaa1 100644 --- a/generic/tkCanvas.h +++ b/generic/tkCanvas.h @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkCanvas.h,v 1.6 2002/10/10 07:25:24 hobbs Exp $ + * RCS: @(#) $Id: tkCanvas.h,v 1.7 2003/01/08 23:02:33 drh Exp $ */ #ifndef _TKCANVAS @@ -295,4 +295,13 @@ typedef struct TkCanvas { extern int TkCanvPostscriptCmd _ANSI_ARGS_((TkCanvas *canvasPtr, Tcl_Interp *interp, int argc, CONST char **argv)); +/* + * Other procedures that are shared among Tk canvas modules but not exported + * to the outside world: + */ +extern int TkCanvTranslatePath _ANSI_ARGS_((TkCanvas *canvPtr, + int numVertex, double *coordPtr, int closed, + XPoint *outPtr)); + + #endif /* _TKCANVAS */ |