comparison dwt/graphics/GCData.d @ 240:ce446666f5a2

Update to SWT 3.4M7
author Frank Benoit <benoit@tionex.de>
date Mon, 12 May 2008 19:13:01 +0200
parents 380bad9f6852
children c0d810de7093
comparison
equal deleted inserted replaced
239:06a1f6829310 240:ce446666f5a2
17 import dwt.internal.gtk.OS; 17 import dwt.internal.gtk.OS;
18 import dwt.DWT; 18 import dwt.DWT;
19 import dwt.graphics.Device; 19 import dwt.graphics.Device;
20 import dwt.graphics.Pattern; 20 import dwt.graphics.Pattern;
21 import dwt.graphics.Image; 21 import dwt.graphics.Image;
22 import dwt.graphics.Font;
22 23
23 /** 24 /**
24 * Instances of this class are descriptions of GCs in terms 25 * Instances of this class are descriptions of GCs in terms
25 * of unallocated platform-specific data fields. 26 * of unallocated platform-specific data fields.
26 * <p> 27 * <p>
33 public final class GCData { 34 public final class GCData {
34 public Device device; 35 public Device device;
35 public int style, state = -1; 36 public int style, state = -1;
36 public GdkColor* foreground; 37 public GdkColor* foreground;
37 public GdkColor* background; 38 public GdkColor* background;
38 public PangoFontDescription* font; 39 public Font font;
39 public Pattern foregroundPattern; 40 public Pattern foregroundPattern;
40 public Pattern backgroundPattern; 41 public Pattern backgroundPattern;
41 public GdkRegion* clipRgn; 42 public GdkRegion* clipRgn;
42 public float lineWidth; 43 public float lineWidth;
43 public int lineStyle = DWT.LINE_SOLID; 44 public int lineStyle = DWT.LINE_SOLID;
61 public double[] clippingTransform; 62 public double[] clippingTransform;
62 public String str; 63 public String str;
63 public int stringWidth = -1; 64 public int stringWidth = -1;
64 public int stringHeight = -1; 65 public int stringHeight = -1;
65 public int drawFlags; 66 public int drawFlags;
67 public bool realDrawable;
68 public int width = -1, height = -1;
66 } 69 }
67 70