summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OUTLINETEXTMETRIC.java
blob: f37fabcf1afbbf85c68941ca5b9dce73d4177059 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/*******************************************************************************
 * Copyright (c) 2007, 2008 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.swt.internal.win32;

public class OUTLINETEXTMETRIC {
	public int otmSize;
    public byte otmFiller;
    /** @field accessor=otmPanoseNumber.bFamilyType */
	public byte otmPanoseNumber_bFamilyType;
    /** @field accessor=otmPanoseNumber.bSerifStyle */
	public byte otmPanoseNumber_bSerifStyle;
    /** @field accessor=otmPanoseNumber.bWeight */
	public byte otmPanoseNumber_bWeight;
    /** @field accessor=otmPanoseNumber.bProportion */
	public byte otmPanoseNumber_bProportion;
    /** @field accessor=otmPanoseNumber.bContrast */
	public byte otmPanoseNumber_bContrast;
    /** @field accessor=otmPanoseNumber.bStrokeVariation */
	public byte otmPanoseNumber_bStrokeVariation;
    /** @field accessor=otmPanoseNumber.bArmStyle */
	public byte otmPanoseNumber_bArmStyle;
    /** @field accessor=otmPanoseNumber.bLetterform */
	public byte otmPanoseNumber_bLetterform;
    /** @field accessor=otmPanoseNumber.bMidline */
	public byte otmPanoseNumber_bMidline;
    /** @field accessor=otmPanoseNumber.bXHeight */
	public byte otmPanoseNumber_bXHeight;
    public int otmfsSelection;
    public int otmfsType;
    public int otmsCharSlopeRise;
    public int otmsCharSlopeRun;
    public int otmItalicAngle;
    public int otmEMSquare;
    public int otmAscent;
    public int otmDescent;
    public int otmLineGap;
    public int otmsCapEmHeight;
    public int otmsXHeight;
	public RECT otmrcFontBox = new RECT();
    public int otmMacAscent;
    public int otmMacDescent;
    public int otmMacLineGap;
    public int otmusMinimumPPEM;
	public POINT otmptSubscriptSize = new POINT();
	public POINT otmptSubscriptOffset = new POINT();
	public POINT otmptSuperscriptSize = new POINT();
	public POINT otmptSuperscriptOffset = new POINT();
    public int otmsStrikeoutSize;
    public int otmsStrikeoutPosition;
    public int otmsUnderscoreSize;
    public int otmsUnderscorePosition;
    /** @field cast=(PSTR) */
	public long /*int*/ otmpFamilyName;
    /** @field cast=(PSTR) */
	public long /*int*/ otmpFaceName;
    /** @field cast=(PSTR) */
	public long /*int*/ otmpStyleName;
    /** @field cast=(PSTR) */
	public long /*int*/ otmpFullName;
    public static final int sizeof = OS.IsUnicode ? OS.OUTLINETEXTMETRICW_sizeof ():  OS.OUTLINETEXTMETRICA_sizeof ();
}