diff options
Diffstat (limited to 'macosx/README')
-rw-r--r-- | macosx/README | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/macosx/README b/macosx/README index 0c7e698..ba58466 100644 --- a/macosx/README +++ b/macosx/README @@ -1,7 +1,7 @@ TclTkAqua README ---------------- -RCS: @(#) $Id: README,v 1.9 2003/10/01 14:35:32 das Exp $ +RCS: @(#) $Id: README,v 1.10 2004/11/11 01:24:32 das Exp $ This is the README file for the Mac OS X native versions of Tcl & Tk. @@ -83,6 +83,26 @@ you expect. (Wish started from the Finder inherits the Finder's environment variables, which are essentially those set in $HOME/.MacOSX/environment.plist and not those set by your shell configuration files). +- As of Tk 8.4.7, AquaTk has a version of the low-level drawing primitives using +the CoreGraphics routines - the code is primarily due to James Tittle. There +were numerous problems with the QD version, mostly due to the different drawing +model of QD & Tk. CG also trivially supports dashed lines, and the various end +caps & miters. So this is a great improvement. + +The old QD code is retained for now, just in case there are any +compatibility problems. To switch back to the QD drawing, just put: + +set tk::mac::useCGDrawing 0 + +in your script before you do drawing. Also the CG drawing can anti-alias line drawing. +However, anti-aliased thin lines look washed out, so the threshold for antialiasing +is set to 3 pixel width lines. You can change this if you want by putting: + +set tk::mac::CGAntialiasLimit <limit> + +in your script before drawing, in which case only lines thinner that <limit> pixels +will not be antialiased. + - Quickdraw text antialiasing is enabled by default when available (from 10.1.5 onwards). Changing the global boolean variable '::tk::mac::antialiasedtext' allows to dis/enable antialiasing on the fly from tcl (even for existing text). |