diff options
Diffstat (limited to 'generic/tkInt.h')
-rw-r--r-- | generic/tkInt.h | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/generic/tkInt.h b/generic/tkInt.h index 10fff59..5fe85e1 100644 --- a/generic/tkInt.h +++ b/generic/tkInt.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: tkInt.h,v 1.92 2008/11/09 21:53:39 nijtmans Exp $ + * RCS: $Id: tkInt.h,v 1.93 2008/11/22 18:08:51 dkf Exp $ */ #ifndef _TKINT @@ -956,6 +956,19 @@ MODULE_SCOPE TkMainInfo *tkMainWindowList; MODULE_SCOPE Tk_ImageType tkPhotoImageType; MODULE_SCOPE Tcl_HashTable tkPredefBitmapTable; +/* + * The definition of pi, at least from the perspective of double-precision + * floats. + */ + +#ifndef PI +#define PI 3.14159265358979323846 +#endif + +/* + * Exported internals. + */ + #include "tkIntDecls.h" #ifdef BUILD_tk @@ -1214,6 +1227,19 @@ MODULE_SCOPE void TkpCreateBusy(Tk_FakeWin *winPtr, Tk_Window tkRef, Window *parentPtr, Tk_Window tkParent, TkBusy busy); +MODULE_SCOPE void TkDrawAngledTextLayout(Display *display, + Drawable drawable, GC gc, Tk_TextLayout layout, + int x, int y, double angle, int firstChar, + int lastChar); +MODULE_SCOPE void TkpDrawAngledChars(Display *display,Drawable drawable, + GC gc, Tk_Font tkfont, const char *source, + int numBytes, double x, double y, double angle); +MODULE_SCOPE void TkUnderlineAngledTextLayout(Display *display, + Drawable drawable, GC gc, Tk_TextLayout layout, + int x, int y, double angle, int underline); +MODULE_SCOPE int TkIntersectAngledTextLayout(Tk_TextLayout layout, + int x,int y, int width, int height, double angle); + /* * Unsupported commands. */ |