Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » how to draw a dash line with gc?
how to draw a dash line with gc? [message #462414] Tue, 11 October 2005 23:17 Go to next message
Eclipse UserFriend
gc.setLineWidth(3);
gc.setLineStyle(SWT.LINE_DASHDOTDOT);
gc.drawLine(0,0,100,100);

It doesn't work,I got a solide line yet.
:(
thanks in advance!
Re: how to draw a dash line with gc? [message #462417 is a reply to message #462414] Tue, 11 October 2005 23:35 Go to previous message
Eclipse UserFriend
very sorry,it's my fault.
I draw the line on the background with the same color of it.
"augur" <guanfeng@voipack.com> д
Previous Topic:Need help on running SWT/OpenGL demos
Next Topic:Printing on Solaris?
Goto Forum:
  


Current Time: Mon Jul 07 16:34:52 EDT 2025

Powered by FUDForum. Page generated in 0.05774 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top