|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.tptp.platform.report.igc.util.internal.ComplexPath
org.eclipse.tptp.platform.report.birt).
public class ComplexPath
Complex path might be composed by the following path operator:
- move to a point
- line to a point (from last entered point)
- conic to, or draw spline with 3 controls points, last entered points plus two new
- cubic to, or draw spline with 4 controls points, last entered points plus three new
the first operator of complex path must be moveTo() one.
Event if ComplexPath is a IPath it's made of only one IPathElement.
| Field Summary | |
|---|---|
protected IAlg |
alg_
Deprecated. |
static int |
CONIC_TO
Deprecated. |
static int |
CUBIC_TO
Deprecated. |
protected int |
curr_
Deprecated. |
protected IGCDirect |
gd_
Deprecated. |
protected boolean |
give_path_element_
Deprecated. |
protected boolean |
hull_path_
Deprecated. |
protected int |
len_
Deprecated. |
static int |
LINE_TO
Deprecated. |
static int |
MOVE_TO
Deprecated. |
protected int[] |
points_
Deprecated. |
| Constructor Summary | |
|---|---|
ComplexPath()
Deprecated. Create an empty complex path. use moveTo() to start path, and any path operator to create path. |
|
ComplexPath(ComplexPath p)
Deprecated. Create a full copy of the given complex path. |
|
| Method Summary | |
|---|---|
void |
backTangent(IVector vector)
Deprecated. |
protected void |
checkSize(int nsize)
Deprecated. resize points_ array if its size is not enough to reach given size |
void |
conicTo(int x1,
int y1,
int x2,
int y2)
Deprecated. Append CONIC_TO operator to current path. |
IPathElement |
copyPathElement()
Deprecated. |
void |
cubicTo(int x1,
int y1,
int x2,
int y2,
int x3,
int y3)
Deprecated. Append CUBIC_TO operator to current path. |
void |
frontTangent(IVector vector)
Deprecated. |
boolean |
isHullPath()
Deprecated. |
void |
lineTo(int x,
int y)
Deprecated. Append LINE_TO operator to current path. |
void |
moveTo(int x,
int y)
Deprecated. Append MOVE_TO operator to current path. |
IPathElement |
nextPathElement()
Deprecated. |
boolean |
nextPoint(IPoint point)
Deprecated. |
boolean |
pathBegin(IGC gc,
IGCDirect gd)
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. |
void |
pathEnd()
Deprecated. Called to end the path, time to release any gc, gd memorized... |
void |
reset()
Deprecated. Reset current path, all operator are lost. |
void |
setHullPath(boolean b)
Deprecated. Change "hull path" mode of this complex path. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int MOVE_TO
public static final int LINE_TO
public static final int CONIC_TO
public static final int CUBIC_TO
protected int[] points_
protected int len_
protected boolean hull_path_
protected boolean give_path_element_
protected int curr_
protected IAlg alg_
protected IGCDirect gd_
| Constructor Detail |
|---|
public ComplexPath()
public ComplexPath(ComplexPath p)
| Method Detail |
|---|
public boolean isHullPath()
setHullPath()public void setHullPath(boolean b)
public void reset()
public void moveTo(int x,
int y)
public void lineTo(int x,
int y)
public void conicTo(int x1,
int y1,
int x2,
int y2)
public void cubicTo(int x1,
int y1,
int x2,
int y2,
int x3,
int y3)
protected void checkSize(int nsize)
public boolean pathBegin(IGC gc,
IGCDirect gd)
pathBegin in interface IPathpublic void pathEnd()
IPath
pathEnd in interface IPathpublic IPathElement nextPathElement()
nextPathElement in interface IPathpublic IPathElement copyPathElement()
copyPathElement in interface IPathElement
public boolean pathElementBegin(IGC gc,
IGCDirect gd)
IPathElement
pathElementBegin in interface IPathElementpublic void pathElementEnd()
IPathElement
pathElementEnd in interface IPathElementpublic boolean nextPoint(IPoint point)
nextPoint in interface IPathElementpublic void backTangent(IVector vector)
backTangent in interface IPathElementpublic void frontTangent(IVector vector)
frontTangent in interface IPathElement
|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||