diff options
author | Carolyn MacLeod | 2006-05-03 20:09:57 +0000 |
---|---|---|
committer | Carolyn MacLeod | 2006-05-03 20:09:57 +0000 |
commit | 1a7ac2b0eff847c2d315e4390f68a61b9a6cde24 (patch) | |
tree | 9506cdb368da782512ed87bf86e6c92a7baab39b | |
parent | e880a6e84e2c212aad35915a8e501a30b543c4fe (diff) | |
download | eclipse.platform.swt-1a7ac2b0eff847c2d315e4390f68a61b9a6cde24.tar.gz eclipse.platform.swt-1a7ac2b0eff847c2d315e4390f68a61b9a6cde24.tar.xz eclipse.platform.swt-1a7ac2b0eff847c2d315e4390f68a61b9a6cde24.zip |
Javadoc basher output for 3.2RC3
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/emulated/graphics/org/eclipse/swt/graphics/Path.java | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/emulated/graphics/org/eclipse/swt/graphics/Path.java b/bundles/org.eclipse.swt/Eclipse SWT/emulated/graphics/org/eclipse/swt/graphics/Path.java index db9ecbc6c5..39501c1123 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/emulated/graphics/org/eclipse/swt/graphics/Path.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/emulated/graphics/org/eclipse/swt/graphics/Path.java @@ -196,6 +196,20 @@ public void close() { if (isDisposed()) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED); } +/** + * Adds to the receiver a cubic bezier curve based on the parameters. + * + * @param cx1 the x coordinate of the first control point of the spline + * @param cy1 the y coordinate of the first control of the spline + * @param cx2 the x coordinate of the second control of the spline + * @param cy2 the y coordinate of the second control of the spline + * @param x the x coordinate of the end point of the spline + * @param y the y coordinate of the end point of the spline + * + * @exception SWTException <ul> + * <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li> + * </ul> + */ public void cubicTo(float cx1, float cy1, float cx2, float cy2, float x, float y) { if (isDisposed()) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED); } @@ -241,6 +255,17 @@ public void getCurrentPoint(float[] point) { if (point.length < 2) SWT.error(SWT.ERROR_INVALID_ARGUMENT); } +/** + * Returns a device independent representation of the receiver. + * + * @return the PathData for the receiver + * + * @exception SWTException <ul> + * <li>ERROR_GRAPHIC_DISPOSED - if the receiver has been disposed</li> + * </ul> + * + * @see PathData + */ public PathData getPathData() { if (isDisposed()) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED); return null; |