diff options
author | wolfsuit <wolfsuit> | 2004-07-25 01:57:30 (GMT) |
---|---|---|
committer | wolfsuit <wolfsuit> | 2004-07-25 01:57:30 (GMT) |
commit | 836a1e8661f2764927233aae65d7733ac10e91b9 (patch) | |
tree | cbe9b8f26567cbfa81936df1c5d421995b5845b2 /macosx/README | |
parent | 414f93c79cebe9bca7f62cdc42368e81cb469174 (diff) | |
download | tk-836a1e8661f2764927233aae65d7733ac10e91b9.zip tk-836a1e8661f2764927233aae65d7733ac10e91b9.tar.gz tk-836a1e8661f2764927233aae65d7733ac10e91b9.tar.bz2 |
Finish the implementation of the CG version of the X Drawing layer.
Add support for returning values for the wm attributes commands, and
use FSRef's rather than FSSpec's.
Diffstat (limited to 'macosx/README')
-rw-r--r-- | macosx/README | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/macosx/README b/macosx/README index 07302c0..7514ad8 100644 --- a/macosx/README +++ b/macosx/README @@ -1,7 +1,7 @@ TclTkAqua README ---------------- -RCS: @(#) $Id: README,v 1.6.2.3 2003/10/01 14:35:39 das Exp $ +RCS: @(#) $Id: README,v 1.6.2.4 2004/07/25 01:57:41 wolfsuit Exp $ This is the README file for the Mac OS X native versions of Tcl & Tk. @@ -83,6 +83,25 @@ 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 <pixel limit> + +in your script before drawing. + - 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). |