diff options
author | das <das> | 2006-03-25 06:08:16 (GMT) |
---|---|---|
committer | das <das> | 2006-03-25 06:08:16 (GMT) |
commit | d04d49011414bbf16a0879bf900b148e52e761b9 (patch) | |
tree | a1e2a3672d454861f9b8c62a7995c8da82692e37 /macosx | |
parent | 49cccac7d8c024504e9aea9e0b4c6659b9f858e7 (diff) | |
download | tk-d04d49011414bbf16a0879bf900b148e52e761b9.zip tk-d04d49011414bbf16a0879bf900b148e52e761b9.tar.gz tk-d04d49011414bbf16a0879bf900b148e52e761b9.tar.bz2 |
* macosx/tkMacOSXDraw.c (TkMacOSXSetUpCGContext):
* macosx/tkMacOSXFont.c (TkMacOSXQuarzStartDraw, TkMacOSXQuarzEndDraw):
performance improvements, sync similar code, formatting & whitespace.
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/tkMacOSXDraw.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/macosx/tkMacOSXDraw.c b/macosx/tkMacOSXDraw.c index 2552345..0e38e90 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.11 2006/03/25 06:02:43 das Exp $ + * RCS: @(#) $Id: tkMacOSXDraw.c,v 1.12 2006/03/25 06:08:16 das Exp $ */ #include "tkMacOSXInt.h" @@ -1745,7 +1745,7 @@ TkMacOSXSetUpCGContext( err = QDBeginCGContext(destPort, contextPtr); outContext = *contextPtr; - + /* * Now clip the CG Context to the port. Note, we have already * set up the port with our clip region, so we can just get @@ -1755,7 +1755,7 @@ TkMacOSXSetUpCGContext( * We also have to intersect our clip region with the port * visible region so we don't overwrite the window decoration. */ - + if (!clipRgn) { clipRgn = NewRgn(); } |