Package org.eclipse.swt.graphics

Examples of org.eclipse.swt.graphics.Rectangle.intersect()


        Assert.isLegal(false);
        return null;
    }

    // Don't return negative areas if the subjectArea overlaps with the monitor bounds.
    area.intersect(bounds);
    return area;
  }
 
  /**
   * Checks whether a control of the given size at the given location would be completely visible
View Full Code Here


        Assert.isLegal(false);
        return null;
    }

    // Don't return negative areas if the subjectArea overlaps with the monitor bounds.
    area.intersect(bounds);
    return area;
  }

  /**
   * Checks whether a control of the given size at the given location would be completely visible
View Full Code Here

     * @param rect
     *            the rectangle
     */
    public void invalidate(Rectangle rect) {
        Rectangle r = getClientArea();
        r.intersect(rect);
        redrawSpecial(new RedrawTarget(r));
    }

    /**
     * @return a new {@link LayoutContext}
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.