diff options
author | das <das> | 2006-10-16 15:56:54 (GMT) |
---|---|---|
committer | das <das> | 2006-10-16 15:56:54 (GMT) |
commit | 7ab081b370f463c2ce87e3bc7fef8b0a5668fa6f (patch) | |
tree | 8b9a6b919cf2fc2d92cee1761e5e9c5ec761aa6b /macosx | |
parent | da455d8528eca0baa4cc40a62c75622ff17d4143 (diff) | |
download | tk-7ab081b370f463c2ce87e3bc7fef8b0a5668fa6f.zip tk-7ab081b370f463c2ce87e3bc7fef8b0a5668fa6f.tar.gz tk-7ab081b370f463c2ce87e3bc7fef8b0a5668fa6f.tar.bz2 |
* macosx/README: document CG antialiasing limit changes.
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/README | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/macosx/README b/macosx/README index 95cca5b..cfc5977 100644 --- a/macosx/README +++ b/macosx/README @@ -1,7 +1,7 @@ Tcl/Tk Mac OS X README ---------------------- -RCS: @(#) $Id: README,v 1.20 2006/08/18 07:47:10 das Exp $ +RCS: @(#) $Id: README,v 1.21 2006/10/16 15:56:54 das Exp $ This is the README file for the Mac OS X/Darwin version of Tcl/Tk. @@ -101,17 +101,16 @@ and not those set by your shell configuration files). 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: +caps & miters. The old QD code is retained for now, just in case there are any +compatibility problems. To switch back to the QD drawing, 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. +in your script before you do drawing. +All CG drawing is antialiased by default, but (outline) linewidth can be used to +control whether a line/shape is drawn antialiased. The antialiasing threshold is +0 by default (i.e. antialias everything), it can be changed by setting + set tk::mac::CGAntialiasLimit <limit> +in your script before drawing, in which case lines (or shapes with outlines) +thinner that <limit> pixels will not be antialiased. - ATSUI text antialiasing by default uses the standard OS antialising settings. Setting the global variable '::tk::mac::antialiasedtext' allows to control text |