KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > swt > internal > motif > XFontStruct


1 /*******************************************************************************
2  * Copyright (c) 2000, 2003 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.swt.internal.motif;
12
13  
14 public class XFontStruct {
15     public int ext_data;
16     public int fid;
17     public int direction;
18     public int min_char_or_byte2;
19     public int max_char_or_byte2;
20     public int min_byte1;
21     public int max_byte1;
22     public int all_chars_exist;
23     public int default_char;
24     public int n_properties;
25     public int properties;
26     //XCharStruct min_bounds;
27
public short min_bounds_lbearing;
28     public short min_bounds_rbearing;
29     public short min_bounds_width;
30     public short min_bounds_ascent;
31     public short min_bounds_descent;
32     public short min_bounds_attributes;
33     //XCharStruct max_bounds;
34
public short max_bounds_lbearing;
35     public short max_bounds_rbearing;
36     public short max_bounds_width;
37     public short max_bounds_ascent;
38     public short max_bounds_descent;
39     public short max_bounds_attributes;
40     public int per_char;
41     public int ascent;
42     public int descent;
43     public static final int sizeof = 80;
44 }
45
Popular Tags