SDL 2.0
|
A rectangle, with the origin at the upper left (integer). More...
#include <SDL_rect.h>
Data Fields | |
int | x |
int | y |
int | w |
int | h |
A rectangle, with the origin at the upper left (integer).
Definition at line 77 of file SDL_rect.h.
int SDL_Rect::h |
Definition at line 80 of file SDL_rect.h.
Referenced by _compare(), _Redraw(), _testBlitBlendMode(), _testSetTextInputRect(), _validateHasIntersectionResults(), _validateIntersectRectAndLineResults(), _validateIntersectRectResults(), _validateRectEmptyResults(), _validateRectEqualsResults(), _validateUnionRectResults(), add_line(), ComputeOutCode(), DebugLogRenderCommands(), Draw(), DrawChessBoard(), DrawComposite(), DrawLines(), DrawOnViewport(), DrawPoints(), DrawRectLineIntersections(), DrawRects(), InitInput(), keyboard_setTextInputRect(), loop(), main(), MoveSprites(), 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_CalculateShapeTree(), SDL_ConvertPixels(), SDL_ConvertSurface(), SDL_CreateWindow(), SDL_EnclosePoints(), SDL_FillRect(), SDL_GetDisplayBounds(), SDL_GetWindowDisplayIndex(), SDL_HasIntersection(), SDL_IntersectRect(), SDL_IntersectRectAndLine(), SDL_LockTexture(), SDL_RenderCopy(), SDL_RenderCopyEx(), SDL_RenderCopyExF(), SDL_RenderCopyF(), SDL_RenderDrawRect(), SDL_RenderDrawRectF(), SDL_RendererEventWatch(), SDL_RenderFillRect(), SDL_RenderGetClipRect(), SDL_RenderGetViewport(), SDL_RenderReadPixels(), SDL_RenderSetClipRect(), SDL_RenderSetViewport(), 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_UpdateTextureNative(), SDL_UpdateTextureYUV(), SDL_UpdateTextureYUVPlanar(), SDL_UpdateWindowSurface(), SDL_UpdateYUVTexture(), SDL_UpperBlit(), SDL_UpperBlitScaled(), SDLTest_CommonEvent(), SDLTest_CommonInit(), SDLTest_DrawCharacter(), SDLTest_ScreenShot(), SetDrawState(), SW_QueueCopy(), SW_QueueCopyEx(), SW_RenderCopyEx(), SW_RenderReadPixels(), SW_RunCommandQueue(), SW_UpdateTexture(), unifont_draw_glyph(), UpdateLogicalSize(), video_getSetWindowMaximumSize(), video_getSetWindowMinimumSize(), and video_getSetWindowSize().
int SDL_Rect::w |
Definition at line 80 of file SDL_rect.h.
Referenced by _compare(), _Redraw(), _testBlitBlendMode(), _testSetTextInputRect(), _validateHasIntersectionResults(), _validateIntersectRectAndLineResults(), _validateIntersectRectResults(), _validateRectEmptyResults(), _validateRectEqualsResults(), _validateUnionRectResults(), add_line(), ComputeOutCode(), DebugLogRenderCommands(), Draw(), DrawChessBoard(), DrawComposite(), DrawLines(), DrawOnViewport(), DrawPoints(), DrawRectLineIntersections(), DrawRects(), InitInput(), keyboard_setTextInputRect(), loop(), main(), MoveSprites(), 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_CalculateShapeTree(), SDL_ConvertPixels(), SDL_ConvertSurface(), SDL_CreateWindow(), SDL_EnclosePoints(), SDL_FillRect(), SDL_GetDisplayBounds(), SDL_GetWindowDisplayIndex(), SDL_HasIntersection(), SDL_IntersectRect(), SDL_IntersectRectAndLine(), SDL_LockTexture(), SDL_RenderCopy(), SDL_RenderCopyEx(), SDL_RenderCopyExF(), SDL_RenderCopyF(), SDL_RenderDrawRect(), SDL_RenderDrawRectF(), SDL_RendererEventWatch(), SDL_RenderFillRect(), SDL_RenderGetClipRect(), SDL_RenderGetViewport(), SDL_RenderReadPixels(), SDL_RenderSetClipRect(), SDL_RenderSetViewport(), SDL_RLEAlphaBlit(), SDL_RLEBlit(), 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_UpdateTextureNative(), SDL_UpdateTextureYUV(), SDL_UpdateTextureYUVPlanar(), SDL_UpdateWindowSurface(), SDL_UpdateYUVTexture(), SDL_UpperBlit(), SDL_UpperBlitScaled(), SDLTest_CommonEvent(), SDLTest_CommonInit(), SDLTest_DrawCharacter(), SDLTest_ScreenShot(), SetDrawState(), SW_QueueCopy(), SW_QueueCopyEx(), SW_RenderCopyEx(), SW_RenderReadPixels(), SW_RunCommandQueue(), SW_UpdateTexture(), unifont_draw_glyph(), UpdateLogicalSize(), video_getSetWindowMaximumSize(), video_getSetWindowMinimumSize(), and video_getSetWindowSize().
int SDL_Rect::x |
Definition at line 79 of file SDL_rect.h.
Referenced by _compare(), _Redraw(), _testBlitBlendMode(), _testSetTextInputRect(), _validateHasIntersectionResults(), _validateIntersectRectAndLineResults(), _validateIntersectRectResults(), _validateRectEmptyResults(), _validateRectEqualsResults(), _validateUnionRectResults(), add_line(), ComputeOutCode(), DebugLogRenderCommands(), DrawChessBoard(), DrawComposite(), DrawOnViewport(), DrawRectLineIntersections(), DrawRects(), FullscreenTo(), InitInput(), keyboard_setTextInputRect(), loop(), main(), MoveSprites(), 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_CalculateShapeTree(), SDL_ConvertPixels(), SDL_ConvertSurface(), SDL_CreateWindow(), SDL_EnclosePoints(), SDL_FillRect(), SDL_GetDisplayBounds(), SDL_GetWindowDisplayIndex(), SDL_GetWindowPosition(), SDL_HasIntersection(), SDL_IntersectRect(), SDL_IntersectRectAndLine(), SDL_LockTexture(), SDL_LockTextureNative(), SDL_RenderCopy(), SDL_RenderCopyEx(), SDL_RenderCopyExF(), SDL_RenderCopyF(), SDL_RenderDrawRect(), SDL_RenderDrawRectF(), SDL_RendererEventWatch(), SDL_RenderFillRect(), SDL_RenderGetClipRect(), SDL_RenderGetViewport(), SDL_RenderReadPixels(), SDL_RenderSetClipRect(), SDL_RenderSetViewport(), SDL_RLEAlphaBlit(), SDL_RLEBlit(), 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(), SetDrawState(), SW_LockTexture(), SW_QueueCopy(), SW_QueueCopyEx(), SW_QueueDrawPoints(), SW_QueueFillRects(), SW_RenderCopyEx(), SW_RenderReadPixels(), SW_UpdateTexture(), unifont_draw_glyph(), and UpdateLogicalSize().
int SDL_Rect::y |
Definition at line 79 of file SDL_rect.h.
Referenced by _compare(), _Redraw(), _testBlitBlendMode(), _testSetTextInputRect(), _validateHasIntersectionResults(), _validateIntersectRectAndLineResults(), _validateIntersectRectResults(), _validateRectEmptyResults(), _validateRectEqualsResults(), _validateUnionRectResults(), add_line(), ComputeOutCode(), DebugLogRenderCommands(), DrawChessBoard(), DrawComposite(), DrawOnViewport(), DrawRectLineIntersections(), DrawRects(), FullscreenTo(), InitInput(), keyboard_setTextInputRect(), loop(), main(), MoveSprites(), 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_CalculateShapeTree(), SDL_ConvertPixels(), SDL_ConvertSurface(), SDL_CreateWindow(), SDL_EnclosePoints(), SDL_FillRect(), SDL_GetDisplayBounds(), SDL_GetWindowDisplayIndex(), SDL_GetWindowPosition(), SDL_HasIntersection(), SDL_IntersectRect(), SDL_IntersectRectAndLine(), SDL_LockTexture(), SDL_LockTextureNative(), SDL_RenderCopy(), SDL_RenderCopyEx(), SDL_RenderCopyExF(), SDL_RenderCopyF(), SDL_RenderDrawRect(), SDL_RenderDrawRectF(), SDL_RendererEventWatch(), SDL_RenderFillRect(), SDL_RenderGetClipRect(), SDL_RenderGetViewport(), SDL_RenderReadPixels(), SDL_RenderSetClipRect(), SDL_RenderSetViewport(), SDL_RLEAlphaBlit(), SDL_RLEBlit(), 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(), SetDrawState(), SW_LockTexture(), SW_QueueCopy(), SW_QueueCopyEx(), SW_QueueDrawPoints(), SW_QueueFillRects(), SW_RenderCopyEx(), SW_RenderReadPixels(), SW_UpdateTexture(), unifont_draw_glyph(), and UpdateLogicalSize().