Home
last modified time | relevance | path

Searched refs:HEIGHT (Results 1 – 13 of 13) sorted by relevance

/AliOS-Things-master/components/SDL2/src/gfx/Test/
A DTestGfxPrimitives.c25 #define HEIGHT 480 macro
174 for (y=(HEIGHT-40)/2+60; y<HEIGHT; y++) { in ClearScreen()
231 SetClip(screen,0,80+(HEIGHT-80)/2,WIDTH/2,HEIGHT); in TestPixel()
311 SetClip(screen,0,80+(HEIGHT-80)/2,WIDTH/2,HEIGHT); in TestHline()
392 SetClip(screen,0,80+(HEIGHT-80)/2,WIDTH/2,HEIGHT); in TestVline()
473 SetClip(screen,0,80+(HEIGHT-80)/2,WIDTH/2,HEIGHT); in TestRectangle()
553 SetClip(screen,0,80+(HEIGHT-80)/2,WIDTH/2,HEIGHT); in TestRoundedRectangle()
633 SetClip(screen,0,80+(HEIGHT-80)/2,WIDTH/2,HEIGHT); in TestRoundedBox()
713 SetClip(screen,0,80+(HEIGHT-80)/2,WIDTH/2,HEIGHT); in TestBoxTwo()
1123 cy = 80 + (HEIGHT-80)/2 + (HEIGHT-80)/4; in TestThickLineAccuracy()
[all …]
A DTestFramerate.c27 #define HEIGHT 480 macro
106 stringRGBA (screen, WIDTH/2-4*strlen(message),HEIGHT-12,message,255,255,255,255); in Draw()
109 stringRGBA (screen, WIDTH/2-4*strlen(message2),HEIGHT-24,message2,255,255,255,255); in Draw()
180 if ( (screen=SDL_SetVideoMode(WIDTH, HEIGHT, video_bpp, videoflags)) == NULL ) { in main()
181 …fprintf(stderr, "Couldn't set %ix%i %i bpp video mode: %s\n",WIDTH,HEIGHT,video_bpp,SDL_GetError()… in main()
A DTestABGR.c25 #define HEIGHT 424 macro
99 if ( (screen=SDL_SetVideoMode(WIDTH, HEIGHT, video_bpp, videoflags)) == NULL ) { in main()
100 …fprintf(stderr, "Couldn't set %ix%i %i bpp video mode: %s\n",WIDTH,HEIGHT,video_bpp,SDL_GetError()… in main()
198 stringRGBA (screen, WIDTH/2-4*strlen(message),HEIGHT-12,message,255,255,255,255); in main()
A DTestFonts.c25 #define HEIGHT 768 macro
275 y=HEIGHT - 14; in Draw()
347 if ( (screen=SDL_SetVideoMode(WIDTH, HEIGHT, video_bpp, videoflags)) == NULL ) { in main()
348 …fprintf(stderr, "Couldn't set %ix%i %i bpp video mode: %s\n",WIDTH,HEIGHT,video_bpp,SDL_GetError()… in main()
/AliOS-Things-master/components/ugraphics/example/
A Dugraphics_example.c18 #define HEIGHT SCREEN_H macro
29 ret = ugraphics_init(WIDTH, HEIGHT); in ugraphics_comp_example()
43 ret = ugraphics_fill_rect(0, 0, WIDTH, HEIGHT); in ugraphics_comp_example()
57 ret = ugraphics_draw_rect(0, 0, WIDTH / 2, HEIGHT / 2); in ugraphics_comp_example()
72 ret = ugraphics_draw_line(0, HEIGHT / 4, WIDTH, HEIGHT / 4); in ugraphics_comp_example()
114 ugraphics_draw_string("Welcome to AliOS Things!", WIDTH / 8, HEIGHT / 2); in ugraphics_comp_example()
128 ret = ugraphics_fill_rect(0, 0, WIDTH, HEIGHT); in ugraphics_comp_example()
142 ret = ugraphics_fill_rect(0, 0, WIDTH / 2, HEIGHT / 2); in ugraphics_comp_example()
170 ret = ugraphics_fill_rect(0, 0, WIDTH, HEIGHT); in ugraphics_comp_example()
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/dbs/
A Dtiff-bi.c33 #define HEIGHT WIDTH macro
52 TIFFSetField(tif, TIFFTAG_IMAGELENGTH, HEIGHT); in main()
69 for (i = 0; i < HEIGHT / 2; i++) in main()
78 for (i = HEIGHT / 2; i < HEIGHT; i++) in main()
A Dtiff-grayscale.c36 #define HEIGHT WIDTH macro
94 TIFFSetField(tif, TIFFTAG_IMAGELENGTH, HEIGHT); in main()
107 for (i = 0; i < HEIGHT; i++) { in main()
A Dtiff-palette.c34 #define HEIGHT WIDTH macro
227 TIFFSetField(tif, TIFFTAG_IMAGELENGTH, HEIGHT); in main()
239 for (i = 0; i < HEIGHT; i++) { in main()
A Dtiff-rgb.c37 #define HEIGHT 512 macro
90 TIFFSetField(tif, TIFFTAG_IMAGELENGTH, HEIGHT); in main()
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/tags/
A Dmaketif.c14 #define HEIGHT 20 macro
43 TIFFSetField(tif,TIFFTAG_IMAGELENGTH,HEIGHT); in SetUpTIFFDirectory()
63 for (i=0;i<HEIGHT;i++) in WriteImage()
/AliOS-Things-master/components/py_engine/framework/
A Dst7789py.py551 and y0+font.HEIGHT <= self.height):
553 if font.HEIGHT == 8:
652 and y0+font.HEIGHT <= self.height):
654 if font.HEIGHT == 16:
829 bitmap_size = bitmap.HEIGHT * bitmap.WIDTH
847 to_row = y + bitmap.HEIGHT - 1
866 buffer_len = font.HEIGHT * font.MAX_WIDTH * 2
886 buffer_needed = char_width * font.HEIGHT * 2
899 to_row = y + font.HEIGHT - 1
/AliOS-Things-master/components/SDL2/test/
A Dtestgesture.c30 #define HEIGHT 480 macro
278 state->window_h = HEIGHT; in main()
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dec/
A Dbuffer_dec.c38 #define MIN_BUFFER_SIZE(WIDTH, HEIGHT, STRIDE) \ argument
39 ((uint64_t)(STRIDE) * ((HEIGHT) - 1) + (WIDTH))

Completed in 308 milliseconds