Package org.lwjgl.sdl

Class SDLRect

java.lang.Object
org.lwjgl.sdl.SDLRect

public class SDLRect extends Object
  • Method Details

    • nSDL_HasRectIntersection

      public static boolean nSDL_HasRectIntersection(long A, long B)
      bool SDL_HasRectIntersection(SDL_Rect const * A, SDL_Rect const * B)
    • SDL_HasRectIntersection

      public static boolean SDL_HasRectIntersection(SDL_Rect A, SDL_Rect B)
      bool SDL_HasRectIntersection(SDL_Rect const * A, SDL_Rect const * B)
    • nSDL_GetRectIntersection

      public static boolean nSDL_GetRectIntersection(long A, long B, long result)
      bool SDL_GetRectIntersection(SDL_Rect const * A, SDL_Rect const * B, SDL_Rect * result)
    • SDL_GetRectIntersection

      public static boolean SDL_GetRectIntersection(SDL_Rect A, SDL_Rect B, SDL_Rect result)
      bool SDL_GetRectIntersection(SDL_Rect const * A, SDL_Rect const * B, SDL_Rect * result)
    • nSDL_GetRectUnion

      public static boolean nSDL_GetRectUnion(long A, long B, long result)
      bool SDL_GetRectUnion(SDL_Rect const * A, SDL_Rect const * B, SDL_Rect * result)
    • SDL_GetRectUnion

      public static boolean SDL_GetRectUnion(SDL_Rect A, SDL_Rect B, SDL_Rect result)
      bool SDL_GetRectUnion(SDL_Rect const * A, SDL_Rect const * B, SDL_Rect * result)
    • nSDL_GetRectEnclosingPoints

      public static boolean nSDL_GetRectEnclosingPoints(long points, int count, long clip, long result)
      bool SDL_GetRectEnclosingPoints(SDL_Point const * points, int count, SDL_Rect const * clip, SDL_Rect * result)
    • SDL_GetRectEnclosingPoints

      public static boolean SDL_GetRectEnclosingPoints(SDL_Point.Buffer points, @Nullable SDL_Rect clip, @Nullable SDL_Rect result)
      bool SDL_GetRectEnclosingPoints(SDL_Point const * points, int count, SDL_Rect const * clip, SDL_Rect * result)
    • nSDL_GetRectAndLineIntersection

      public static boolean nSDL_GetRectAndLineIntersection(long rect, long X1, long Y1, long X2, long Y2)
      bool SDL_GetRectAndLineIntersection(SDL_Rect const * rect, int * X1, int * Y1, int * X2, int * Y2)
    • SDL_GetRectAndLineIntersection

      public static boolean SDL_GetRectAndLineIntersection(SDL_Rect rect, IntBuffer X1, IntBuffer Y1, IntBuffer X2, IntBuffer Y2)
      bool SDL_GetRectAndLineIntersection(SDL_Rect const * rect, int * X1, int * Y1, int * X2, int * Y2)
    • nSDL_HasRectIntersectionFloat

      public static boolean nSDL_HasRectIntersectionFloat(long A, long B)
      bool SDL_HasRectIntersectionFloat(SDL_FRect const * A, SDL_FRect const * B)
    • SDL_HasRectIntersectionFloat

      public static boolean SDL_HasRectIntersectionFloat(SDL_FRect A, SDL_FRect B)
      bool SDL_HasRectIntersectionFloat(SDL_FRect const * A, SDL_FRect const * B)
    • nSDL_GetRectIntersectionFloat

      public static boolean nSDL_GetRectIntersectionFloat(long A, long B, long result)
      bool SDL_GetRectIntersectionFloat(SDL_FRect const * A, SDL_FRect const * B, SDL_FRect * result)
    • SDL_GetRectIntersectionFloat

      public static boolean SDL_GetRectIntersectionFloat(SDL_FRect A, SDL_FRect B, SDL_FRect result)
      bool SDL_GetRectIntersectionFloat(SDL_FRect const * A, SDL_FRect const * B, SDL_FRect * result)
    • nSDL_GetRectUnionFloat

      public static boolean nSDL_GetRectUnionFloat(long A, long B, long result)
      bool SDL_GetRectUnionFloat(SDL_FRect const * A, SDL_FRect const * B, SDL_FRect * result)
    • SDL_GetRectUnionFloat

      public static boolean SDL_GetRectUnionFloat(SDL_FRect A, SDL_FRect B, SDL_FRect result)
      bool SDL_GetRectUnionFloat(SDL_FRect const * A, SDL_FRect const * B, SDL_FRect * result)
    • nSDL_GetRectEnclosingPointsFloat

      public static boolean nSDL_GetRectEnclosingPointsFloat(long points, int count, long clip, long result)
      bool SDL_GetRectEnclosingPointsFloat(SDL_FPoint const * points, int count, SDL_FRect const * clip, SDL_FRect * result)
    • SDL_GetRectEnclosingPointsFloat

      public static boolean SDL_GetRectEnclosingPointsFloat(SDL_FPoint.Buffer points, @Nullable SDL_FRect clip, @Nullable SDL_FRect result)
      bool SDL_GetRectEnclosingPointsFloat(SDL_FPoint const * points, int count, SDL_FRect const * clip, SDL_FRect * result)
    • nSDL_GetRectAndLineIntersectionFloat

      public static boolean nSDL_GetRectAndLineIntersectionFloat(long rect, long X1, long Y1, long X2, long Y2)
      bool SDL_GetRectAndLineIntersectionFloat(SDL_FRect const * rect, float * X1, float * Y1, float * X2, float * Y2)
    • SDL_GetRectAndLineIntersectionFloat

      public static boolean SDL_GetRectAndLineIntersectionFloat(SDL_FRect rect, FloatBuffer X1, FloatBuffer Y1, FloatBuffer X2, FloatBuffer Y2)
      bool SDL_GetRectAndLineIntersectionFloat(SDL_FRect const * rect, float * X1, float * Y1, float * X2, float * Y2)
    • SDL_RectToFRect

      public static void SDL_RectToFRect(SDL_Rect rectInput, SDL_FRect frectOutput)
      void SDL_RectToFRect(SDL_Rect const * rect, SDL_FRect * frect)
    • SDL_PointInRect

      public static boolean SDL_PointInRect(@Nullable SDL_Point p, @Nullable SDL_Rect r)
      bool SDL_PointInRect(SDL_Point const * p, SDL_Rect const * r)
    • SDL_RectEmpty

      public static boolean SDL_RectEmpty(@Nullable SDL_Rect r)
      bool SDL_RectEmpty(SDL_Rect const * r)
    • SDL_RectsEqual

      public static boolean SDL_RectsEqual(@Nullable SDL_Rect a, @Nullable SDL_Rect b)
      bool SDL_RectsEqual(SDL_Rect const * a, SDL_Rect const * b)
    • SDL_PointInRectFloat

      public static boolean SDL_PointInRectFloat(@Nullable SDL_FPoint p, @Nullable SDL_FRect r)
      bool SDL_PointInRectFloat(SDL_FPoint const * p, SDL_FRect const * r)
    • SDL_RectEmptyFloat

      public static boolean SDL_RectEmptyFloat(@Nullable SDL_FRect r)
      bool SDL_RectEmptyFloat(SDL_FRect const * r)
    • SDL_RectsEqualEpsilon

      public static boolean SDL_RectsEqualEpsilon(@Nullable SDL_FRect a, @Nullable SDL_FRect b, float epsilon)
      bool SDL_RectsEqualEpsilon(DL_FRect const * a, SDL_FRect const * b, float epsilon)
    • SDL_RectsEqualFloat

      public static boolean SDL_RectsEqualFloat(@Nullable SDL_FRect a, @Nullable SDL_FRect b)
      bool SDL_RectsEqualFloat(SDL_FRect const * a, SDL_FRect const * b)