Пример #1
0
		static CATransform3D ()
		{
			Identity = new CATransform3D ();
			Identity.m11 = 1f;
			Identity.m22 = 1f;
			Identity.m33 = 1f;
			Identity.m44 = 1f;
		}
Пример #2
0
 static CATransform3D()
 {
     Identity     = new CATransform3D();
     Identity.m11 = 1f;
     Identity.m22 = 1f;
     Identity.m33 = 1f;
     Identity.m44 = 1f;
 }
Пример #3
0
        // Scales matrix = [sx 0 0 0; 0 sy 0 0; 0 0 sz 0; 0 0 0 1]
        //[DllImport(Constants.QuartzLibrary)]
        //extern static CATransform3D CATransform3DMakeScale (float sx, float sy, float sz);
        public static CATransform3D MakeScale(float sx, float sy, float sz)
        {
            CATransform3D r = Identity;

            r.m11 = sx;
            r.m22 = sy;
            r.m33 = sz;

            return(r);
        }
Пример #4
0
        // Scales matrix = [sx 0 0 0; 0 sy 0 0; 0 0 sz 0; 0 0 0 1]
        //[DllImport(Constants.QuartzLibrary)]
        //extern static CATransform3D CATransform3DMakeScale (double sx, double sy, double sz);
        public static CATransform3D MakeScale(double sx, double sy, double sz)
        {
            CATransform3D r = Identity;

            r.m11 = sx;
            r.m22 = sy;
            r.m33 = sz;

            return(r);
        }
Пример #5
0
        // Transform matrix =  [1 0 0 0; 0 1 0 0; 0 0 1 0; tx ty tz 1]
        //[DllImport(Constants.QuartzLibrary)]
        //extern static CATransform3D CATransform3DMakeTranslation (float tx, float ty, float tz);
        public static CATransform3D MakeTranslation(float tx, float ty, float tz)
        {
            //return CATransform3DMakeTranslation (tx, ty, tz);
            CATransform3D r = Identity;

            r.m41 = tx;
            r.m42 = ty;
            r.m43 = tz;

            return(r);
        }
Пример #6
0
        // Transform matrix =  [1 0 0 0; 0 1 0 0; 0 0 1 0; tx ty tz 1]
        //[DllImport(Constants.QuartzLibrary)]
        //extern static CATransform3D CATransform3DMakeTranslation (double tx, double ty, double tz);
        public static CATransform3D MakeTranslation(double tx, double ty, double tz)
        {
            //return CATransform3DMakeTranslation (tx, ty, tz);
            CATransform3D r = Identity;

            r.m41 = tx;
            r.m42 = ty;
            r.m43 = tz;

            return(r);
        }
Пример #7
0
 extern static CATransform3D CATransform3DRotate(CATransform3D t, double angle, double x, double y, double z);
Пример #8
0
		public CATransform3D Invert (CATransform3D t)
		{
			return CATransform3DInvert (this);
		}
Пример #9
0
		extern static CATransform3D CATransform3DRotate (CATransform3D t, float angle, float x, float y, float z);
Пример #10
0
 extern static int CATransform3DEqualToTransform(CATransform3D a, CATransform3D b);
Пример #11
0
 extern static CATransform3D CATransform3DInvert(CATransform3D t);
Пример #12
0
 extern static bool CATransform3DIsAffine(CATransform3D t);
Пример #13
0
		public bool Equals (CATransform3D other)
		{
			return CATransform3DEqualToTransform (this, other) != 0;
		}
Пример #14
0
 extern static CATransform3D CATransform3DTranslate(CATransform3D t, float tx, float ty, float tz);
Пример #15
0
		extern static int CATransform3DIsIdentity (CATransform3D t);
Пример #16
0
		extern static int CATransform3DEqualToTransform (CATransform3D a, CATransform3D b);
Пример #17
0
		public CATransform3D Concat (CATransform3D b)
		{
			return CATransform3DConcat (this, b);
		}
Пример #18
0
		public extern static CGAffineTransform GetAffine (CATransform3D t);
Пример #19
0
		extern static bool CATransform3DIsAffine (CATransform3D t);
Пример #20
0
 extern static CATransform3D CATransform3DConcat(CATransform3D a, CATransform3D b);
Пример #21
0
 extern static CATransform3D CATransform3DScale(CATransform3D t, float sx, float sy, float sz);
Пример #22
0
 public CATransform3D Concat(CATransform3D b)
 {
     return(CATransform3DConcat(this, b));
 }
Пример #23
0
 extern static CATransform3D CATransform3DRotate(CATransform3D t, float angle, float x, float y, float z);
Пример #24
0
 public CATransform3D Invert(CATransform3D t)
 {
     return(CATransform3DInvert(this));
 }
Пример #25
0
		extern static CATransform3D CATransform3DScale (CATransform3D t, float sx, float sy, float sz);
Пример #26
0
 public extern static CGAffineTransform GetAffine(CATransform3D t);
Пример #27
0
		extern static CATransform3D CATransform3DConcat (CATransform3D a, CATransform3D b);
Пример #28
0
 extern static int CATransform3DIsIdentity(CATransform3D t);
Пример #29
0
 extern static CATransform3D CATransform3DTranslate(CATransform3D t, double tx, double ty, double tz);
Пример #30
0
 public bool Equals(CATransform3D other)
 {
     return(CATransform3DEqualToTransform(this, other) != 0);
 }
Пример #31
0
 extern static CATransform3D CATransform3DScale(CATransform3D t, double sx, double sy, double sz);
Пример #32
0
		extern static CATransform3D CATransform3DTranslate (CATransform3D t, float tx, float ty, float tz);
Пример #33
0
		extern static CATransform3D CATransform3DInvert (CATransform3D t);