I have 2 problems:
   1) drawLines()ith XORmMode set does not work correctly and,
   2) I want to move the mouse pointer under program control

XORMode Problem with drawLines()

   drawLines() in XORMode does not properly take into account line
   crossing.  Line crossings appear as a gap in the lines because
   they are drawn twice and drawLines() does not properly take this
   into account when rendering the lines.  The underlying Xlib
   function to which I think drawLines() should map is XDrawLines().
   XDrawLines works properly.  Questions: Does drawLines() map to
   XDrawLines and if so what has gone wrong?  If not can it be
   changed so that it does?

   If the only solution is to do a native call, how can I get the
   proper Xlib Display and Drawable handles (this may either be a
   Canvas or off-screen Image in Java) from Java to pass to Xlib
   functions?


Moving the Mouse Pointer

   I have been unable to find any method in Java that would allow
   me to move the mouse pointer (ala XWarpPointer()) so I fear the
   only way to do it is with a native function.  Correct?

   If so, how can I get the proper Xlib Display and Drawable handles
   from Java to pass to XWarpPointer();  (None of the native call
   tutorials or examples dealt with this but I figure that it must
   known to the people that did the port.)

I am running 1.1.5v5 with libc5 if that makes a difference.

Thanks

Gary Mart
[EMAIL PROTECTED]


Reply via email to