01: /**********************************************************************
02: * Copyright (c) 2003, 2006 IBM Corp.
03: * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
04: *
05: * All rights reserved. This program and the accompanying materials
06: * are made available under the terms of the Eclipse Public License v1.0
07: * which accompanies this distribution, and is available at
08: * http://www.eclipse.org/legal/epl-v10.html
09: *
10: * Contributors:
11: * IBM Corporation - initial API and implementation
12: **********************************************************************/package org.eclipse.swt.internal.carbon;
13:
14: public class ATSFontMetrics {
15: public int version;
16: public float ascent;
17: public float descent;
18: public float leading;
19: public float avgAdvanceWidth;
20: public float maxAdvanceWidth;
21: public float minLeftSideBearing;
22: public float minRightSideBearing;
23: public float stemWidth;
24: public float stemHeight;
25: public float capHeight;
26: public float xHeight;
27: public float italicAngle;
28: public float underlinePosition;
29: public float underlineThickness;
30: public static final int sizeof = 60;
31: }
|