KickJava   Java API By Example, From Geeks To Geeks.

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


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 XImage {
15     public int width;
16     public int height;
17     public int xoffset;
18     public int format;
19     public int data;
20     public int byte_order;
21     public int bitmap_unit;
22     public int bitmap_bit_order;
23     public int bitmap_pad;
24     public int depth;
25     public int bytes_per_line;
26     public int bits_per_pixel;
27     public int red_mask;
28     public int green_mask;
29     public int blue_mask;
30     public int obdata;
31 // struct funcs {
32
public int create_image;
33         public int destroy_image;
34         public int get_pixel;
35         public int put_pixel;
36         public int sub_image;
37         public int add_pixel;
38 // } f;
39
public static final int sizeof = 88;
40 }
41
Popular Tags