01: /*******************************************************************************
02: * Copyright (c) 2007 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.swt.internal.win32;
11:
12: public class OUTLINETEXTMETRIC {
13: public int otmSize;
14: public byte otmFiller;
15: public byte otmPanoseNumber_bFamilyType;
16: public byte otmPanoseNumber_bSerifStyle;
17: public byte otmPanoseNumber_bWeight;
18: public byte otmPanoseNumber_bProportion;
19: public byte otmPanoseNumber_bContrast;
20: public byte otmPanoseNumber_bStrokeVariation;
21: public byte otmPanoseNumber_bArmStyle;
22: public byte otmPanoseNumber_bLetterform;
23: public byte otmPanoseNumber_bMidline;
24: public byte otmPanoseNumber_bXHeight;
25: public int otmfsSelection;
26: public int otmfsType;
27: public int otmsCharSlopeRise;
28: public int otmsCharSlopeRun;
29: public int otmItalicAngle;
30: public int otmEMSquare;
31: public int otmAscent;
32: public int otmDescent;
33: public int otmLineGap;
34: public int otmsCapEmHeight;
35: public int otmsXHeight;
36: public RECT otmrcFontBox = new RECT();
37: public int otmMacAscent;
38: public int otmMacDescent;
39: public int otmMacLineGap;
40: public int otmusMinimumPPEM;
41: public POINT otmptSubscriptSize = new POINT();
42: public POINT otmptSubscriptOffset = new POINT();
43: public POINT otmptSuperscriptSize = new POINT();
44: public POINT otmptSuperscriptOffset = new POINT();
45: public int otmsStrikeoutSize;
46: public int otmsStrikeoutPosition;
47: public int otmsUnderscoreSize;
48: public int otmsUnderscorePosition;
49: public int /*long*/otmpFamilyName;
50: public int /*long*/otmpFaceName;
51: public int /*long*/otmpStyleName;
52: public int /*long*/otmpFullName;
53: public static final int sizeof = OS.IsUnicode ? OS
54: .OUTLINETEXTMETRICW_sizeof() : OS
55: .OUTLINETEXTMETRICA_sizeof();
56: }
|