01: /*******************************************************************************
02: * Copyright (c) 2000, 2003 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.motif;
11:
12: public class XFontStruct {
13: public int ext_data;
14: public int fid;
15: public int direction;
16: public int min_char_or_byte2;
17: public int max_char_or_byte2;
18: public int min_byte1;
19: public int max_byte1;
20: public int all_chars_exist;
21: public int default_char;
22: public int n_properties;
23: public int properties;
24: //XCharStruct min_bounds;
25: public short min_bounds_lbearing;
26: public short min_bounds_rbearing;
27: public short min_bounds_width;
28: public short min_bounds_ascent;
29: public short min_bounds_descent;
30: public short min_bounds_attributes;
31: //XCharStruct max_bounds;
32: public short max_bounds_lbearing;
33: public short max_bounds_rbearing;
34: public short max_bounds_width;
35: public short max_bounds_ascent;
36: public short max_bounds_descent;
37: public short max_bounds_attributes;
38: public int per_char;
39: public int ascent;
40: public int descent;
41: public static final int sizeof = 80;
42: }
|