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/tkFont.c | |
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/tkFont.c')
-rw-r--r-- | generic/tkFont.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/tkFont.c b/generic/tkFont.c index 54b3afa..b768bbd 100644 --- a/generic/tkFont.c +++ b/generic/tkFont.c @@ -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: tkFont.c,v 1.65 2010/01/05 08:49:49 dkf Exp $ + * RCS: @(#) $Id: tkFont.c,v 1.66 2010/12/02 11:38:29 dkf Exp $ */ #include "tkInt.h" @@ -524,7 +524,7 @@ Tk_FontObjCmd( s = Tcl_GetString(objv[n]); if (s[0] == '-' && s[1] != '-') { optPtr = objv[n]; - ++n; + n++; } else { optPtr = NULL; } @@ -536,7 +536,7 @@ Tk_FontObjCmd( if (n < objc) { if (!strcmp(Tcl_GetString(objv[n]), "--")) { - ++n; + n++; } } @@ -546,7 +546,7 @@ Tk_FontObjCmd( if (n < objc) { charPtr = objv[n]; - ++n; + n++; } /* @@ -2370,7 +2370,7 @@ TkDrawAngledTextLayout( firstByte, lastByte - firstByte, (int)(x + dx), (int)(y + dy)); } else { - TkpDrawAngledChars(display, drawable, gc, layoutPtr->tkfont, + TkDrawAngledChars(display, drawable, gc, layoutPtr->tkfont, firstByte, lastByte - firstByte, x+dx, y+dy, angle); } } |