Bug 100688 [JFace] Geometry.setLocation does not behave as documented
Geometry.setLocation incorrectly modifies the size of the rectangle, when it should modify the origin.
bundles/org.eclipse.jface/src/org/eclipse/jface/util/Geometry.java
}
    
    /**
     * Sets result equal to toCopy
     * 
     * @param result object that will be modified
     * @param toCopy object that will be copied
     * @since 3.1
     */
    public static void set(Rectangle result, Rectangle toCopy) {
    	result.x = toCopy.x;
    	result.y = toCopy.y;
    	result.width = toCopy.width;
    	result.height = toCopy.height;
    }
    /**
     * <p>Returns a new difference Rectangle whose x, y, width, and height are equal to the difference of the corresponding
     * attributes from the given rectangles</p>
     * 
     * <p></p>
     * <b>Example: Compute the margins for a given Composite, and apply those same margins to a new GridLayout</b>
     * 
     * <code><pre>      
     *      // Compute the client area, in the coordinate system of the input composite's parent  
     *      Rectangle clientArea = Display.getCurrent().map(inputComposite, 
     *      	inputComposite.getParent(), inputComposite.getClientArea());
     *      
     *      // Compute the margins for a given Composite by subtracting the client area from the composite's bounds
     *      Rectangle margins = Geometry.subtract(inputComposite.getBounds(), clientArea);
     *