comparison dwt/graphics/FontMetrics.d @ 259:c0d810de7093

Update SWT 3.4M7 to 3.4
author Frank Benoit <benoit@tionex.de>
date Sun, 29 Jun 2008 14:33:38 +0200
parents b6bee07cfc0b
children
comparison
equal deleted inserted replaced
257:cc1d3de0e80b 259:c0d810de7093
1 /******************************************************************************* 1 /*******************************************************************************
2 * Copyright (c) 2000, 2005 IBM Corporation and others. 2 * Copyright (c) 2000, 2008 IBM Corporation and others.
3 * All rights reserved. This program and the accompanying materials 3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0 4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at 5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html 6 * http://www.eclipse.org/legal/epl-v10.html
7 * 7 *
19 * space between rows, and average character width. 19 * space between rows, and average character width.
20 * <code>FontMetrics</code> are obtained from <code>GC</code>s 20 * <code>FontMetrics</code> are obtained from <code>GC</code>s
21 * using the <code>getFontMetrics()</code> method. 21 * using the <code>getFontMetrics()</code> method.
22 * 22 *
23 * @see GC#getFontMetrics 23 * @see GC#getFontMetrics
24 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a>
24 */ 25 */
25 public final class FontMetrics { 26 public final class FontMetrics {
26 int ascent, descent, averageCharWidth, leading, height; 27 int ascent, descent, averageCharWidth, leading, height;
27 28
28 package this() { 29 package this() {