diff options
author | das <das@noemail.net> | 2004-07-27 18:58:31 (GMT) |
---|---|---|
committer | das <das@noemail.net> | 2004-07-27 18:58:31 (GMT) |
commit | a0284e5917e0576f0c7d43ece032390ff3639324 (patch) | |
tree | 7ca0bab4f2646bbfe82c4068bea1c42a4b42f78f /macosx/tkMacOSXDraw.c | |
parent | 1337ca7c15dc2a845142c8ef94c1ddee2630b459 (diff) | |
download | tk-a0284e5917e0576f0c7d43ece032390ff3639324.zip tk-a0284e5917e0576f0c7d43ece032390ff3639324.tar.gz tk-a0284e5917e0576f0c7d43ece032390ff3639324.tar.bz2 |
* generic/tkRectOval.c (ComputeRectOvalBbox): Mac OS X specific
fix to rounding in bounding box 'bloat' calculation to avoid drawing
outside of bounding box when CG drawing enabled. Fix probably
correct on other platforms as well?
* macosx/tkMacOSXDraw.c (TkMacOSXInitCGDrawing): fixed LinkVar type
for tkMacOSXCGAntiAliasLimit.
FossilOrigin-Name: 55976a2255f278f4b6495f08683282cbcd281635
Diffstat (limited to 'macosx/tkMacOSXDraw.c')
-rw-r--r-- | macosx/tkMacOSXDraw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXDraw.c b/macosx/tkMacOSXDraw.c index dec2369..e4d6431 100644 --- a/macosx/tkMacOSXDraw.c +++ b/macosx/tkMacOSXDraw.c @@ -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: tkMacOSXDraw.c,v 1.2.2.3 2004/07/25 02:19:22 wolfsuit Exp $ + * RCS: @(#) $Id: tkMacOSXDraw.c,v 1.2.2.4 2004/07/27 18:58:33 das Exp $ */ #include "tclInt.h" @@ -76,7 +76,7 @@ TkMacOSXInitCGDrawing(interp, enable, limit) if (Tcl_LinkVar(interp, "::tk::mac::CGAntialiasLimit", (char *) &tkMacOSXCGAntiAliasLimit, - TCL_LINK_BOOLEAN) != TCL_OK) { + TCL_LINK_INT) != TCL_OK) { Tcl_ResetResult(interp); } tkMacOSXCGAntiAliasLimit = limit; |