FT_Vector_Length() 개인적인 메소드

private FT_Vector_Length ( SharpFont.FTVector &vec ) : IntPtr
vec SharpFont.FTVector
리턴 System.IntPtr
예제 #1
0
 /// <summary>
 /// Return the length of a given vector.
 /// </summary>
 /// <returns>The vector length, expressed in the same units that the original vector coordinates.</returns>
 public int Length()
 {
     return(FT.FT_Vector_Length(ref this));
 }
예제 #2
0
 /// <summary>
 /// Return the length of a given vector.
 /// </summary>
 /// <returns>The vector length, expressed in the same units that the original vector coordinates.</returns>
 public Fixed16Dot16 Length()
 {
     return(Fixed16Dot16.FromRawValue((int)FT.FT_Vector_Length(ref this)));
 }