Exemple #1
0
 public void getCoordSystem(Vector2d e0, Vector2d e1, Point2d origin) {
   skiaviewJNI.Matrix2d_getCoordSystem(
       swigCPtr,
       this,
       Vector2d.getCPtr(e0),
       e0,
       Vector2d.getCPtr(e1),
       e1,
       Point2d.getCPtr(origin),
       origin);
 }
Exemple #2
0
 public Matrix2d setCoordSystem(Vector2d e0, Vector2d e1, Point2d origin) {
   return new Matrix2d(
       skiaviewJNI.Matrix2d_setCoordSystem(
           swigCPtr,
           this,
           Vector2d.getCPtr(e0),
           e0,
           Vector2d.getCPtr(e1),
           e1,
           Point2d.getCPtr(origin),
           origin),
       false);
 }
Exemple #3
0
 public boolean offset(Vector2d vec, int segment) {
   return touchvgJNI.MgGroup_offset(swigCPtr, this, Vector2d.getCPtr(vec), vec, segment);
 }
Exemple #4
0
 public void TransformVectors(int count, Vector2d vectors) {
   skiaviewJNI.Matrix2d_TransformVectors(
       swigCPtr, this, count, Vector2d.getCPtr(vectors), vectors);
 }
Exemple #5
0
 public Matrix2d(Vector2d e0, Vector2d e1, Point2d origin) {
   this(
       skiaviewJNI.new_Matrix2d__SWIG_3(
           Vector2d.getCPtr(e0), e0, Vector2d.getCPtr(e1), e1, Point2d.getCPtr(origin), origin),
       true);
 }
Exemple #6
0
 public static Matrix2d mirroring(Point2d pnt, Vector2d dir) {
   return new Matrix2d(
       skiaviewJNI.Matrix2d_mirroring__SWIG_2(
           Point2d.getCPtr(pnt), pnt, Vector2d.getCPtr(dir), dir),
       true);
 }
Exemple #7
0
 public static Matrix2d translation(Vector2d vec) {
   return new Matrix2d(skiaviewJNI.Matrix2d_translation(Vector2d.getCPtr(vec), vec), true);
 }
Exemple #8
0
 public Matrix2d setToMirroring(Point2d pnt, Vector2d dir) {
   return new Matrix2d(
       skiaviewJNI.Matrix2d_setToMirroring__SWIG_2(
           swigCPtr, this, Point2d.getCPtr(pnt), pnt, Vector2d.getCPtr(dir), dir),
       false);
 }
Exemple #9
0
 public Matrix2d setToTranslation(Vector2d vec) {
   return new Matrix2d(
       skiaviewJNI.Matrix2d_setToTranslation(swigCPtr, this, Vector2d.getCPtr(vec), vec), false);
 }
Exemple #10
0
 public static Matrix2d coordSystem(Vector2d e0, Vector2d e1, Point2d origin) {
   return new Matrix2d(
       skiaviewJNI.Matrix2d_coordSystem__SWIG_0(
           Vector2d.getCPtr(e0), e0, Vector2d.getCPtr(e1), e1, Point2d.getCPtr(origin), origin),
       true);
 }
Exemple #11
0
 public boolean hasMirror(Vector2d reflex) {
   return skiaviewJNI.Matrix2d_hasMirror(swigCPtr, this, Vector2d.getCPtr(reflex), reflex);
 }