コード例 #1
0
ファイル: FTVector.cs プロジェクト: yvanoff/nitrosharp
        public FTVector Rotate(Fixed16Dot16 angle)
        {
            FTVector copy = this;

            FT.FT_Vector_Rotate(ref copy, (IntPtr)angle.Value);
            return(copy);
        }
コード例 #2
0
ファイル: FTVector.cs プロジェクト: yvanoff/nitrosharp
 public FTVector(Fixed16Dot16 x, Fixed16Dot16 y)
 {
     _x = (IntPtr)x.Value;
     _y = (IntPtr)y.Value;
 }