Exemplo n.º 1
0
 public static bool EnclosePoints(SDL2Point[] points, SDL2Rect clip, out SDL2Rect result)
 {
     return EnclosePoints(ref points[0], points.Length, ref clip, out result);
 }
Exemplo n.º 2
0
        public static bool EnclosePoints(SDL2Point[] points, int index, int count, SDL2Rect clip, out SDL2Rect result)
        {
            int max = (index + count) > points.Length ?
                points.Length - index : count;

            return EnclosePoints(ref points[index], max, ref clip, out result);
        }
Exemplo n.º 3
0
 private static extern bool EnclosePoints(ref SDL2Point points, int count, ref SDL2Rect clip, out SDL2Rect result);