summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/XFontStruct.java
blob: 6e293e7c90dfc8083b020f4391707d75cf08d4b8 (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
/*******************************************************************************
 * Copyright (c) 2000, 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.motif;

 
public class XFontStruct {
	/** @field cast=(XExtData *) */
	public int ext_data;
	public int fid;
	public int direction;
	public int min_char_or_byte2;
	public int max_char_or_byte2;
	public int min_byte1;
	public int max_byte1;
	public int all_chars_exist;
	public int default_char;
	public int n_properties;
	/** @field cast=(XFontProp *) */
	public int properties;
	//XCharStruct min_bounds;
	/** @field accessor=min_bounds.lbearing */
	public short min_bounds_lbearing;
	/** @field accessor=min_bounds.rbearing */
	public short min_bounds_rbearing;
	/** @field accessor=min_bounds.width */
	public short min_bounds_width;
	/** @field accessor=min_bounds.ascent */
	public short min_bounds_ascent;
	/** @field accessor=min_bounds.descent */
	public short min_bounds_descent;
	/** @field accessor=min_bounds.attributes */
	public short min_bounds_attributes;
	//XCharStruct max_bounds;
	/** @field accessor=max_bounds.lbearing */
	public short max_bounds_lbearing;
	/** @field accessor=max_bounds.rbearing */
	public short max_bounds_rbearing;
	/** @field accessor=max_bounds.width */
	public short max_bounds_width;
	/** @field accessor=max_bounds.ascent */
	public short max_bounds_ascent;
	/** @field accessor=max_bounds.descent */
	public short max_bounds_descent;
	/** @field accessor=max_bounds.attributes */
	public short max_bounds_attributes;
	/** @field cast=(XCharStruct *) */
	public int per_char;
	public int ascent;
	public int descent;
	public static final int sizeof = 80;
}