Package org.lwjgl.sdl
Class SDLRect
java.lang.Object
org.lwjgl.sdl.SDLRect
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classContains the function pointers loaded fromSDL.getLibrary(). -
Method Summary
Modifier and TypeMethodDescriptionstatic booleannSDL_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)static booleannSDL_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)static booleannSDL_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)static booleannSDL_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)static booleannSDL_GetRectIntersection(long A, long B, long result) bool SDL_GetRectIntersection(SDL_Rect const * A, SDL_Rect const * B, SDL_Rect * result)static booleannSDL_GetRectIntersectionFloat(long A, long B, long result) bool SDL_GetRectIntersectionFloat(SDL_FRect const * A, SDL_FRect const * B, SDL_FRect * result)static booleannSDL_GetRectUnion(long A, long B, long result) bool SDL_GetRectUnion(SDL_Rect const * A, SDL_Rect const * B, SDL_Rect * result)static booleannSDL_GetRectUnionFloat(long A, long B, long result) bool SDL_GetRectUnionFloat(SDL_FRect const * A, SDL_FRect const * B, SDL_FRect * result)static booleannSDL_HasRectIntersection(long A, long B) bool SDL_HasRectIntersection(SDL_Rect const * A, SDL_Rect const * B)static booleannSDL_HasRectIntersectionFloat(long A, long B) bool SDL_HasRectIntersectionFloat(SDL_FRect const * A, SDL_FRect const * B)static booleanSDL_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)static booleanSDL_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)static booleanSDL_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)static booleanSDL_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)static booleanSDL_GetRectIntersection(SDL_Rect A, SDL_Rect B, SDL_Rect result) bool SDL_GetRectIntersection(SDL_Rect const * A, SDL_Rect const * B, SDL_Rect * result)static booleanSDL_GetRectIntersectionFloat(SDL_FRect A, SDL_FRect B, SDL_FRect result) bool SDL_GetRectIntersectionFloat(SDL_FRect const * A, SDL_FRect const * B, SDL_FRect * result)static booleanSDL_GetRectUnion(SDL_Rect A, SDL_Rect B, SDL_Rect result) bool SDL_GetRectUnion(SDL_Rect const * A, SDL_Rect const * B, SDL_Rect * result)static booleanSDL_GetRectUnionFloat(SDL_FRect A, SDL_FRect B, SDL_FRect result) bool SDL_GetRectUnionFloat(SDL_FRect const * A, SDL_FRect const * B, SDL_FRect * result)static booleanbool SDL_HasRectIntersection(SDL_Rect const * A, SDL_Rect const * B)static booleanbool SDL_HasRectIntersectionFloat(SDL_FRect const * A, SDL_FRect const * B)static booleanSDL_PointInRect(@Nullable SDL_Point p, @Nullable SDL_Rect r) bool SDL_PointInRect(SDL_Point const * p, SDL_Rect const * r)static booleanSDL_PointInRectFloat(@Nullable SDL_FPoint p, @Nullable SDL_FRect r) bool SDL_PointInRectFloat(SDL_FPoint const * p, SDL_FRect const * r)static booleanSDL_RectEmpty(@Nullable SDL_Rect r) bool SDL_RectEmpty(SDL_Rect const * r)static booleanSDL_RectEmptyFloat(@Nullable SDL_FRect r) bool SDL_RectEmptyFloat(SDL_FRect const * r)static booleanSDL_RectsEqual(@Nullable SDL_Rect a, @Nullable SDL_Rect b) bool SDL_RectsEqual(SDL_Rect const * a, SDL_Rect const * b)static booleanSDL_RectsEqualEpsilon(@Nullable SDL_FRect a, @Nullable SDL_FRect b, float epsilon) bool SDL_RectsEqualEpsilon(DL_FRect const * a, SDL_FRect const * b, float epsilon)static booleanSDL_RectsEqualFloat(@Nullable SDL_FRect a, @Nullable SDL_FRect b) bool SDL_RectsEqualFloat(SDL_FRect const * a, SDL_FRect const * b)static voidSDL_RectToFRect(SDL_Rect rectInput, SDL_FRect frectOutput) void SDL_RectToFRect(SDL_Rect const * rect, SDL_FRect * frect)
-
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
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
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
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
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
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
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
void SDL_RectToFRect(SDL_Rect const * rect, SDL_FRect * frect) -
SDL_PointInRect
bool SDL_PointInRect(SDL_Point const * p, SDL_Rect const * r) -
SDL_RectEmpty
bool SDL_RectEmpty(SDL_Rect const * r) -
SDL_RectsEqual
bool SDL_RectsEqual(SDL_Rect const * a, SDL_Rect const * b) -
SDL_PointInRectFloat
bool SDL_PointInRectFloat(SDL_FPoint const * p, SDL_FRect const * r) -
SDL_RectEmptyFloat
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
bool SDL_RectsEqualFloat(SDL_FRect const * a, SDL_FRect const * b)
-