public static bool EnclosePoints(SDL2Point[] points, SDL2Rect clip, out SDL2Rect result) { return EnclosePoints(ref points[0], points.Length, ref clip, out result); }
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); }
private static extern bool EnclosePoints(ref SDL2Point points, int count, ref SDL2Rect clip, out SDL2Rect result);