summaryrefslogtreecommitdiff
path: root/canvas/source/java
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2005-04-18 08:08:28 +0000
committerOliver Bolte <obo@openoffice.org>2005-04-18 08:08:28 +0000
commit46f1018120067ea8a57bebc41d183a9017c78156 (patch)
tree495c1316ad2cf5ab88f626ed89fe9c7b0544cc6f /canvas/source/java
parent963c9c4e00f42ec0e096966a4f9f562cbe2c1922 (diff)
INTEGRATION: CWS presfixes03 (1.3.4); FILE MERGED
2005/04/03 19:19:01 thb 1.3.4.1: #i39245# Adaptions to changed bezier API
Diffstat (limited to 'canvas/source/java')
-rw-r--r--canvas/source/java/BezierPolyPolygon.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/canvas/source/java/BezierPolyPolygon.java b/canvas/source/java/BezierPolyPolygon.java
index 5e034bb0daf6..9b90d31098d8 100644
--- a/canvas/source/java/BezierPolyPolygon.java
+++ b/canvas/source/java/BezierPolyPolygon.java
@@ -83,7 +83,7 @@ public class BezierPolyPolygon
public BezierPolyPolygon( RealBezierSegment2D[][] points )
{
- setPoints( points, 0, 0 );
+ setBezierSegments( points, 0 );
}
public java.awt.geom.GeneralPath getJavaPath()
@@ -144,25 +144,25 @@ public class BezierPolyPolygon
// XBezierPolyPolygon implementation
// =================================
//
- public RealBezierSegment2D[][] getPoints( int nPolygonIndex, int nNumberOfPolygons, int nPointIndex, int nNumberOfPoints )
+ public RealBezierSegment2D[][] getBezierSegments( int nPolygonIndex, int nNumberOfPolygons, int nPointIndex, int nNumberOfPoints )
{
return null;
}
- public void setPoints( RealBezierSegment2D[][] points, int nPolygonIndex, int nPointIndex )
+ public void setBezierSegments( RealBezierSegment2D[][] points, int nPolygonIndex )
{
- if( nPolygonIndex != 0 || nPointIndex != 0 )
+ if( nPolygonIndex != 0 )
CanvasUtils.printLog( "LinePolyPolygon.setPoints: subset not yet implemented!" );
path = CanvasUtils.makeGenPathFromBezierPoints( points );
}
- public RealBezierSegment2D getPoint( int nPolygonIndex, int nPointIndex )
+ public RealBezierSegment2D getBezierSegment( int nPolygonIndex, int nPointIndex )
{
return null;
}
- public void setPoint( RealBezierSegment2D point, int nPolygonIndex, int nPointIndex )
+ public void setBezierSegment( RealBezierSegment2D point, int nPolygonIndex, int nPointIndex )
{
CanvasUtils.printLog( "LinePolyPolygon.setPoint: not yet implemented!" );
}