blob: 9a624b38676c9e0e3ee96c0d5dcda09f6c2526ad [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2000, 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.swt.graphics;
import org.eclipse.swt.internal.gtk.*;
import org.eclipse.swt.*;
/**
* Instances of this class are descriptions of GCs in terms
* of unallocated platform-specific data fields.
* <p>
* <b>IMPORTANT:</b> This class is <em>not</em> part of the public
* API for SWT. It is marked public only so that it can be shared
* within the packages provided by SWT. It is not available on all
* platforms, and should never be called from application code.
* </p>
*/
public final class GCData {
public Device device;
public int style;
public Image image;
public int /*long*/ drawable;
public GdkColor foreground;
public GdkColor background;
public int /*long*/ font;
public int /*long*/ context;
public int /*long*/ layout;
public int /*long*/ clipRgn;
public int lineStyle = SWT.LINE_SOLID;
public boolean xorMode;
public String string;
public int stringWidth = -1;
public int stringHeight = -1;
public int drawFlags;
}