/AliOS-Things-master/components/SDL2/include/ |
A D | SDL_rect.h | 77 typedef struct SDL_Rect struct 81 } SDL_Rect; argument 108 SDL_FORCE_INLINE SDL_bool SDL_RectEmpty(const SDL_Rect *r) in SDL_RectEmpty() 116 SDL_FORCE_INLINE SDL_bool SDL_RectEquals(const SDL_Rect *a, const SDL_Rect *b) in SDL_RectEquals() 135 extern DECLSPEC SDL_bool SDLCALL SDL_IntersectRect(const SDL_Rect * A, 136 const SDL_Rect * B, 137 SDL_Rect * result); 142 extern DECLSPEC void SDLCALL SDL_UnionRect(const SDL_Rect * A, 143 const SDL_Rect * B, 144 SDL_Rect * result); [all …]
|
A D | SDL_surface.h | 86 SDL_Rect clip_rect; /**< Read-only */ 379 SDL_Rect * rect); 423 (SDL_Surface * dst, const SDL_Rect * rect, Uint32 color); 491 (SDL_Surface * src, const SDL_Rect * srcrect, 492 SDL_Surface * dst, SDL_Rect * dstrect); 499 (SDL_Surface * src, SDL_Rect * srcrect, 500 SDL_Surface * dst, SDL_Rect * dstrect); 520 (SDL_Surface * src, const SDL_Rect * srcrect, 521 SDL_Surface * dst, SDL_Rect * dstrect); 528 (SDL_Surface * src, SDL_Rect * srcrect, [all …]
|
A D | SDL_render.h | 425 const SDL_Rect * rect, 469 const SDL_Rect * rect, 488 const SDL_Rect *rect, 615 SDL_Rect * rect); 641 SDL_Rect * rect); 872 const SDL_Rect * srcrect, 873 const SDL_Rect * dstrect); 892 const SDL_Rect * srcrect, 893 const SDL_Rect * dstrect, 1014 const SDL_Rect * srcrect, [all …]
|
/AliOS-Things-master/components/SDL2/test/ |
A D | testautomation_rect.c | 20 SDL_Rect *rect, SDL_Rect * refRect, in _validateIntersectRectAndLineResults() 52 SDL_Rect rect; in rect_testIntersectRectAndLine() 310 SDL_Rect *rectA, SDL_Rect *rectB, SDL_Rect *refRectA, SDL_Rect *refRectB) in _validateHasIntersectionResults() 333 SDL_Rect *rectA, SDL_Rect *rectB, SDL_Rect *refRectA, SDL_Rect *refRectB, in _validateIntersectRectResults() 334 SDL_Rect *result, SDL_Rect *expectedResult) in _validateIntersectRectResults() 351 SDL_Rect *rectA, SDL_Rect *rectB, SDL_Rect *refRectA, SDL_Rect *refRectB, in _validateUnionRectResults() 352 SDL_Rect *result, SDL_Rect *expectedResult) in _validateUnionRectResults() 375 SDL_Rect *rect, SDL_Rect *refRect) in _validateRectEmptyResults() 393 SDL_Rect *rectA, SDL_Rect *rectB, SDL_Rect *refRectA, SDL_Rect *refRectB) in _validateRectEqualsResults() 699 intersection = SDL_IntersectRect((SDL_Rect *)NULL, (SDL_Rect *)NULL, (SDL_Rect *)NULL); in rect_testIntersectRectParam() [all …]
|
A D | testnative.c | 39 static SDL_Rect *positions, *velocities; 88 SDL_Rect viewport; in MoveSprites() 89 SDL_Rect *position, *velocity; in MoveSprites() 188 positions = (SDL_Rect *) SDL_malloc(NUM_SPRITES * sizeof(SDL_Rect)); in main() 189 velocities = (SDL_Rect *) SDL_malloc(NUM_SPRITES * sizeof(SDL_Rect)); in main()
|
A D | testsprite2.c | 36 static SDL_Rect *positions; 37 static SDL_Rect *velocities; 121 SDL_Rect viewport, temp; in MoveSprites() 122 SDL_Rect *position, *velocity; in MoveSprites() 370 positions = (SDL_Rect *) SDL_malloc(num_sprites * sizeof(SDL_Rect)); in main() 371 velocities = (SDL_Rect *) SDL_malloc(num_sprites * sizeof(SDL_Rect)); in main()
|
A D | testrelative.c | 27 SDL_Rect rect; 31 DrawRects(SDL_Renderer * renderer, SDL_Rect * rect) in DrawRects() 52 SDL_Rect viewport; in loop()
|
A D | testintersections.c | 45 SDL_Rect viewport; in DrawPoints() 85 SDL_Rect lines[MAX_LINES]; 108 SDL_Rect viewport; in DrawLines() 129 SDL_Rect rects[MAX_RECTS]; 171 SDL_Rect r; in DrawRectLineIntersections() 194 SDL_Rect r; in DrawRectRectIntersections()
|
A D | testspriteminimal.c | 30 static SDL_Rect positions[NUM_SPRITES]; 31 static SDL_Rect velocities[NUM_SPRITES]; 100 SDL_Rect *position, *velocity; in MoveSprites()
|
A D | testdraw2.c | 43 SDL_Rect viewport; in DrawPoints() 86 SDL_Rect viewport; in DrawLines() 137 SDL_Rect rect; in DrawRects() 138 SDL_Rect viewport; in DrawRects()
|
/AliOS-Things-master/components/SDL2/src/render/ |
A D | SDL_sysrender.h | 55 SDL_Rect locked_rect; 86 SDL_Rect rect; 90 SDL_Rect rect; 132 const SDL_Rect * rect, const void *pixels, 135 const SDL_Rect * rect, 174 SDL_Rect viewport; 175 SDL_Rect viewport_backup; 178 SDL_Rect clip_rect; 179 SDL_Rect clip_rect_backup; 214 SDL_Rect last_queued_viewport; [all …]
|
A D | SDL_yuv_sw_c.h | 52 int SDL_SW_UpdateYUVTexture(SDL_SW_YUVTexture * swdata, const SDL_Rect * rect, 54 int SDL_SW_UpdateYUVTexturePlanar(SDL_SW_YUVTexture * swdata, const SDL_Rect * rect, 58 int SDL_SW_LockYUVTexture(SDL_SW_YUVTexture * swdata, const SDL_Rect * rect, 61 int SDL_SW_CopyYUVToRGB(SDL_SW_YUVTexture * swdata, const SDL_Rect * srcrect,
|
A D | SDL_render.c | 1437 SDL_Rect full_rect; in SDL_UpdateTextureYUV() 1524 SDL_Rect full_rect; in SDL_UpdateTexture() 1786 SDL_Rect rect; in SDL_UnlockTextureYUV() 1948 SDL_Rect viewport; in UpdateLogicalSize() 2671 SDL_Rect r; in SDL_RenderDrawRectF() 2763 SDL_Rect r; in SDL_RenderFillRect() 2783 SDL_Rect r; in SDL_RenderFillRectF() 2933 const SDL_Rect * srcrect, const SDL_Rect * dstrect) in SDL_RenderCopy() 2953 SDL_Rect r; in SDL_RenderCopyF() 3008 const SDL_Rect * srcrect, const SDL_Rect * dstrect, in SDL_RenderCopyEx() [all …]
|
/AliOS-Things-master/components/SDL2/src/render/software/ |
A D | SDL_blendfillrect.c | 30 SDL_BlendFillRect_RGB555(SDL_Surface * dst, const SDL_Rect * rect, in SDL_BlendFillRect_RGB555() 56 SDL_BlendFillRect_RGB565(SDL_Surface * dst, const SDL_Rect * rect, in SDL_BlendFillRect_RGB565() 82 SDL_BlendFillRect_RGB888(SDL_Surface * dst, const SDL_Rect * rect, in SDL_BlendFillRect_RGB888() 108 SDL_BlendFillRect_ARGB8888(SDL_Surface * dst, const SDL_Rect * rect, in SDL_BlendFillRect_ARGB8888() 134 SDL_BlendFillRect_RGB(SDL_Surface * dst, const SDL_Rect * rect, in SDL_BlendFillRect_RGB() 185 SDL_BlendFillRect_RGBA(SDL_Surface * dst, const SDL_Rect * rect, in SDL_BlendFillRect_RGBA() 217 SDL_BlendFillRect(SDL_Surface * dst, const SDL_Rect * rect, in SDL_BlendFillRect() 220 SDL_Rect clipped; in SDL_BlendFillRect() 284 SDL_BlendFillRects(SDL_Surface * dst, const SDL_Rect * rects, int count, in SDL_BlendFillRects() 287 SDL_Rect rect; in SDL_BlendFillRects() [all …]
|
A D | SDL_render_sw.c | 42 const SDL_Rect *viewport; 43 const SDL_Rect *cliprect; 238 …SDL_Rect *verts = (SDL_Rect *) SDL_AllocateRenderVertices(renderer, count * sizeof (SDL_Rect), 0, … in SW_QueueFillRects() 273 …SDL_Rect *verts = (SDL_Rect *) SDL_AllocateRenderVertices(renderer, 2 * sizeof (SDL_Rect), 0, &cmd… in SW_QueueCopy() 299 SDL_Rect srcrect; 300 SDL_Rect dstrect; 339 const SDL_Rect * srcrect, const SDL_Rect * final_rect, in SW_RenderCopyEx() 343 SDL_Rect tmp_rect; in SW_RenderCopyEx() 597 SDL_Rect clip_rect; in SetDrawState() 695 const SDL_Rect *verts = (SDL_Rect *) (((Uint8 *) vertices) + cmd->data.draw.first); in SW_RunCommandQueue() [all …]
|
A D | SDL_blendfillrect.h | 28 extern int SDL_BlendFillRect(SDL_Surface * dst, const SDL_Rect * rect, SDL_BlendMode blendMode, Uin… 29 extern int SDL_BlendFillRects(SDL_Surface * dst, const SDL_Rect * rects, int count, SDL_BlendMode b…
|
/AliOS-Things-master/components/SDL2/src/video/ |
A D | SDL_rect.c | 28 SDL_HasIntersection(const SDL_Rect * A, const SDL_Rect * B) in SDL_HasIntersection() 75 SDL_IntersectRect(const SDL_Rect * A, const SDL_Rect * B, SDL_Rect * result) in SDL_IntersectRect() 129 SDL_UnionRect(const SDL_Rect * A, const SDL_Rect * B, SDL_Rect * result) in SDL_UnionRect() 192 SDL_EnclosePoints(const SDL_Point * points, int count, const SDL_Rect * clip, in SDL_EnclosePoints() 193 SDL_Rect * result) in SDL_EnclosePoints() 300 ComputeOutCode(const SDL_Rect * rect, int x, int y) in ComputeOutCode() 317 SDL_IntersectRectAndLine(const SDL_Rect * rect, int *X1, int *Y1, int *X2, in SDL_IntersectRectAndLine() 470 int numrects, const SDL_Rect * rects, SDL_Rect *span) in SDL_GetSpanEnclosingRect()
|
A D | SDL_rect_c.h | 27 …_GetSpanEnclosingRect(int width, int height, int numrects, const SDL_Rect * rects, SDL_Rect *span);
|
A D | SDL_surface.c | 569 SDL_Rect full_rect; in SDL_SetClipRect() 610 SDL_LowerBlit(SDL_Surface * src, SDL_Rect * srcrect, in SDL_LowerBlit() 611 SDL_Surface * dst, SDL_Rect * dstrect) in SDL_LowerBlit() 634 SDL_Surface * dst, SDL_Rect * dstrect) in SDL_UpperBlit() 636 SDL_Rect fulldst; in SDL_UpperBlit() 689 SDL_Rect *clip = &dst->clip_rect; in SDL_UpperBlit() 720 SDL_Rect sr; in SDL_UpperBlit() 733 SDL_Surface * dst, SDL_Rect * dstrect) in SDL_UpperBlitScaled() 737 SDL_Rect final_src, final_dst; in SDL_UpperBlitScaled() 971 SDL_Rect bounds; in SDL_ConvertSurface() [all …]
|
/AliOS-Things-master/components/SDL2/src/dynapi/ |
A D | SDL_dynapi_procs.h | 260 SDL_DYNAPI_PROC(void,SDL_SetTextInputRect,(SDL_Rect *a),(a),) 324 SDL_DYNAPI_PROC(SDL_bool,SDL_HasIntersection,(const SDL_Rect *a, const SDL_Rect *b),(a,b),return) 325 SDL_DYNAPI_PROC(SDL_bool,SDL_IntersectRect,(const SDL_Rect *a, const SDL_Rect *b, SDL_Rect *c),(a,b… 326 SDL_DYNAPI_PROC(void,SDL_UnionRect,(const SDL_Rect *a, const SDL_Rect *b, SDL_Rect *c),(a,b,c),) 327 SDL_DYNAPI_PROC(SDL_bool,SDL_EnclosePoints,(const SDL_Point *a, int b, const SDL_Rect *c, SDL_Rect … 374 …ROC(int,SDL_RenderCopy,(SDL_Renderer *a, SDL_Texture *b, const SDL_Rect *c, const SDL_Rect *d),(a,… 497 SDL_DYNAPI_PROC(int,SDL_UpperBlit,(SDL_Surface *a, const SDL_Rect *b, SDL_Surface *c, SDL_Rect *d),… 498 SDL_DYNAPI_PROC(int,SDL_LowerBlit,(SDL_Surface *a, SDL_Rect *b, SDL_Surface *c, SDL_Rect *d),(a,b,c… 499 …DYNAPI_PROC(int,SDL_SoftStretch,(SDL_Surface *a, const SDL_Rect *b, SDL_Surface *c, const SDL_Rect… 500 …YNAPI_PROC(int,SDL_UpperBlitScaled,(SDL_Surface *a, const SDL_Rect *b, SDL_Surface *c, SDL_Rect *d… [all …]
|
/AliOS-Things-master/components/SDL2/src/video/cocoa/ |
A D | SDL_cocoamodes.h | 37 extern int Cocoa_GetDisplayBounds(_THIS, SDL_VideoDisplay * display, SDL_Rect * rect); 38 extern int Cocoa_GetDisplayUsableBounds(_THIS, SDL_VideoDisplay * display, SDL_Rect * rect);
|
/AliOS-Things-master/components/SDL2/src/video/windows/ |
A D | SDL_windowsmodes.h | 38 extern int WIN_GetDisplayBounds(_THIS, SDL_VideoDisplay * display, SDL_Rect * rect); 39 extern int WIN_GetDisplayUsableBounds(_THIS, SDL_VideoDisplay * display, SDL_Rect * rect);
|
/AliOS-Things-master/components/SDL2/src/gfx/ |
A D | SDL_gfxBlitFunc.c | 356 int _SDL_gfxBlitRGBACall(SDL_Surface * src, SDL_Rect * srcrect, SDL_Surface * dst, SDL_Rect * dstre… in _SDL_gfxBlitRGBACall() 411 int SDL_gfxBlitRGBA(SDL_Surface * src, SDL_Rect * srcrect, SDL_Surface * dst, SDL_Rect * dstrect) in SDL_gfxBlitRGBA() 413 SDL_Rect sr, dr; in SDL_gfxBlitRGBA() 477 SDL_Rect *clip = &dst->clip_rect; in SDL_gfxBlitRGBA()
|
/AliOS-Things-master/components/SDL2/src/video/x11/ |
A D | SDL_x11modes.h | 79 extern int X11_GetDisplayBounds(_THIS, SDL_VideoDisplay * sdl_display, SDL_Rect * rect); 80 extern int X11_GetDisplayUsableBounds(_THIS, SDL_VideoDisplay * sdl_display, SDL_Rect * rect);
|
/AliOS-Things-master/components/SDL2/src/video/uikit/ |
A D | SDL_uikitviewcontroller.h | 79 @property (nonatomic, assign) SDL_Rect textInputRect; 90 void UIKit_SetTextInputRect(_THIS, SDL_Rect *rect);
|