changeset 13:02112e568fee

PathData
author Frank Benoit <benoit@tionex.de>
date Fri, 25 Jan 2008 14:18:50 +0100
parents 06825fa0ae76
children d3cfc7ee5c52
files dwt/graphics/PathData.d
diffstat 1 files changed, 34 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dwt/graphics/PathData.d	Fri Jan 25 14:18:50 2008 +0100
@@ -0,0 +1,34 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2005 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
+ * Port to the D programming language:
+ *     Frank Benoit <benoit@tionex.de>
+ *******************************************************************************/
+module dwt.graphics.PathData;
+
+
+/**
+ * Instances of this class describe device-independent paths.
+ *
+ * @see Path
+ *
+ * @since 3.1
+ */
+public final class PathData {
+
+    /**
+     * The type of each point.
+     */
+    public byte[] types;
+
+    /**
+     * The points of a path.
+     */
+    public float[] points;
+}