1 11 package org.eclipse.swt.graphics; 12 13 14 import org.eclipse.swt.*; 15 import org.eclipse.swt.internal.win32.*; 16 17 27 28 public final class GCData { 29 public Device device; 30 public int style, state = -1; 31 public int foreground = -1; 32 public int background = -1; 33 public int hFont; 34 public Pattern foregroundPattern; 35 public Pattern backgroundPattern; 36 public int lineStyle = SWT.LINE_SOLID; 37 public float lineWidth; 38 public int lineCap = SWT.CAP_FLAT; 39 public int lineJoin = SWT.JOIN_MITER; 40 public float lineDashesOffset; 41 public float[] lineDashes; 42 public float lineMiterLimit = 10; 43 public int alpha = 0xFF; 44 public int uiState = 0; 45 46 public Image image; 47 public int hPen, hOldPen; 48 public int hBrush, hOldBrush; 49 public int hNullBitmap; 50 public int hwnd; 51 public PAINTSTRUCT ps; 52 public int layout = -1; 53 public int gdipGraphics; 54 public int gdipPen; 55 public int gdipBrush; 56 public int gdipFgBrush; 57 public int gdipBgBrush; 58 public int gdipFont; 59 public float gdipXOffset, gdipYOffset; 60 } 61 | Popular Tags |