diff options
Diffstat (limited to 'macosx/tkMacOSXDraw.c')
-rw-r--r-- | macosx/tkMacOSXDraw.c | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/macosx/tkMacOSXDraw.c b/macosx/tkMacOSXDraw.c index ac1e407..af3941c 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.6 2005/08/09 07:39:20 das Exp $ + * RCS: @(#) $Id: tkMacOSXDraw.c,v 1.7 2005/11/27 02:36:15 das Exp $ */ #include "tclInt.h" @@ -52,10 +52,10 @@ static int useThemedFrame = 0; */ static unsigned char InvertByte _ANSI_ARGS_((unsigned char data)); -void TkMacOSXSetUpCGContext(MacDrawable *macWin, +static void TkMacOSXSetUpCGContext(MacDrawable *macWin, CGrafPtr destPort, GC gc, CGContextRef *contextPtr); -void TkMacOSXReleaseCGContext(MacDrawable *macWin, CGrafPtr destPort, - CGContextRef *context); +static void TkMacOSXReleaseCGContext(MacDrawable *macWin, CGrafPtr destPort, + CGContextRef *context); static inline double radians(double degrees) { return degrees * PI / 180.0f; } MODULE_SCOPE int @@ -881,6 +881,7 @@ XDrawRectangle( SetGWorld(saveWorld, saveDevice); } +#if 0 /* *---------------------------------------------------------------------- * @@ -963,6 +964,7 @@ XDrawRectangles( } SetGWorld(saveWorld, saveDevice); } +#endif /* *---------------------------------------------------------------------- @@ -1074,6 +1076,7 @@ XDrawArc( SetGWorld(saveWorld, saveDevice); } +#if 0 /* *---------------------------------------------------------------------- * @@ -1183,6 +1186,7 @@ XDrawArcs( } SetGWorld(saveWorld, saveDevice); } +#endif /* *---------------------------------------------------------------------- @@ -1328,6 +1332,7 @@ XFillArc( SetGWorld(saveWorld, saveDevice); } +#if 0 /* *---------------------------------------------------------------------- * @@ -1509,7 +1514,9 @@ XFillArcs( } SetGWorld(saveWorld, saveDevice); } +#endif +#if 0 /* *---------------------------------------------------------------------- * @@ -1522,6 +1529,7 @@ XMaxRequestSize(Display *display) { return (SHRT_MAX / 4); } +#endif /* *---------------------------------------------------------------------- @@ -1729,7 +1737,7 @@ TkMacOSXSetUpGraphicsPort( *---------------------------------------------------------------------- */ -void +static void TkMacOSXSetUpCGContext( MacDrawable *macWin, CGrafPtr destPort, @@ -1836,7 +1844,7 @@ TkMacOSXSetUpCGContext( } } -void +static void TkMacOSXReleaseCGContext( MacDrawable *macWin, CGrafPtr destPort, |