blob: 6e293e7c90dfc8083b020f4391707d75cf08d4b8 [file] [log] [blame]
/*******************************************************************************
* 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;
}