ImageMagick.ClipPathReader.CreatePoint C# (CSharp) Method

CreatePoint() private method

private CreatePoint ( Byte data ) : PointD[]
data Byte
return PointD[]
    private PointD[] CreatePoint(Byte[] data)
    {
      PointD[] result = new PointD[3];

      for (int i = 0; i < 3; i++)
      {
        uint yy = (uint)ByteConverter.ToInt(data, ref _Index);
        int y = (int)yy;
        if (yy > 2147483647)
          y = (int)(yy - 4294967295U - 1);

        uint xx = (uint)ByteConverter.ToInt(data, ref _Index);
        int x = (int)xx;
        if (xx > 2147483647)
          x = (int)(xx - 4294967295U - 1);

        result[i] = new PointD((double)x * _Width / 4096 / 4096, (double)y * _Height / 4096 / 4096);
      }

      return result;
    }