|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use PicPoint | |
jpicedt.format.input.util | This package contains helper classes for building a parser based on the well-known RegExp scheme, yet with a strong object-oriented approach in mind. |
jpicedt.format.output.eepic | Classes (formatter, view factory,...) related to the epic/eepic content-type. |
jpicedt.format.output.latex | Classes (formatter, view factory,...) related to the LaTeX (standard) content-type. |
jpicedt.graphic | jPicEdt library core classes and packages. |
jpicedt.graphic.event | Various events used for the communication between model, view and controler, as well as to notify external receivers of changes in the document structure, appearance,... |
jpicedt.graphic.grid | Grids for PECanvas. |
jpicedt.graphic.io.formatter | Interfaces and base classes useful to implement a formatter for a given format, for instance Pstricks. |
jpicedt.graphic.model | Document structure and graphic primitives. |
jpicedt.graphic.toolkit | Controller (document editing through UI actions) |
jpicedt.graphic.view | Document appearance. |
jpicedt.ui | Some classes and interfaces that help building concrete implementation of MDIManager's. |
Uses of PicPoint in jpicedt.format.input.util |
Methods in jpicedt.format.input.util that return PicPoint | |
PicPoint |
PicPointExpression.getPicPoint()
Returns the parsed PicPoint |
Uses of PicPoint in jpicedt.format.output.eepic |
Methods in jpicedt.format.output.eepic with parameters of type PicPoint | |
protected void |
EepicFormatter.appendDashLine(StringBuffer buf,
PicPoint p1,
PicPoint p2,
double dash)
Append a \\dashline with the given points and dash value to the given buffer |
Uses of PicPoint in jpicedt.format.output.latex |
Methods in jpicedt.format.output.latex with parameters of type PicPoint | |
String |
LatexFormatter.lineToLatexString(PicPoint pt0,
PicPoint pt1,
Arrow leftArrow,
Arrow rightArrow,
double dash)
Computes a LaTeX string for a line segment, given its two end-points and decoration parameters. |
StringBuffer |
LatexFormatter.arrowToLatexString(PicPoint loc,
PicPoint dir)
Create a string representation of an arrow in the LaTeX format using \\vector's. |
Uses of PicPoint in jpicedt.graphic |
Subclasses of PicPoint in jpicedt.graphic | |
class |
PicVector
This class encapsulates a geometrical vector (ie it has absolutely no relation with java.util.Vector !). |
Methods in jpicedt.graphic that return PicPoint | |
PicPoint |
PicPoint.setCoordinates(PicPoint pt)
Set the coordinates of this point from the given point. |
PicPoint |
PicPoint.toMm(double unitLength)
Convert a PicPoint with coordinates expressed in the given unitlenth (expressed in mm), to a new PicPoint in mm coordinates. |
PicPoint |
PicPoint.toMm(double xUnit,
double yUnit)
Convert a PicPoint with coordinate expressed in the given unitlenths along X- and Y-axis (the latter being expressed in mm) to a new PicPoint in mm coordinate. |
PicPoint |
PicPoint.translate(double dx,
double dy)
translates this point by (dx,dy) |
PicPoint |
PicPoint.translate(PicPoint p)
translates this point by (p.x, p.y), ie the given point is considered as a translation vector. |
PicPoint |
PicPoint.translate(PicPoint p1,
PicPoint p2)
translates this point by (p2.x-p1.x, p2.y-p2.y), ie the given point is considered as a translation vector build from the two given points. |
PicPoint |
PicPoint.translate(PicPoint p,
double a)
translates this point by a*(p.x, p.y), ie the given point is considered as a translation vector scaled by the given double. This method proves a useful when one wants to minimize object creation, since it avoids cloning a given PicPoint, scaling it by "a", then passing it to the translate(PicPoint) method. |
PicPoint |
PicPoint.translate(PicPoint p1,
PicPoint p2,
double a)
translates this point by a*(p2.x-p1.x, p2.y-p2.y), ie the given point is considered as a translation vector build from the two given points, then scaled by the given double. |
PicPoint |
PicPoint.symmetry(PicPoint center)
Apply a central-symmetry wrt the given point |
static PicPoint |
PicPoint.symmetry(PicPoint center,
PicPoint src)
Return a new PicPoint obtained by applying a central-symmetry with the given center to the given src point. |
PicPoint |
PicPoint.scale(PicPoint ptOrg,
double sx,
double sy)
Apply a scaling transform to this point. |
PicPoint |
PicPoint.scale(PicPoint ptOrg,
double s)
Apply a scaling transform to this point. |
PicPoint |
PicPoint.scale(double ptOrgX,
double ptOrgY,
double s)
Apply a scaling transform to this point. |
PicPoint |
PicPoint.scale(double ptOrgX,
double ptOrgY,
double sx,
double sy)
Apply a scaling transform to this point. |
PicPoint |
PicPoint.rotate(PicPoint ptOrg,
double angle)
Apply a rotation of center ptOrg and the given angle in radians to this PicPoint Current implementation arranges for a very fast code if angle is Math.PI, Math.PI/2 or -Math.PI/2. |
PicPoint |
PicPoint.shear(PicPoint ptOrg,
double shx,
double shy)
Apply a shearing transform of given parameters wrt to the given origin, to this PicPoint |
PicPoint |
PicPoint.middle(PicPoint other)
Translate this point to the middle of the segment made of [this,other]. |
PicPoint |
PicPoint.project(PicPoint p1,
PicPoint p2)
Project this point onto the line joining p1 and p2. |
PicPoint |
PicPoint.project(PicPoint p1,
PicPoint p2,
PicPoint dir)
Project this point onto the line joining p1 and p2. |
static PicPoint |
PEToolKit.getDirector(PicPoint startPt,
PicPoint endPt)
Deprecated. |
static PicPoint |
PEToolKit.getDirector(PicPoint startPt,
PicPoint endPt,
PicPoint dest)
Deprecated. |
static PicPoint |
PEToolKit.getDirector(double startPtX,
double startPtY,
double endPtX,
double endPtY,
PicPoint dest)
Deprecated. |
static PicPoint |
PEToolKit.getOrthogonal(PicPoint startPt,
PicPoint endPt)
Deprecated. |
static PicPoint[] |
PEToolKit.convertCubicBezierToQuad(Point2D p1,
Point2D pCtrl1,
Point2D pCtrl2,
Point2D p2)
Given four specification points of a cubic bezier spline, returns an array of five PicPoint's containing the specification points of two quad bezier splines having the same geometry as the given curve. |
static PicPoint[] |
PEToolKit.convertQuadBezierToCubic(Point2D p1,
Point2D pCtrl,
Point2D p2)
Given the three specification points of a quad bezier spline, returns an array of PicPoint's containing the four specification points of a cubic spline having the same geometry. |
PicPoint |
PECanvas.getSheetOrigin()
|
PicPoint |
PECanvas.modelToView(PicPoint src,
PicPoint dst)
Converts a point from the model-coordinate system to the pixel-coordinate system. |
PicPoint |
PECanvas.view2Model(PicPoint src,
PicPoint dst)
Converts a point from the pixel-coordinate system to the model-coordinate system. |
PicPoint |
PageFormat.getOrgPx(double zoom)
Return (x,y) double-precision pixel-coordinates of the (0,0) model origin. |
Methods in jpicedt.graphic with parameters of type PicPoint | |
static PicVector |
PicVector.getDirector(PicPoint startPt,
PicPoint endPt)
Return a unitary vector pointing from startPt to endPt |
static PicVector |
PicVector.getDirector(PicPoint startPt,
PicPoint endPt,
PicVector dest)
Return a unitary vector pointing from startPt to endPt ; if dest is non-null, it's filled with the result and returned for convenience ; otherwise, a new PicPoint gets allocated. |
static PicVector |
PicVector.getOrthogonal(PicPoint startPt,
PicPoint endPt)
Return a UNITARY vector orthogonal to the vector pointing from startPt to endPt and built by rotating this vector CCW. |
PicPoint |
PicPoint.setCoordinates(PicPoint pt)
Set the coordinates of this point from the given point. |
PicPoint |
PicPoint.translate(PicPoint p)
translates this point by (p.x, p.y), ie the given point is considered as a translation vector. |
PicPoint |
PicPoint.translate(PicPoint p1,
PicPoint p2)
translates this point by (p2.x-p1.x, p2.y-p2.y), ie the given point is considered as a translation vector build from the two given points. |
PicPoint |
PicPoint.translate(PicPoint p,
double a)
translates this point by a*(p.x, p.y), ie the given point is considered as a translation vector scaled by the given double. This method proves a useful when one wants to minimize object creation, since it avoids cloning a given PicPoint, scaling it by "a", then passing it to the translate(PicPoint) method. |
PicPoint |
PicPoint.translate(PicPoint p1,
PicPoint p2,
double a)
translates this point by a*(p2.x-p1.x, p2.y-p2.y), ie the given point is considered as a translation vector build from the two given points, then scaled by the given double. |
PicPoint |
PicPoint.symmetry(PicPoint center)
Apply a central-symmetry wrt the given point |
static PicPoint |
PicPoint.symmetry(PicPoint center,
PicPoint src)
Return a new PicPoint obtained by applying a central-symmetry with the given center to the given src point. |
PicPoint |
PicPoint.scale(PicPoint ptOrg,
double sx,
double sy)
Apply a scaling transform to this point. |
PicPoint |
PicPoint.scale(PicPoint ptOrg,
double s)
Apply a scaling transform to this point. |
PicPoint |
PicPoint.rotate(PicPoint ptOrg,
double angle)
Apply a rotation of center ptOrg and the given angle in radians to this PicPoint Current implementation arranges for a very fast code if angle is Math.PI, Math.PI/2 or -Math.PI/2. |
PicPoint |
PicPoint.shear(PicPoint ptOrg,
double shx,
double shy)
Apply a shearing transform of given parameters wrt to the given origin, to this PicPoint |
PicPoint |
PicPoint.middle(PicPoint other)
Translate this point to the middle of the segment made of [this,other]. |
PicPoint |
PicPoint.project(PicPoint p1,
PicPoint p2)
Project this point onto the line joining p1 and p2. |
PicPoint |
PicPoint.project(PicPoint p1,
PicPoint p2,
PicPoint dir)
Project this point onto the line joining p1 and p2. |
static PicPoint |
PEToolKit.getDirector(PicPoint startPt,
PicPoint endPt)
Deprecated. |
static PicPoint |
PEToolKit.getDirector(PicPoint startPt,
PicPoint endPt,
PicPoint dest)
Deprecated. |
static PicPoint |
PEToolKit.getDirector(double startPtX,
double startPtY,
double endPtX,
double endPtY,
PicPoint dest)
Deprecated. |
static PicPoint |
PEToolKit.getOrthogonal(PicPoint startPt,
PicPoint endPt)
Deprecated. |
static PicVector |
PEToolKit.computeTangentToPath(Shape s,
PicPoint pt,
double maxDist)
Returns the tangent to the given path, computed at the path-point which is closest to the given point "pt" than the given maximum distance Return null otherwise (ie if pt is too far from the given shape). |
static int |
PEToolKit.testDistanceToPath(Shape s,
PicPoint pt,
double maxDist)
Return a positive integer if the given point "pt" lies closer to the given shape path (= stroke) than the given maximum distance ; this integer indicates which segment/quad/cubic of the path, starting from 0 (ie according to getPathIterator numbering scheme), lies at the closest distance from "pt" ; -1 otherwise. |
PicPoint |
PECanvas.modelToView(PicPoint src,
PicPoint dst)
Converts a point from the model-coordinate system to the pixel-coordinate system. |
PicPoint |
PECanvas.view2Model(PicPoint src,
PicPoint dst)
Converts a point from the pixel-coordinate system to the model-coordinate system. |
void |
PECanvas.setZoomFactor(double zoom,
PicPoint ptClick)
sets the current zoom factor to the given double, then updates various properties (model <-> view transforms, dimension, preferredSize...), finally, sources a ZoomEvent to give a chance to receiver to update their state accordingly (this may be used e.g. |
protected void |
PECanvas.fireZoomUpdate(double oldZoom,
double newZoom,
PicPoint ptClick)
Notify all listeners that have registered interest for notification on this event type. |
Uses of PicPoint in jpicedt.graphic.event |
Methods in jpicedt.graphic.event that return PicPoint | |
PicPoint |
ZoomEvent.getCenterPoint()
Return the coordinates of the point that was at the center of the canvas before the zoom changed. |
PicPoint |
PEMouseEvent.getPicPoint()
Return the coordinates of the mouse click point in model-coordinate ; returned value is NOT guaranteed to remain unchaged over time ! Make a copy if you need an immutable value (e.g. |
Constructors in jpicedt.graphic.event with parameters of type PicPoint | |
ZoomEvent(PECanvas source,
double oldZoom,
double newZoom,
PicPoint ptCenter)
a new ZoomEvent sourced from the given PECanvas |
|
PEMouseEvent(MouseEvent awtEvent,
PECanvas source,
PicPoint pt)
|
Uses of PicPoint in jpicedt.graphic.grid |
Methods in jpicedt.graphic.grid that return PicPoint | |
PicPoint |
Grid.nearestNeighbour(PicPoint srcPt,
PicPoint dstPt)
Compute the nearest-neighbour of the given src point on this grid, using the current snap-step value, and store the result in dst. |
Methods in jpicedt.graphic.grid with parameters of type PicPoint | |
PicPoint |
Grid.nearestNeighbour(PicPoint srcPt,
PicPoint dstPt)
Compute the nearest-neighbour of the given src point on this grid, using the current snap-step value, and store the result in dst. |
Uses of PicPoint in jpicedt.graphic.io.formatter |
Methods in jpicedt.graphic.io.formatter with parameters of type PicPoint | |
protected void |
XmlAttributeSet.putNameValuePair(Object name,
PicPoint pt)
Given attribute name and value, append a name/value entry to the given map |
protected void |
XmlAttributeSet.putNameValuePair(Object name,
PicPoint[] values)
Given attribute name and an array of PicPoint's, append a name/value entry to the given map. |
Uses of PicPoint in jpicedt.graphic.model |
Methods in jpicedt.graphic.model that return PicPoint | |
PicPoint |
PicText.nodeReferencePoint()
|
PicPoint |
PicText.nodeConnectionOrigin(double dx,
double dy)
|
PicPoint |
PicSmoothPolygon.getPoint(int numPoint,
PicPoint src)
Return the user-controlled point (ie a polygon point, not a bezier point) having the given index. |
protected PicPoint |
PicSmoothPolygon.getPolygonPoint(int numPoint)
Return a reference on the polygon point with the given index. |
PicPoint |
PicPsCurve.getPoint(int numPoint,
PicPoint src)
Return the user-controlled point (ie a polygon point, not a bezier point) having the given index. |
protected PicPoint |
PicPsCurve.getPolygonPoint(int numPoint)
Return a reference on the polygon point with the given index. |
PicPoint[] |
PicPsCurve.getInitialControlCurve()
Returns the 4 Bezier points of the initial prolongation of the PsCurve. |
PicPoint[] |
PicPsCurve.getFinalControlCurve()
Returns the 4 Bezier points of the final prolongation of the PsCurve. |
PicPoint |
PicParallelogram.getPoint(int numPoint,
PicPoint src)
Return the user-controlled point having the given index. |
PicPoint |
PicParallelogram.getCenter(PicPoint src)
Return the parallelogram's centre |
PicPoint |
PicNodeConnection.getEndPointA(PicPoint pt)
Returns the coordinates of the edge's end-point at node A |
PicPoint |
PicNodeConnection.getEndPointB(PicPoint pt)
Returns the coordinates of the edge's end-point at node B |
PicPoint |
PicNodeConnection.getPoint(int index,
PicPoint src)
|
PicPoint |
PicEllipse.getPoint(int numPoint,
PicPoint src)
Return the user-controlled point having the given index. |
PicPoint |
PicEllipse.getTangentAtAngleStart(PicVector pt)
Utility for computing arrow direction. |
PicPoint |
PicEllipse.getTangentAtAngleEnd(PicVector pt)
Utility for computing arrow direction. |
protected PicPoint |
PicCircleFrom3Points.getControlPoint(int i)
Returns a reference to the ith control-point in the controlPts list. |
PicPoint |
PicCircleFrom3Points.getPoint(int numPoint,
PicPoint src)
Get the coordinate of the point indexed by "numPoint" to the given value. |
PicPoint |
Element.getPoint(int index,
PicPoint src)
Return the user-controlled point having the given index. |
PicPoint |
Drawing.RootElement.getPoint(int numPoint,
PicPoint src)
return null |
PicPoint |
DefaultLeafElement.nodeReferencePoint()
|
PicPoint |
DefaultLeafElement.nodeConnectionOrigin(double dx,
double dy)
|
PicPoint |
DefaultLeafElement.getSpecificationPoint(int index,
PicPoint src)
Return the specification-point having the given index. |
protected PicPoint |
DefaultLeafElement.getSpecificationPoint(int index)
Return a reference on the specification point with the given index. |
PicPoint |
DefaultLeafElement.getPoint(int numPoint,
PicPoint src)
Return the user-controlled point having the given index. |
PicPoint |
DefaultLeafElement.getPoint(int numPoint)
Convenience call to getPoint(numPoint,null), i.e., a new Point is allocated on the fly. |
PicPoint |
BranchElement.getPoint(int numPoint,
PicPoint src)
Return the user-controlled point having the given index. |
protected PicPoint |
AbstractCurve.getSpecificationPoint(int index)
Returns a reference on the specification point with the given index. |
Methods in jpicedt.graphic.model with parameters of type PicPoint | |
void |
PicText.setPoint(int index,
PicPoint pt,
EditPointConstraint constraint)
|
PicPoint |
PicSmoothPolygon.getPoint(int numPoint,
PicPoint src)
Return the user-controlled point (ie a polygon point, not a bezier point) having the given index. |
void |
PicSmoothPolygon.rotate(PicPoint ptOrg,
double angle)
Rotate this Element by the given angle along the given point |
void |
PicSmoothPolygon.shear(PicPoint ptOrg,
double shx,
double shy)
Shear this Element by the given params wrt to the given origin |
void |
PicSmoothPolygon.setPoint(int index,
PicPoint pt,
EditPointConstraint constraint)
Set the user-controlled point with the given index to the given value. |
void |
PicSmoothPolygon.addPoint(PicPoint pt)
adds the given point at the end of this PicSmoothPolygon. |
void |
PicSmoothPolygon.addPoint(PicPoint pt,
double smoothCoeff)
adds the given point with the given smoothness-coefficient at the end of this PicSmoothPolygon. |
void |
PicSmoothPolygon.addPoint(int ptIndex,
PicPoint pt)
Adds the given polygon point at the given position, shifting ensuing point indices to the right. |
void |
PicSmoothPolygon.addPoint(int ptIndex,
PicPoint pt,
double smoothCoeff)
Adds the given polygon point at the given position, shifting ensuing point indices to the right. |
int |
PicSmoothPolygon.splitSegment(int segIdx,
PicPoint pt)
Split the given polygon segment (starting from 0), by inserting a new polygon point at the appropriate position. |
int |
PicSmoothPolygon.splitSegment(int segIdx,
PicPoint pt,
double smoothCoeff)
Split the given polygon segment (starting from 0), by inserting a new polygon point at the appropriate position. |
PicPoint |
PicPsCurve.getPoint(int numPoint,
PicPoint src)
Return the user-controlled point (ie a polygon point, not a bezier point) having the given index. |
void |
PicPsCurve.rotate(PicPoint ptOrg,
double angle)
Rotate this Element by the given angle along the given point |
void |
PicPsCurve.shear(PicPoint ptOrg,
double shx,
double shy)
Shear this Element by the given params wrt to the given origin |
void |
PicPsCurve.setPoint(int index,
PicPoint pt,
EditPointConstraint constraint)
Set the user-controlled point with the given index to the given value. |
void |
PicPsCurve.addPoint(PicPoint pt)
adds the given point at the end of this pscurve. |
void |
PicPsCurve.addPoint(int ptIndex,
PicPoint pt)
Inserts the specified point at the specified index. |
int |
PicPsCurve.splitSegment(int segIdx,
PicPoint pt)
Split the given polygon segment (starting from 0), by inserting a new polygon point at the appropriate position. |
PicPoint |
PicParallelogram.getPoint(int numPoint,
PicPoint src)
Return the user-controlled point having the given index. |
protected PicVector |
PicParallelogram.toParalleloBasisCoordinates(PicPoint ptOrg,
PicPoint ptSrc,
PicVector ptDest)
Compute the contravariant coordinate of the given point "ptSrc" along the "l2r" and "b2t" vectors of the parallelogram's basis, the origin of the basis being set at "ptOrg" This simply reduces to a contravariant change of coordinates from the cartesian basis to the (non-orthonormalized) parallelogram basis. To wind up : denoting OM = vec(ptOrg -> ptSrc), (e1,e2) the cartesian basis (ie std model-coordinates), and (x',y') the new coords in the (l2r,b2t) basis, yields : OM = x e1 + y e2 = x' l2r + y' b2t. |
void |
PicParallelogram.setPoint(int numPoint,
PicPoint pt,
EditPointConstraint constraint)
Set the coordinate of the control-point indexed by "numPoint" to the given value. |
PicPoint |
PicParallelogram.getCenter(PicPoint src)
Return the parallelogram's centre |
void |
PicParallelogram.rotate(PicPoint ptOrg,
double angle)
Rotate this Element by the given angle along the given point |
void |
PicParallelogram.shear(PicPoint ptOrg,
double shx,
double shy)
Shear this Element by the given params wrt to the given origin |
PicPoint |
PicNodeConnection.getEndPointA(PicPoint pt)
Returns the coordinates of the edge's end-point at node A |
PicPoint |
PicNodeConnection.getEndPointB(PicPoint pt)
Returns the coordinates of the edge's end-point at node B |
PicPoint |
PicNodeConnection.getPoint(int index,
PicPoint src)
|
void |
PicNodeConnection.setPoint(int index,
PicPoint pt)
|
void |
PicNodeConnection.setPoint(int index,
PicPoint pt,
EditPointConstraint constraint)
|
void |
PicNodeConnection.rotate(PicPoint ptOrg,
double angle)
Rotate this Element by the given angle along the given point |
void |
PicNodeConnection.shear(PicPoint ptOrg,
double shx,
double shy)
Shear this Element by the given params wrt to the given origin |
void |
PicMultiCurve.setPoint(int index,
PicPoint pt,
EditPointConstraint constraint)
Set the coordinates of a Bezier point having the given index to the given location, possibly moving other control-points according to the given constraint. |
void |
PicMultiCurve.addPoint(PicPoint pt)
Adds a new subdivision point to the end of this curve. |
void |
PicMultiCurve.curveTo(PicPoint ptCtrl1,
PicPoint ptCtrl2,
PicPoint ptEnd)
If this curve if OPEN and NON-EMPTY, adds the given points (2 control points and an endpoint) to the end of the curve, then fire a GEOMETRY_CHANGE event. If the curve is closed, you should use splitSegment instead, since this method does nothing
in this case ;-) |
int |
PicMultiCurve.splitSegment(int seg_idx,
PicPoint pt)
Adds a new point to a (maybe curved) segment then fires a changed-update. |
void |
PicGroup.setPoint(int numPoint,
PicPoint ptNew,
EditPointConstraint constraint)
Set the point numbered by "numPoint" to the "pt" value, and scales inward object accordingly |
void |
PicEllipse.setPoint(int numPoint,
PicPoint pt,
EditPointConstraint constraint)
Set the coordinate of the point indexed by "numPoint" to the given value. |
PicPoint |
PicEllipse.getPoint(int numPoint,
PicPoint src)
Return the user-controlled point having the given index. |
void |
PicEllipse.rotate(PicPoint ptOrg,
double angle)
Rotate this Element by the given angle along the given point |
void |
PicEllipse.shear(PicPoint ptOrg,
double shx,
double shy)
Shear this Element by the given params wrt to the given origin |
protected void |
PicCircleFrom3Points.setControlPoint(int i,
PicPoint pt)
Set the coordinates of ith control-point from the given point. |
void |
PicCircleFrom3Points.setPoint(int numPoint,
PicPoint pt,
EditPointConstraint c)
Set the coordinate of the point indexed by "numPoint" to the given value. |
PicPoint |
PicCircleFrom3Points.getPoint(int numPoint,
PicPoint src)
Get the coordinate of the point indexed by "numPoint" to the given value. |
void |
PicCircleFrom3Points.rotate(PicPoint ptOrg,
double angle)
Rotate this Element by the given angle along the given point |
void |
PicCircleFrom3Points.shear(PicPoint ptOrg,
double shx,
double shy)
Shear this Element by the given params wrt to the given origin |
PicPoint |
Element.getPoint(int index,
PicPoint src)
Return the user-controlled point having the given index. |
void |
Element.setPoint(int index,
PicPoint pt)
Deprecated. Use setPoint(int, PicPoint, EditPointConstraint) |
void |
Element.setPoint(int index,
PicPoint pt,
EditPointConstraint constraint)
Set the user-controlled point indexed by "index" to the given value, using the specified geometrical constraint. |
void |
Element.scale(PicPoint ptOrg,
double sx,
double sy)
Scale this object by (sx,sy) using ptOrg as origin sx and sy may be negative. |
void |
Element.rotate(PicPoint ptOrg,
double angle)
Rotate this Element by the given angle along the given point |
void |
Element.shear(PicPoint ptOrg,
double shx,
double shy)
Shear this Element by the given params wrt to the given origin |
PicPoint |
Drawing.RootElement.getPoint(int numPoint,
PicPoint src)
return null |
void |
Drawing.RootElement.setPoint(int numPoint,
PicPoint src)
Deprecated. use setPoint(int, PicPoint, EditPointConstraint) instead |
void |
Drawing.RootElement.setPoint(int numPoint,
PicPoint src,
EditPointConstraint c)
does nothing |
PicPoint |
DefaultLeafElement.getSpecificationPoint(int index,
PicPoint src)
Return the specification-point having the given index. |
PicPoint |
DefaultLeafElement.getPoint(int numPoint,
PicPoint src)
Return the user-controlled point having the given index. |
void |
DefaultLeafElement.setPoint(int index,
PicPoint pt)
Deprecated. use setPoint(index,pt,constraint) instead |
void |
DefaultLeafElement.setPoint(int index,
PicPoint pt,
EditPointConstraint constraint)
Set the user-controlled point indexed by "index" to the given value, using the specified geometrical constraint. |
protected void |
DefaultLeafElement.setSpecificationPoint(int index,
PicPoint pt)
set the specification point with the given index to the given location. |
void |
DefaultLeafElement.rotate(PicPoint ptOrg,
double angle)
Rotate this Element by the given angle along the given point |
void |
DefaultLeafElement.shear(PicPoint ptOrg,
double shx,
double shy)
Shear this Element by the given params wrt to the given origin |
PicPoint |
BranchElement.getPoint(int numPoint,
PicPoint src)
Return the user-controlled point having the given index. |
void |
BranchElement.setPoint(int index,
PicPoint pt)
Deprecated. use setPoint(int, PicPoint, EditPointConstraint) instead. |
void |
BranchElement.setPoint(int numPoint,
PicPoint pt,
EditPointConstraint c)
Set the point indexed by "numPoint" to the given value. |
void |
BranchElement.scale(PicPoint ptOrg,
double sx,
double sy)
Scale children by (sx,sy) using ptOrg as origin ; sx and sy can be negative. |
void |
BranchElement.rotate(PicPoint ptOrg,
double angle)
Rotate this Element by the given angle along the given point |
void |
BranchElement.shear(PicPoint ptOrg,
double shx,
double shy)
Shear this Element by the given params wrt to the given origin |
void |
Arrow.paint(Graphics2D g,
double linewidth,
PicPoint loc,
PicPoint dir)
Paints this arrow. |
void |
Arrow.paint(Graphics2D g,
double linewidth,
double locX,
double locY,
PicPoint dir)
Paints this arrow (this implementation does nothing) |
void |
AbstractElement.scale(PicPoint ptOrg,
double sx,
double sy)
Scale this object by (sx,sy) using ptOrg as origin sx and sy can be negative. |
void |
AbstractCurve.setPoint(int index,
PicPoint pt,
EditPointConstraint c)
Set the coordinates of the Bezier point with the given index to the given location, but doesn't fire any DrawingEvent. |
abstract void |
AbstractCurve.addPoint(PicPoint pt)
Adds the given point to the end of this curve. |
abstract int |
AbstractCurve.splitSegment(int index,
PicPoint pt)
Split the segment having the given index. |
void |
AbstractCurve.curveTo(PicPoint ptCtrl1,
PicPoint ptCtrl2,
PicPoint ptEnd)
If this curve if OPEN and NON-EMPTY, adds the given points (2 control points and an endpoint) to the end of the curve. If the curve is closed, use splitSegment instead. |
void |
AbstractCurve.lineTo(PicPoint pt)
Adds a STRAIGHT segment to the end of this curve, i.e. |
int |
AbstractCurve.splitSegment(int seg,
PicPoint ptleft,
PicPoint pt,
PicPoint ptright)
Split a segment (either straight or curved) at a given point using two additionnal control points given as parameters. |
Constructors in jpicedt.graphic.model with parameters of type PicPoint | |
TextEditable(String textString,
PicPoint anchorPoint,
PicAttributeSet set)
Construct a new TextEditable with the given content and attribute set |
|
TextEditable(String textString,
PicPoint anchorPoint)
Construct a new TextEditable with the given content and a default attribute set |
|
PicText(PicPoint ptA,
String textString,
PicAttributeSet set)
Create a new PicText object with the whole bunch of parameters ! |
|
PicText(PicPoint ptA,
PicAttributeSet set)
Creates a PicText object with the following default values : empty string, frame and alignment according to the attribute set |
|
PicSmoothPolygon(PicPoint[] polyPts,
boolean closed,
double smoothCoeff,
PicAttributeSet set)
Create a new smooth polygon initialized from the given array of PicPoint's. |
|
PicSmoothPolygon(PicPoint[] polygonPts,
boolean closed,
double[] smoothCoeffs,
PicAttributeSet set)
Create a new smooth polygon initialized from the given array of PicPoint's, using the given array of smoothness values. |
|
PicSmoothPolygon(PicPoint[] polygonPts,
boolean closed,
PicAttributeSet set)
Create a new smooth polygon initialized from the given array of PicPoint's, using the default smoothness value. |
|
PicPsCurve(PicPoint[] polyPts,
boolean closed,
double a,
double b,
double c,
PicAttributeSet set)
Create a new pscurve initialized from the given array of PicPoint's. |
|
PicPsCurve(PicPoint[] polygonPts,
boolean closed,
PicAttributeSet set)
Create a new pscurve initialized from the given array of PicPoint's, using the default curvature values. |
|
PicParallelogram(PicPoint pt1,
PicPoint pt2,
PicPoint pt3)
Create a new PicParallelogram object using the 3 given points as 3 consecutive points of the parallelogram, and a default attribute set. |
|
PicParallelogram(PicPoint pt1,
PicPoint pt2,
PicPoint pt3,
PicAttributeSet set)
Create a new PicParallelogram object using the 3 given points as 3 consecutive points of the parallelogram. |
|
PicParallelogram(PicPoint pt1,
PicPoint pt3)
Create a new rectangle with axes parallel to X- and Y-axes, using the 2 given points to build the diagonal, and a default attribute set. |
|
PicParallelogram(PicPoint pt,
PicAttributeSet set)
Create a new PicParallelogram reduced to a point located at the given position |
|
PicMultiCurve(PicPoint pt1)
Create a new open multi curve reduced to the given point, and a default attribute set. |
|
PicMultiCurve(PicPoint pt1,
PicAttributeSet set)
Create a new open multi curve reduced to the given point, and the given attribute set |
|
PicMultiCurve(PicPoint pt1,
PicPoint pt2)
Create a new line, i.e. |
|
PicMultiCurve(PicPoint pt1,
PicPoint pt2,
PicAttributeSet set)
Create a new straight open multi curve with the two given points, and the given attribute set. |
|
PicMultiCurve(PicPoint pt1,
PicPoint ctrl1,
PicPoint ctrl2,
PicPoint pt2)
Create an open single cubic bezier curve from the four given points, and a default attribute set |
|
PicMultiCurve(PicPoint[] pts,
PicAttributeSet set)
Create a new multi-curve filled with the given array of PicPoint's, each segment being a curved Bezier segment. |
|
PicEllipse(PicPoint p1,
PicPoint p2,
PicPoint p3,
int closure,
PicAttributeSet set)
Create a new PicEllipse object using the 3 given points as 3 consecutive points of the surrounding parallelogram, and the given attribute set. |
|
PicEllipse(PicPoint p1,
PicPoint p2,
PicPoint p3,
int closure)
Create a new PicEllipse object using the 3 given points as 3 consecutive points of the surrounding parallelogram, and a default attribute set. |
|
PicCircleFrom3Points(PicPoint pt1,
PicPoint pt2,
PicPoint pt3,
PicAttributeSet set)
Create a new circle whose geometry is specificed by the the 3 given points, and with the given attribute set. |
|
PicCircleFrom3Points(PicPoint pt1,
PicPoint pt2,
PicPoint pt3,
boolean plain,
int closure,
PicAttributeSet set)
Create a new arc or circle whose geometry is specified by the 3 given points, and with the given attribute set. |
Uses of PicPoint in jpicedt.graphic.toolkit |
Constructors in jpicedt.graphic.toolkit with parameters of type PicPoint | |
EditElementMouseTransformFactory._MoveElementTransform(BranchElement target,
int anchorChildIndex,
PicPoint clickPt,
Grid grid)
|
|
EditElementMouseTransformFactory._MoveElementTransform(Element target,
PicPoint clickPt,
Grid grid)
|
|
EditElementMouseTransformFactory.MoveElementTransform(BranchElement target,
int anchorChildIndex,
PicPoint clickPt,
Grid grid)
|
|
EditElementMouseTransformFactory.MoveElementTransform(Element target,
PicPoint clickPt,
Grid grid)
|
Uses of PicPoint in jpicedt.graphic.view |
Fields in jpicedt.graphic.view declared as PicPoint | |
protected PicPoint |
DefaultViewFactory.EllipseView.arrowStartDir
|
protected PicPoint |
DefaultViewFactory.EllipseView.arrowEndDir
|
protected PicPoint |
DefaultViewFactory.EllipseView.ptAngleEnd
|
protected PicPoint |
DefaultViewFactory.EllipseView.ptAngleStart
|
protected PicPoint |
DefaultViewFactory.AbstractCurveView.arrow1Loc
|
protected PicPoint |
DefaultViewFactory.AbstractCurveView.arrow2Loc
|
protected PicPoint |
DefaultViewFactory.PicNodeConnectionView.arrow1Loc
|
protected PicPoint |
DefaultViewFactory.PicNodeConnectionView.arrow2Loc
|
protected PicPoint |
DefaultHighlighterFactory.DefaultHighlighter.ptBuffer
buffer used by paint only ; may be safely used by subclasses as well |
Uses of PicPoint in jpicedt.ui |
Methods in jpicedt.ui with parameters of type PicPoint | |
void |
PEDrawingBoard.StatusBar.showCoord(PicPoint pt)
Displays current mouse coordinates |
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |