TPTP 4.5.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.report.igc.internal
Interface IPathElement

All Known Implementing Classes:
Circle, ComplexPath, Ellipse, Oval, PolygonSpline3, Segment, Spline, Spline3, Spline4, SplineN

Deprecated. As of TPTP 4.5.0, use the TPTP Business Intelligence and Reporting Tools (BIRT) reporting infrastructure (org.eclipse.tptp.platform.report.birt).

public interface IPathElement

IPathElement is an atomic element of an IPath. IPathElement provide access to each points of path element. In addition for current point, user can access to back and front tangent at this point. For majority of path back and front tangent are equals, but for other both value can differ meaning path changing it slope with a discontinuity.


Method Summary
 void backTangent(IVector vector)
          Deprecated.  
 IPathElement copyPathElement()
          Deprecated.  
 void frontTangent(IVector vector)
          Deprecated.  
 boolean nextPoint(IPoint point)
          Deprecated.  
 boolean pathElementBegin(IGC gc, IGCDirect gd)
          Deprecated. Called before any nextPoint(), used to initialize path before accessing to points.
 void pathElementEnd()
          Deprecated. Called after any startPath, to declare, gc won't use this path until it call startPath.
 

Method Detail

copyPathElement

IPathElement copyPathElement()
Deprecated. 
Returns:
a new (not shared memory) path element

pathElementBegin

boolean pathElementBegin(IGC gc,
                         IGCDirect gd)
Deprecated. 
Called before any nextPoint(), used to initialize path before accessing to points.

Returns:
true if path have points, false otherwise.

pathElementEnd

void pathElementEnd()
Deprecated. 
Called after any startPath, to declare, gc won't use this path until it call startPath.


nextPoint

boolean nextPoint(IPoint point)
Deprecated. 
Returns:
true if path have point with next point coordinates (device coordinates). point must not be null. return false if there are no more points.

backTangent

void backTangent(IVector vector)
Deprecated. 

frontTangent

void frontTangent(IVector vector)
Deprecated. 

TPTP 4.5.0 Platform Project
Internal API Specification