diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2010-12-02 11:38:28 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2010-12-02 11:38:28 (GMT) |
commit | e275ec48e7ca72f92c4c766367e76f57a874bab9 (patch) | |
tree | 317f136f5630fdb2a8a6058c4941237d280314d4 /generic/tkInt.decls | |
parent | e55404bc8b824f5841b7e5f42bff2867e7f490ab (diff) | |
download | tk-e275ec48e7ca72f92c4c766367e76f57a874bab9.zip tk-e275ec48e7ca72f92c4c766367e76f57a874bab9.tar.gz tk-e275ec48e7ca72f92c4c766367e76f57a874bab9.tar.bz2 |
* generic/tkInt.decls (TkDrawAngledTextLayout,TkDrawAngledChars,...):
Expose angled text API for Emiliano Gavilan. Still only in internal
stub table.
Diffstat (limited to 'generic/tkInt.decls')
-rw-r--r-- | generic/tkInt.decls | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/generic/tkInt.decls b/generic/tkInt.decls index e545da7..580b056 100644 --- a/generic/tkInt.decls +++ b/generic/tkInt.decls @@ -10,7 +10,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.decls,v 1.65 2010/09/28 10:42:05 nijtmans Exp $ +# RCS: @(#) $Id: tkInt.decls,v 1.66 2010/12/02 11:38:29 dkf Exp $ library tk @@ -613,6 +613,27 @@ declare 180 { CONST86 char *TkSmoothPrintProc(ClientData clientData, Tk_Window tkwin, char *widgRec, int offset, Tcl_FreeProc **freeProcPtr) } + +# Angled text API, exposed for Emiliano Gavilan's RBC work. +declare 181 { + void TkDrawAngledTextLayout(Display *display, Drawable drawable, GC gc, + Tk_TextLayout layout, int x, int y, double angle, int firstChar, + int lastChar); +} +declare 182 { + void TkUnderlineAngledTextLayout(Display *display, Drawable drawable, + GC gc, Tk_TextLayout layout, int x, int y, double angle, + int underline); +} +declare 183 { + int TkIntersectAngledTextLayout(Tk_TextLayout layout, int x, int y, + int width, int height, double angle); +} +declare 184 { + void TkDrawAngledChars(Display *display,Drawable drawable, GC gc, + Tk_Font tkfont, const char *source, int numBytes, double x, + double y, double angle); +} ############################################################################## @@ -968,7 +989,7 @@ declare 51 aqua { declare 53 aqua { unsigned long TkpGetMS(void) } - + ############################################################################## # Define the platform specific internal Xlib interfaces. These functions are |