summaryrefslogtreecommitdiffstats
path: root/mac/tkMacDraw.c
diff options
context:
space:
mode:
authorhobbs <hobbs>1999-12-14 06:52:56 (GMT)
committerhobbs <hobbs>1999-12-14 06:52:56 (GMT)
commit62e9e6611d2da6b8113210d5002611c40909231e (patch)
treed71daf20f0d14dbde6c6e706cba933f5c57bfa4f /mac/tkMacDraw.c
parentb6b6ff8f0eee42e270a45b019789faa444ed4dad (diff)
downloadtk-62e9e6611d2da6b8113210d5002611c40909231e.zip
tk-62e9e6611d2da6b8113210d5002611c40909231e.tar.gz
tk-62e9e6611d2da6b8113210d5002611c40909231e.tar.bz2
* mac/tkMacDraw.c: mac still needs pointer warping routine
* mac/tkMacXStubs.c: * win/tkWinDraw.c: * win/tkWinPointer.c: added support for pointer warping and platform specific support for dash patch items
Diffstat (limited to 'mac/tkMacDraw.c')
-rw-r--r--mac/tkMacDraw.c22
1 files changed, 21 insertions, 1 deletions
diff --git a/mac/tkMacDraw.c b/mac/tkMacDraw.c
index a292479..f684976 100644
--- a/mac/tkMacDraw.c
+++ b/mac/tkMacDraw.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkMacDraw.c,v 1.7 1999/09/02 17:03:08 hobbs Exp $
+ * RCS: @(#) $Id: tkMacDraw.c,v 1.8 1999/12/14 06:52:56 hobbs Exp $
*/
#include "tkInt.h"
@@ -975,6 +975,26 @@ TkMacSetUpGraphicsPort(
if (gc->line_width > 1) {
PenSize(gc->line_width, gc->line_width);
}
+ if (gc->line_style != LineSolid) {
+ unsigned char *p = (unsigned char *) &(gc->dashes);
+ /*
+ * Here the dash pattern should be set in the drawing,
+ * environment, but I don't know how to do that for the Mac.
+ *
+ * p[] is an array of unsigned chars containing the dash list.
+ * A '\0' indicates the end of this list.
+ *
+ * Someone knows how to implement this? If you have a more
+ * complete implementation of SetUpGraphicsPort() for
+ * the Mac (or for Windows), please let me know.
+ *
+ * Jan Nijtmans
+ * CMG Arnhem, B.V.
+ * email: j.nijtmans@chello.nl (private)
+ * jan.nijtmans@cmg.nl (work)
+ * url: http://purl.oclc.org/net/nijtmans/
+ */
+ }
}
/*