Example #1
0
 /// <summary>
 /// Transforms vector</summary>
 /// <param name="matrix">Matrix representing transform</param>
 /// <param name="v">Vector</param>
 /// <returns>Transformed vector</returns>
 public static PointF TransformVector(Matrix3x2F matrix, PointF v)
 {
     s_tempPtsF[0] = v;
     Matrix3x2F.TransformVector(matrix, s_tempPtsF[0]);
     return(s_tempPtsF[0]);
 }
Example #2
0
 /// <summary>
 /// Transforms vector</summary>
 /// <param name="matrix">Matrix representing transform</param>
 /// <param name="v">Vector</param>
 /// <returns>Transformed vector</returns>
 public static PointF TransformVector(Matrix3x2F matrix, PointF v)
 {
     return(Matrix3x2F.TransformVector(matrix, v));
 }