Package org.eclipse.swt.graphics

Examples of org.eclipse.swt.graphics.GC.drawPoint()


              gc.drawLine(0, 0, p.x-2, 0);
            }
            else
            {
              gc.drawLine(1, 0, 1, p.y-1);
              gc.drawPoint(0, p.y-1);
              gc.setForeground(highlight);
              gc.drawLine(0, 0, 0, p.y-2);
            }
            break;
        }
View Full Code Here


        {
          case SWT.SHADOW_IN:
            gc.setForeground(highlight);
            if(vertical)
            {
              gc.drawPoint(p.x-1, p.y-1);
              gc.setForeground(shadow);
              gc.drawLine(0, p.y-1, p.x-2, p.y-1);
            }
            else
            {
View Full Code Here

              gc.setForeground(shadow);
              gc.drawLine(0, p.y-1, p.x-2, p.y-1);
            }
            else
            {
              gc.drawPoint(p.x-1, p.y-1);
              gc.setForeground(shadow);
              gc.drawLine(p.x-1, 0, p.x-1, p.y-2);
            }
            break;
   
View Full Code Here

   
          case SWT.SHADOW_OUT:
            gc.setForeground(shadow);
            if(vertical)
            {
              gc.drawPoint(p.x-1, p.y-1);
              gc.setForeground(highlight);
              gc.drawLine(0, p.y-1, p.x-2, p.y-1);
            }
            else
            {
View Full Code Here

              gc.setForeground(highlight);
              gc.drawLine(0, p.y-1, p.x-2, p.y-1);
            }
            else
            {
              gc.drawPoint(p.x-1, p.y-1);
              gc.setForeground(highlight);
              gc.drawLine(p.x-1, 0, p.x-1, p.y-2);
            }
            break;
   
View Full Code Here

            {
              gc.drawLine(p.x-1, p.y-2, p.x-1, p.y-1);
              gc.drawLine(1, p.y-1, p.x-3, p.y-1);
              gc.setForeground(shadow);
              gc.drawLine(0, p.y-2, p.x-2, p.y-2);
              gc.drawPoint(0, p.y-1);
              gc.drawPoint(p.x-2, p.y-1);
            }
            else
            {
              gc.drawLine(p.x-2, p.y-1, p.x-1, p.y-1);
View Full Code Here

              gc.drawLine(p.x-1, p.y-2, p.x-1, p.y-1);
              gc.drawLine(1, p.y-1, p.x-3, p.y-1);
              gc.setForeground(shadow);
              gc.drawLine(0, p.y-2, p.x-2, p.y-2);
              gc.drawPoint(0, p.y-1);
              gc.drawPoint(p.x-2, p.y-1);
            }
            else
            {
              gc.drawLine(p.x-2, p.y-1, p.x-1, p.y-1);
              gc.drawLine(p.x-1, 1, p.x-1, p.y-3);
View Full Code Here

            {
              gc.drawLine(p.x-2, p.y-1, p.x-1, p.y-1);
              gc.drawLine(p.x-1, 1, p.x-1, p.y-3);
              gc.setForeground(shadow);
              gc.drawLine(p.x-2, 0, p.x-2, p.y-2);
              gc.drawPoint(p.x-1, 0);
              gc.drawPoint(p.x-1, p.y-2);
            }
            break;
   
          case SWT.SHADOW_ETCHED_OUT:
View Full Code Here

              gc.drawLine(p.x-2, p.y-1, p.x-1, p.y-1);
              gc.drawLine(p.x-1, 1, p.x-1, p.y-3);
              gc.setForeground(shadow);
              gc.drawLine(p.x-2, 0, p.x-2, p.y-2);
              gc.drawPoint(p.x-1, 0);
              gc.drawPoint(p.x-1, p.y-2);
            }
            break;
   
          case SWT.SHADOW_ETCHED_OUT:
            gc.setForeground(shadow);
View Full Code Here

            {
              gc.drawLine(p.x-1, p.y-2, p.x-1, p.y-1);
              gc.drawLine(1, p.y-1, p.x-3, p.y-1);
              gc.setForeground(highlight);
              gc.drawLine(0, p.y-2, p.x-2, p.y-2);
              gc.drawPoint(0, p.y-1);
              gc.drawPoint(p.x-2, p.y-1);
            }
            else
            {
              gc.drawLine(p.x-2, p.y-1, p.x-1, p.y-1);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.