FT_Vector_Length() private method

private FT_Vector_Length ( SharpFont.FTVector &vec ) : IntPtr
vec SharpFont.FTVector
return System.IntPtr
Ejemplo n.º 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));
 }
Ejemplo n.º 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)));
 }