public interface Backend
Modifier and Type | Method and Description |
---|---|
void |
beginTransform()
Begin the work on the actual transformation matrix.
|
void |
endTransform()
End the work on the actual transformation matrix, installing it as the actual
modelview matrix.
|
Point3 |
inverseTransform(double x,
double y,
double z)
Pass a point in transformed coordinates (pixels) into the reverse transform
(into graph units).
|
Point3 |
inverseTransform(Point3 p)
Transform a point in pixel units into graph units, the given point is
transformed in place and also returned.
|
void |
popTransform()
Pop the actual transformation of the matrix stack, restoring the previous one
in the stack.
|
void |
pushTransform()
Push the actual transformation on the matrix stack, installing a copy of it
on the top of the stack.
|
void |
rotate(double angle,
double ax,
double ay,
double az)
Multiply the top-most matrix by a rotation matrix.
|
void |
scale(double sx,
double sy,
double sz)
Multiply the top-most matrix by a scaling matrix.
|
void |
setAntialias(java.lang.Boolean on)
Enable or disable anti-aliasing.
|
void |
setIdentity()
Make the top-most matrix as an identity matrix.
|
void |
setQuality(java.lang.Boolean on)
Enable or disable the hi-quality mode.
|
Point3 |
transform(double x,
double y,
double z)
Transform a point in graph units into pixel units.
|
Point3 |
transform(Point3 p)
Transform a point in graph units into pixel units, the given point is
transformed in place and also returned.
|
void |
translate(double tx,
double ty,
double tz)
Multiply the to-most matrix by a translation matrix.
|
Point3 transform(double x, double y, double z)
Point3 inverseTransform(double x, double y, double z)
Point3 transform(Point3 p)
Point3 inverseTransform(Point3 p)
void pushTransform()
void beginTransform()
void setIdentity()
void translate(double tx, double ty, double tz)
void rotate(double angle, double ax, double ay, double az)
void scale(double sx, double sy, double sz)
void endTransform()
void popTransform()
void setAntialias(java.lang.Boolean on)
void setQuality(java.lang.Boolean on)