SDL
2.0
|
A rectangle, with the origin at the upper left. More...
#include <SDL_rect.h>
Data Fields | |
int | x |
int | y |
int | w |
int | h |
A rectangle, with the origin at the upper left.
Definition at line 64 of file SDL_rect.h.
int SDL_Rect::h |
Definition at line 67 of file SDL_rect.h.
Referenced by _compare(), _Redraw(), _testBlitBlendMode(), _testSetTextInputRect(), _validateHasIntersectionResults(), _validateIntersectRectAndLineResults(), _validateIntersectRectResults(), _validateRectEmptyResults(), _validateRectEqualsResults(), _validateUnionRectResults(), add_line(), add_rect(), ComputeOutCode(), Draw(), DrawChessBoard(), DrawComposite(), DrawLines(), DrawOnViewport(), DrawPoints(), DrawRectLineIntersections(), DrawRects(), InitInput(), keyboard_setTextInputRect(), loop(), main(), MoveSprites(), rect_testEnclosePoints(), rect_testEnclosePointsRepeatedInput(), rect_testEnclosePointsWithClipping(), rect_testHasIntersectionEmpty(), rect_testHasIntersectionInside(), rect_testHasIntersectionOutside(), rect_testHasIntersectionPartial(), rect_testIntersectRectAndLine(), rect_testIntersectRectAndLineEmpty(), rect_testIntersectRectAndLineInside(), rect_testIntersectRectAndLineOutside(), rect_testIntersectRectAndLineParam(), rect_testIntersectRectEmpty(), rect_testIntersectRectInside(), rect_testIntersectRectOutside(), rect_testIntersectRectPartial(), rect_testRectEmpty(), rect_testRectEquals(), rect_testRectEqualsParam(), rect_testUnionRectEmpty(), rect_testUnionRectInside(), rect_testUnionRectOutside(), RecursivelyCalculateShapeTree(), render_testBlit(), render_testBlitAlpha(), render_testBlitBlend(), render_testBlitColor(), render_testPrimitives(), render_testPrimitivesBlend(), SDL_BlendPoint(), SDL_BlendPoints(), SDL_CalculateShapeTree(), SDL_ConvertPixels(), SDL_ConvertSurface(), SDL_CreateWindow(), SDL_DrawPoint(), SDL_DrawPoints(), SDL_EnclosePoints(), SDL_FillRect(), SDL_GetDisplayBounds(), SDL_GetSpanEnclosingRect(), SDL_GetWindowDisplayIndex(), SDL_GetWindowDisplayMode(), SDL_HasIntersection(), SDL_IntersectRect(), SDL_IntersectRectAndLine(), SDL_LockTexture(), SDL_PointInRect(), SDL_RectEmpty(), SDL_RectEquals(), SDL_RenderCopy(), SDL_RenderCopyEx(), SDL_RenderDrawRect(), SDL_RendererEventWatch(), SDL_RenderFillRects(), SDL_RenderGetClipRect(), SDL_RenderGetViewport(), SDL_RenderReadPixels(), SDL_RenderSetClipRect(), SDL_RenderSetViewport(), SDL_SendWindowEvent(), SDL_SetClipRect(), SDL_SetRenderTarget(), SDL_SetWindowPosition(), SDL_SetWindowSize(), SDL_SoftBlit(), SDL_SoftStretch(), SDL_SW_CopyYUVToRGB(), SDL_SW_LockYUVTexture(), SDL_SW_UpdateYUVTexture(), SDL_SW_UpdateYUVTexturePlanar(), SDL_UnionRect(), SDL_UnlockTextureNative(), SDL_UnlockTextureYUV(), SDL_UnRLESurface(), SDL_UpdateTexture(), SDL_UpdateTextureNative(), SDL_UpdateTextureYUV(), SDL_UpdateTextureYUVPlanar(), SDL_UpdateWindowSurface(), SDL_UpdateYUVTexture(), SDL_UpperBlit(), SDL_UpperBlitScaled(), SDLTest_CommonEvent(), SDLTest_CommonInit(), SDLTest_DrawCharacter(), SDLTest_ScreenShot(), SW_RenderCopy(), SW_RenderCopyEx(), SW_RenderFillRects(), SW_RenderReadPixels(), SW_UpdateTexture(), unifont_draw_glyph(), UpdateLogicalSize(), video_getSetWindowMaximumSize(), video_getSetWindowMinimumSize(), video_getSetWindowSize(), and WatchJoystick().
int SDL_Rect::w |
Definition at line 67 of file SDL_rect.h.
Referenced by _compare(), _Redraw(), _testBlitBlendMode(), _testSetTextInputRect(), _validateHasIntersectionResults(), _validateIntersectRectAndLineResults(), _validateIntersectRectResults(), _validateRectEmptyResults(), _validateRectEqualsResults(), _validateUnionRectResults(), add_line(), add_rect(), ComputeOutCode(), Draw(), DrawChessBoard(), DrawComposite(), DrawLines(), DrawOnViewport(), DrawPoints(), DrawRectLineIntersections(), DrawRects(), InitInput(), keyboard_setTextInputRect(), loop(), main(), MoveSprites(), rect_testEnclosePoints(), rect_testEnclosePointsRepeatedInput(), rect_testEnclosePointsWithClipping(), rect_testHasIntersectionEmpty(), rect_testHasIntersectionInside(), rect_testHasIntersectionOutside(), rect_testHasIntersectionPartial(), rect_testIntersectRectAndLine(), rect_testIntersectRectAndLineEmpty(), rect_testIntersectRectAndLineInside(), rect_testIntersectRectAndLineOutside(), rect_testIntersectRectAndLineParam(), rect_testIntersectRectEmpty(), rect_testIntersectRectInside(), rect_testIntersectRectOutside(), rect_testIntersectRectPartial(), rect_testRectEmpty(), rect_testRectEquals(), rect_testRectEqualsParam(), rect_testUnionRectEmpty(), rect_testUnionRectInside(), rect_testUnionRectOutside(), RecursivelyCalculateShapeTree(), render_testBlit(), render_testBlitAlpha(), render_testBlitBlend(), render_testBlitColor(), render_testPrimitives(), render_testPrimitivesBlend(), SDL_BlendPoint(), SDL_BlendPoints(), SDL_CalculateShapeTree(), SDL_ConvertPixels(), SDL_ConvertSurface(), SDL_CreateWindow(), SDL_DrawPoint(), SDL_DrawPoints(), SDL_EnclosePoints(), SDL_FillRect(), SDL_GetDisplayBounds(), SDL_GetSpanEnclosingRect(), SDL_GetWindowDisplayIndex(), SDL_GetWindowDisplayMode(), SDL_HasIntersection(), SDL_IntersectRect(), SDL_IntersectRectAndLine(), SDL_LockTexture(), SDL_PointInRect(), SDL_RectEmpty(), SDL_RectEquals(), SDL_RenderCopy(), SDL_RenderCopyEx(), SDL_RenderDrawRect(), SDL_RendererEventWatch(), SDL_RenderFillRects(), SDL_RenderGetClipRect(), SDL_RenderGetViewport(), SDL_RenderReadPixels(), SDL_RenderSetClipRect(), SDL_RenderSetViewport(), SDL_RLEAlphaBlit(), SDL_RLEBlit(), SDL_SendWindowEvent(), SDL_SetClipRect(), SDL_SetRenderTarget(), SDL_SetWindowPosition(), SDL_SetWindowSize(), SDL_SoftBlit(), SDL_SoftStretch(), SDL_SW_CopyYUVToRGB(), SDL_SW_LockYUVTexture(), SDL_SW_UpdateYUVTexture(), SDL_SW_UpdateYUVTexturePlanar(), SDL_UnionRect(), SDL_UnlockTextureNative(), SDL_UnlockTextureYUV(), SDL_UnRLESurface(), SDL_UpdateTexture(), SDL_UpdateTextureNative(), SDL_UpdateTextureYUV(), SDL_UpdateTextureYUVPlanar(), SDL_UpdateWindowSurface(), SDL_UpdateYUVTexture(), SDL_UpperBlit(), SDL_UpperBlitScaled(), SDLTest_CommonEvent(), SDLTest_CommonInit(), SDLTest_DrawCharacter(), SDLTest_ScreenShot(), SW_RenderCopy(), SW_RenderCopyEx(), SW_RenderFillRects(), SW_RenderReadPixels(), SW_UpdateTexture(), unifont_draw_glyph(), UpdateLogicalSize(), video_getSetWindowMaximumSize(), video_getSetWindowMinimumSize(), video_getSetWindowSize(), and WatchJoystick().
int SDL_Rect::x |
Definition at line 66 of file SDL_rect.h.
Referenced by _compare(), _Redraw(), _testBlitBlendMode(), _testSetTextInputRect(), _validateHasIntersectionResults(), _validateIntersectRectAndLineResults(), _validateIntersectRectResults(), _validateRectEmptyResults(), _validateRectEqualsResults(), _validateUnionRectResults(), add_line(), add_rect(), ComputeOutCode(), Draw(), DrawChessBoard(), DrawComposite(), DrawOnViewport(), DrawRectLineIntersections(), DrawRects(), FullscreenTo(), InitInput(), keyboard_setTextInputRect(), loop(), main(), MoveSprites(), rect_testEnclosePoints(), rect_testEnclosePointsRepeatedInput(), rect_testEnclosePointsWithClipping(), rect_testHasIntersectionEmpty(), rect_testHasIntersectionInside(), rect_testHasIntersectionOutside(), rect_testHasIntersectionPartial(), rect_testHasIntersectionPoint(), rect_testIntersectRectAndLineEmpty(), rect_testIntersectRectAndLineInside(), rect_testIntersectRectEmpty(), rect_testIntersectRectInside(), rect_testIntersectRectOutside(), rect_testIntersectRectPartial(), rect_testIntersectRectPoint(), rect_testRectEmpty(), rect_testRectEquals(), rect_testRectEqualsParam(), rect_testUnionRectEmpty(), rect_testUnionRectInside(), rect_testUnionRectOutside(), RecursivelyCalculateShapeTree(), render_testBlit(), render_testBlitAlpha(), render_testBlitBlend(), render_testBlitColor(), render_testPrimitives(), render_testPrimitivesBlend(), SDL_BlendPoint(), SDL_BlendPoints(), SDL_CalculateShapeTree(), SDL_ConvertPixels(), SDL_ConvertSurface(), SDL_CreateWindow(), SDL_DrawPoint(), SDL_DrawPoints(), SDL_EnclosePoints(), SDL_FillRect(), SDL_GetDisplayBounds(), SDL_GetSpanEnclosingRect(), SDL_GetWindowDisplayIndex(), SDL_GetWindowPosition(), SDL_HasIntersection(), SDL_IntersectRect(), SDL_IntersectRectAndLine(), SDL_LockTexture(), SDL_LockTextureNative(), SDL_PointInRect(), SDL_RectEquals(), SDL_RenderCopy(), SDL_RenderCopyEx(), SDL_RenderDrawRect(), SDL_RendererEventWatch(), SDL_RenderFillRect(), SDL_RenderFillRects(), SDL_RenderGetClipRect(), SDL_RenderGetViewport(), SDL_RenderReadPixels(), SDL_RenderSetClipRect(), SDL_RenderSetViewport(), SDL_RLEAlphaBlit(), SDL_RLEBlit(), SDL_SendWindowEvent(), SDL_SetClipRect(), SDL_SetRenderTarget(), SDL_SetWindowPosition(), SDL_SoftBlit(), SDL_SoftStretch(), SDL_SW_CopyYUVToRGB(), SDL_SW_LockYUVTexture(), SDL_SW_UpdateYUVTexture(), SDL_SW_UpdateYUVTexturePlanar(), SDL_UnionRect(), SDL_UnlockTextureNative(), SDL_UnlockTextureYUV(), SDL_UnRLESurface(), SDL_UpdateTexture(), SDL_UpdateTextureYUV(), SDL_UpdateTextureYUVPlanar(), SDL_UpdateWindowSurface(), SDL_UpdateWindowTexture(), SDL_UpdateYUVTexture(), SDL_UpperBlit(), SDL_UpperBlitScaled(), SDLTest_CommonEvent(), SDLTest_CommonInit(), SDLTest_DrawCharacter(), SW_LockTexture(), SW_RenderCopy(), SW_RenderCopyEx(), SW_RenderDrawLines(), SW_RenderDrawPoints(), SW_RenderFillRects(), SW_RenderReadPixels(), SW_UpdateClipRect(), SW_UpdateTexture(), unifont_draw_glyph(), UpdateLogicalSize(), and WatchJoystick().
int SDL_Rect::y |
Definition at line 66 of file SDL_rect.h.
Referenced by _compare(), _Redraw(), _testBlitBlendMode(), _testSetTextInputRect(), _validateHasIntersectionResults(), _validateIntersectRectAndLineResults(), _validateIntersectRectResults(), _validateRectEmptyResults(), _validateRectEqualsResults(), _validateUnionRectResults(), add_line(), add_rect(), ComputeOutCode(), Draw(), DrawChessBoard(), DrawComposite(), DrawOnViewport(), DrawRectLineIntersections(), DrawRects(), FullscreenTo(), InitInput(), keyboard_setTextInputRect(), loop(), main(), MoveSprites(), rect_testEnclosePoints(), rect_testEnclosePointsRepeatedInput(), rect_testEnclosePointsWithClipping(), rect_testHasIntersectionEmpty(), rect_testHasIntersectionInside(), rect_testHasIntersectionOutside(), rect_testHasIntersectionPartial(), rect_testHasIntersectionPoint(), rect_testIntersectRectAndLineEmpty(), rect_testIntersectRectAndLineInside(), rect_testIntersectRectEmpty(), rect_testIntersectRectInside(), rect_testIntersectRectOutside(), rect_testIntersectRectPartial(), rect_testIntersectRectPoint(), rect_testRectEmpty(), rect_testRectEquals(), rect_testRectEqualsParam(), rect_testUnionRectEmpty(), rect_testUnionRectInside(), rect_testUnionRectOutside(), RecursivelyCalculateShapeTree(), render_testBlit(), render_testBlitAlpha(), render_testBlitBlend(), render_testBlitColor(), render_testPrimitives(), render_testPrimitivesBlend(), SDL_BlendPoint(), SDL_BlendPoints(), SDL_CalculateShapeTree(), SDL_ConvertPixels(), SDL_ConvertSurface(), SDL_CreateWindow(), SDL_DrawPoint(), SDL_DrawPoints(), SDL_EnclosePoints(), SDL_FillRect(), SDL_GetDisplayBounds(), SDL_GetSpanEnclosingRect(), SDL_GetWindowDisplayIndex(), SDL_GetWindowPosition(), SDL_HasIntersection(), SDL_IntersectRect(), SDL_IntersectRectAndLine(), SDL_LockTexture(), SDL_LockTextureNative(), SDL_PointInRect(), SDL_RectEquals(), SDL_RenderCopy(), SDL_RenderCopyEx(), SDL_RenderDrawRect(), SDL_RendererEventWatch(), SDL_RenderFillRect(), SDL_RenderFillRects(), SDL_RenderGetClipRect(), SDL_RenderGetViewport(), SDL_RenderReadPixels(), SDL_RenderSetClipRect(), SDL_RenderSetViewport(), SDL_RLEAlphaBlit(), SDL_RLEBlit(), SDL_SendWindowEvent(), SDL_SetClipRect(), SDL_SetRenderTarget(), SDL_SetWindowPosition(), SDL_SoftBlit(), SDL_SoftStretch(), SDL_SW_CopyYUVToRGB(), SDL_SW_LockYUVTexture(), SDL_SW_UpdateYUVTexture(), SDL_SW_UpdateYUVTexturePlanar(), SDL_UnionRect(), SDL_UnlockTextureNative(), SDL_UnlockTextureYUV(), SDL_UnRLESurface(), SDL_UpdateTexture(), SDL_UpdateTextureYUV(), SDL_UpdateTextureYUVPlanar(), SDL_UpdateWindowSurface(), SDL_UpdateWindowTexture(), SDL_UpdateYUVTexture(), SDL_UpperBlit(), SDL_UpperBlitScaled(), SDLTest_CommonEvent(), SDLTest_CommonInit(), SDLTest_DrawCharacter(), SW_LockTexture(), SW_RenderCopy(), SW_RenderCopyEx(), SW_RenderDrawLines(), SW_RenderDrawPoints(), SW_RenderFillRects(), SW_RenderReadPixels(), SW_UpdateClipRect(), SW_UpdateTexture(), unifont_draw_glyph(), UpdateLogicalSize(), and WatchJoystick().