/dports/emulators/teo/teo/src/alleg/ |
H A D | amouse.c | 253 putpixel(pen_pointer, i%SCR80_SIZE, i/SCR80_SIZE, 0); in amouse_Init() 257 putpixel(pen_pointer, i%SCR80_SIZE, i/SCR80_SIZE, makecol(255, 255, 255)); in amouse_Init() 261 … putpixel(pen_pointer, i%SCR80_SIZE, i/SCR80_SIZE, makecol(255, 0, 255)); /* mask */ in amouse_Init() 275 putpixel(pen_pointer, i%SCR80_SIZE, i/SCR80_SIZE, 1); in amouse_Init() 279 putpixel(pen_pointer, i%SCR80_SIZE, i/SCR80_SIZE, 2); in amouse_Init() 283 putpixel(pen_pointer, i%SCR80_SIZE, i/SCR80_SIZE, 0); in amouse_Init() 297 putpixel(pen_pointer, i%SCR40_SIZE, i/SCR40_SIZE, 1); in amouse_Init() 301 putpixel(pen_pointer, i%SCR40_SIZE, i/SCR40_SIZE, 2); in amouse_Init() 305 putpixel(pen_pointer, i%SCR40_SIZE, i/SCR40_SIZE, 0); in amouse_Init()
|
/dports/devel/allegro/allegro-4.4.3.1/examples/ |
H A D | exjoy.c | 214 putpixel(bmp, x, y, palette_color[255]); in main() 215 putpixel(bmp, x+1, y, palette_color[255]); in main() 216 putpixel(bmp, x, y+1, palette_color[255]); in main() 217 putpixel(bmp, x-1, y, palette_color[255]); in main() 218 putpixel(bmp, x, y-1, palette_color[255]); in main() 219 putpixel(bmp, x+5, y, palette_color[255]); in main() 220 putpixel(bmp, x, y+5, palette_color[255]); in main() 221 putpixel(bmp, x-5, y, palette_color[255]); in main() 222 putpixel(bmp, x, y-5, palette_color[255]); in main()
|
/dports/lang/fpc-source/fpc-3.2.2/tests/webtbs/ |
H A D | tw1066a.pp | 14 procedure putpixel(x,y,color:longint);assembler;inline; 92 putpixel(x0+x,y0+y,color); 93 putpixel(x0-x,y0+y,color); 94 putpixel(x0+x,y0-y,color); 95 putpixel(x0-x,y0-y,color); 96 putpixel(x0+y,y0+x,color); 97 putpixel(x0-y,y0+x,color); 98 putpixel(x0+y,y0-x,color); 99 putpixel(x0-y,y0-x,color);
|
/dports/games/tuxpaint/tuxpaint-0.9.26/magic/src/ |
H A D | mosaic_shaped.c | 471 api->putpixel(mosaic_shaped_pattern, 2, 2, in mosaic_shaped_switchin() 540 api->putpixel(mosaic_shaped_pattern, 9, 27, in mosaic_shaped_switchin() 542 api->putpixel(mosaic_shaped_pattern, 9, 26, in mosaic_shaped_switchin() 544 api->putpixel(mosaic_shaped_pattern, 26, 27, in mosaic_shaped_switchin() 581 api->putpixel(canvas_shaped, i, 0, black); in mosaic_shaped_switchin() 582 api->putpixel(canvas_shaped, i, 1, black); in mosaic_shaped_switchin() 589 api->putpixel(canvas_shaped, 0, j, black); in mosaic_shaped_switchin() 590 api->putpixel(canvas_shaped, 1, j, black); in mosaic_shaped_switchin() 689 api->putpixel(canvas, x, y, shadow); in scan_fill() 741 api->putpixel(canvas, i, j, color); in fill_square() [all …]
|
H A D | glasstile.c | 181 api->putpixel(canvas, x + xl, y + yt, rgb); in do_glasstile() 182 api->putpixel(canvas, x + xx / 2, y + yt, rgb); in do_glasstile() 183 api->putpixel(canvas, x + xr, y + yt, rgb); in do_glasstile() 185 api->putpixel(canvas, x + xl, y + yy / 2, rgb); in do_glasstile() 186 api->putpixel(canvas, x + xr, y + yy / 2, rgb); in do_glasstile() 188 api->putpixel(canvas, x + xl, y + yb, rgb); in do_glasstile() 189 api->putpixel(canvas, x + xx / 2, y + yb, rgb); in do_glasstile() 190 api->putpixel(canvas, x + xr, y + yb, rgb); in do_glasstile() 194 api->putpixel(canvas, x + xx / 2, y + yy / 2, rgb); in do_glasstile()
|
H A D | kalidescope.c | 186 api->putpixel(canvas, x + xx, y + yy, colr); in do_kalidescope() 190 api->putpixel(canvas, canvas->w - 1 - x + xx, y + yy, colr); in do_kalidescope() 194 api->putpixel(canvas, canvas->w - 1 - x + xx, canvas->h - 1 - y + yy, colr); in do_kalidescope() 199 api->putpixel(canvas, x + xx, canvas->h - 1 - y + yy, colr); in do_kalidescope() 206 … api->putpixel(canvas, i + xx + x % square_size, j + yy + y % square_size, colr); in do_kalidescope() 208 … api->putpixel(canvas, i + yy + y % square_size, j + xx + x % square_size, colr); in do_kalidescope()
|
/dports/science/simlib/simlib/examples/TODO/gravity/ |
H A D | 3telesa.cpp | 56 putpixel(px,py, EGA_RED); in Plot() 57 putpixel(px,py+1, EGA_RED); in Plot() 58 putpixel(px,py-1, EGA_RED); in Plot() 59 putpixel(px+1,py, EGA_RED); in Plot() 60 putpixel(px-1,py, EGA_RED); in Plot() 63 putpixel(px,py, EGA_WHITE); in Plot()
|
H A D | druzice.cpp | 147 putpixel(px,py, EGA_RED); in Plot() 148 putpixel(px,py+1, EGA_RED); in Plot() 149 putpixel(px,py-1, EGA_RED); in Plot() 150 putpixel(px+1,py, EGA_RED); in Plot() 151 putpixel(px-1,py, EGA_RED); in Plot() 154 putpixel(px,py, EGA_WHITE); in Plot()
|
/dports/graphics/xaos/XaoS-release-4.2.1/src/engine/ |
H A D | btraced.h | 11 putpixel(x, y, c); in tracecolor() 22 putpixel(x, y, c); in tracecolor() 29 putpixel(x, y - 1, w); in tracecolor() 44 putpixel(x + 1, y, w); in tracecolor() 58 putpixel(x, y + 1, w); in tracecolor() 84 putpixel(x, y + 1, w); in tracecolor() 99 putpixel(x - 1, y, w); in tracecolor() 113 putpixel(x, y - 1, w); in tracecolor() 149 putpixel(x - 1, y, w); in tracecolor() 274 putpixel(xp, yp, mycolor); in tracepoint() [all …]
|
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/drv/psikyo/ |
H A D | psikyosh_render.h | 18 #define PUTPIXEL_CLIP(forloop, splitpixel, putpixel) \ argument 32 putpixel \ 57 putpixel \ 68 #define PUTPIXEL(forloop, splitpixel, putpixel) \ argument 77 putpixel \ 87 #define PUTPIXEL_PRIO(forloop, splitpixel, putpixel) \ argument 96 putpixel \ 108 #define ZOOMPIXEL_PRIO(putpixel) \ argument 123 putpixel \ 134 #define ZOOMPIXEL_NORMAL(putpixel) \ argument [all …]
|
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/drv/psikyo/ |
H A D | psikyosh_render.h | 18 #define PUTPIXEL_CLIP(forloop, splitpixel, putpixel) \ argument 32 putpixel \ 57 putpixel \ 68 #define PUTPIXEL(forloop, splitpixel, putpixel) \ argument 77 putpixel \ 87 #define PUTPIXEL_PRIO(forloop, splitpixel, putpixel) \ argument 96 putpixel \ 108 #define ZOOMPIXEL_PRIO(putpixel) \ argument 123 putpixel \ 134 #define ZOOMPIXEL_NORMAL(putpixel) \ argument [all …]
|
/dports/editors/picpas/PicPas-7940bc3/txpres/Demo6 - IDE con compilador a ASM8086/pas32v25/GRAPH/ |
H A D | GRAPHIC.INC | 544 call putpixel ; putpixel(x-ix, y-h3, color); 547 call putpixel ; putpixel(x-ix, y+h3, color); 550 call putpixel ; putpixel(x+ix, y+h3, color); 553 call putpixel ; putpixel(x+ix, y-h3, color); 578 call putpixel ; putpixel(x-h2, y-iy, color); 581 call putpixel ; putpixel(x-h2, y+iy, color); 584 call putpixel ; putpixel(x+h2, y+iy, color); 587 call putpixel ; putpixel(x+h2, y-iy, color); 594 call putpixel ; putpixel(x-h3, y-ix, color); 597 call putpixel ; putpixel(x-h3, y+ix, color); [all …]
|
/dports/graphics/py-mcomix/mcomix3-9eb4fc7/mcomix/mcomix/ |
H A D | histogram.py | 34 im_data.putpixel((x + 1, height - 5 - y), (r_px, g_px, b_px)) 39 im_data.putpixel((x + 1, height - 5 - y), (255, g_px, b_px)) 42 im_data.putpixel((x, height - 5 - y), (255, g_px, b_px)) 45 im_data.putpixel((x + 1, height - 5 - y), (r_px, 255, b_px)) 48 im_data.putpixel((x, height - 5 - y), (r_px, 255, b_px)) 51 im_data.putpixel((x + 1, height - 5 - y), (r_px, g_px, 255)) 54 im_data.putpixel((x, height - 5 - y), (r_px, g_px, 255))
|
/dports/devel/p5-SDL/SDL-2.548/examples/pixel_operations/sols/ |
H A D | ch02.pl | 14 sub putpixel { subroutine 34 putpixel( 10, 10, 0xff0000 ); 35 putpixel( 11, 10, 0xff0000 ); 36 putpixel( 10, 11, 0xff0000 ); 37 putpixel( 11, 11, 0xff0000 );
|
/dports/games/openbor3482/openbor-2c1ecd7/engine/source/gamelib/ |
H A D | draw.c | 181 void putpixel(unsigned x, unsigned y, int colour, s_screen *screen, int alpha){ in putpixel() function 209 putpixel(x+cx, y+cy, col, screen, alpha); in circle() 210 if(cx) putpixel(x-cx, y+cy, col, screen, alpha); in circle() 211 if(cy) putpixel(x+cx, y-cy, col, screen, alpha); in circle() 212 if(cx && cy) putpixel(x-cx, y-cy, col, screen, alpha); in circle() 215 putpixel(x+cy, y+cx, col, screen, alpha); in circle() 216 if(cx) putpixel(x+cy, y-cx, col, screen, alpha); in circle() 217 if(cy) putpixel(x-cy, y+cx, col, screen, alpha); in circle() 218 if(cx && cy) putpixel(x-cy, y-cx, col, screen, alpha); in circle()
|
/dports/games/openbor3711/openbor-6ec17fa/engine/source/gamelib/ |
H A D | draw.c | 181 void putpixel(unsigned x, unsigned y, int colour, s_screen *screen, int alpha){ in putpixel() function 209 putpixel(x+cx, y+cy, col, screen, alpha); in circle() 210 if(cx) putpixel(x-cx, y+cy, col, screen, alpha); in circle() 211 if(cy) putpixel(x+cx, y-cy, col, screen, alpha); in circle() 212 if(cx && cy) putpixel(x-cx, y-cy, col, screen, alpha); in circle() 215 putpixel(x+cy, y+cx, col, screen, alpha); in circle() 216 if(cx) putpixel(x+cy, y-cx, col, screen, alpha); in circle() 217 if(cy) putpixel(x-cy, y+cx, col, screen, alpha); in circle() 218 if(cx && cy) putpixel(x-cy, y-cx, col, screen, alpha); in circle()
|
/dports/graphics/py-pyx/PyX-0.15/examples/bitmap/ |
H A D | pil.py | 5 im.putpixel((0, 0), (255, 0, 0)) 6 im.putpixel((1, 0), (0, 255, 0)) 7 im.putpixel((2, 0), (0, 0, 255))
|
/dports/games/ags/ags_linux_v.3.4.4.1/Engine/libsrc/alfont-2.0.9/ |
H A D | alfont.c | 1306 putpixel(bmp, bmp_x+1, bmp_y, alpha_table[alpha]); 1307 putpixel(bmp, bmp_x, bmp_y, alpha_table[alpha]); 1322 putpixel(bmp, bmp_x, bmp_y, alpha_table[alpha]); 1582 putpixel(bmp, bmp_x+1, bmp_y, color); 1583 putpixel(bmp, bmp_x, bmp_y, color); 1598 putpixel(bmp, bmp_x, bmp_y, color); 2430 putpixel(bmp, bmp_x+((max_bmp_y-bmp_y)/2), bmp_y, color); 2441 putpixel(bmp, bmp_x+1, bmp_y, color); 2442 putpixel(bmp, bmp_x, bmp_y, color); 2454 putpixel(bmp, bmp_x+((max_bmp_y-bmp_y)/2), bmp_y, color); [all …]
|
/dports/games/xblast/xblast-2.10.4/ |
H A D | sdl_text.c | 183 putpixel (surface, 0, y, SDL_MapRGB (surface->format, 0xff, 0xff, 0x0)); in GUI_DrawSimpleTextbox() 184 putpixel (surface, 1, y, SDL_MapRGB (surface->format, 0xff, 0xff, 0x0)); in GUI_DrawSimpleTextbox() 189 putpixel (surface, x, 0, SDL_MapRGB (surface->format, 0xff, 0xff, 0x0)); in GUI_DrawSimpleTextbox() 315 putpixel (rect_surface, line, rect_surface->h - i, BackGround); in GUI_DrawTextbox() 319 putpixel (rect_surface, rect_surface->w - i, col, BackGround); in GUI_DrawTextbox() 329 putpixel (rect_surface, x, y, in GUI_DrawTextbox() 441 putpixel (surface, x + l, y, ocolor); in RenderOutlineText() 446 putpixel (surface, x - l, y, ocolor); in RenderOutlineText() 451 putpixel (surface, x, y + l, ocolor); in RenderOutlineText() 456 putpixel (surface, x, y - l, ocolor); in RenderOutlineText() [all …]
|
/dports/games/highmoon/HighMoon/src/ |
H A D | graphics.cpp | 239 void Sprite::putpixel( int x, int y, Uint32 pixel, SDL_Surface *screen ) in putpixel() function in Sprite 427 …Sprite::putpixel( xx, yy, SDL_MapRGB( zoom_surface->format, color.r, color.g, color.b ), zoom_surf… in zoom() 458 Sprite::putpixel( x, y, SDL_MapRGB( MYSDLSCREEN->format, c, c, c )); in draw() 461 Sprite::putpixel( x+1, y, SDL_MapRGB( MYSDLSCREEN->format, c/2, c/2, c/2 )); in draw() 462 Sprite::putpixel( x+1, y+1, SDL_MapRGB( MYSDLSCREEN->format, c/2, c/2, c/2 )); in draw() 463 Sprite::putpixel( x, y+1, SDL_MapRGB( MYSDLSCREEN->format, c/2, c/2, c/2 )); in draw() 519 Sprite::putpixel( x, y, SDL_MapRGB( MYSDLSCREEN->format, c, c, c + 20 )); in draw() 604 …Sprite::putpixel( (int)(x+xoffset), (int)(y+yoffset), SDL_MapRGB( MYSDLSCREEN->format, r, g, b ) ); in draw() 607 …Sprite::putpixel( (int)(x+xoffset+1), (int)(y + yoffset), SDL_MapRGB( MYSDLSCREEN->format, r/2, g/… in draw() 610 …Sprite::putpixel( (int)(x+xoffset), (int)(y + yoffset + 1), SDL_MapRGB( MYSDLSCREEN->format, r/2, … in draw() [all …]
|
/dports/devel/allegro/allegro-4.4.3.1/addons/allegrogl/src/amesa/ |
H A D | generic.h | 89 putpixel(bmp, x, y, makecol(rgba[0][RCOMP], rgba[0][GCOMP], rgba[0][BCOMP])); in write_rgba_span_generic() 95 putpixel(bmp, x, y, makecol(rgba[0][RCOMP], rgba[0][GCOMP], rgba[0][BCOMP])); in write_rgba_span_generic() 115 putpixel(bmp, x, y, makecol(rgb[0][RCOMP], rgb[0][GCOMP], rgb[0][BCOMP])); in write_rgb_span_generic() 121 putpixel(bmp, x, y, makecol(rgb[0][RCOMP], rgb[0][GCOMP], rgb[0][BCOMP])); in write_rgb_span_generic() 148 putpixel(bmp, x, y, color); in write_mono_rgba_span_generic() 191 … putpixel(bmp, x[0], FLIP(context, y[0]), makecol(rgba[0][RCOMP], rgba[0][GCOMP], rgba[0][BCOMP])); in write_rgba_pixels_generic() 216 putpixel(bmp, x[0], FLIP(context, y[0]), color); in write_mono_rgba_pixels_generic()
|
/dports/devel/flatzebra/flatzebra-0.1.7/src/flatzebra/ |
H A D | GameEngine.cpp | 309 GameEngine::putpixel(SDL_Surface *surface, int x, int y, Uint32 pixel) in putpixel() function in GameEngine 392 putpixel(surface, x0, y0, fgc); in wu_line() 424 putpixel(surface, x0, y0, fgc); in wu_line() 453 putpixel(surface, x0, y0, colors[wgt]); in wu_line() 454 putpixel(surface, x0+xdir, y0, colors[wgt^wgtcompmask]); in wu_line() 458 putpixel(surface, x1, y1, fgc); in wu_line() 478 putpixel(surface, x0, y0, colors[wgt]); in wu_line() 479 putpixel(surface, x0, y0+1, colors[wgt^wgtcompmask]); in wu_line() 483 putpixel(surface, x1, y1, fgc); in wu_line()
|
/dports/games/luola/luola-1.3.2/src/ |
H A D | level.c | 122 putpixel (screen, targ->x + lev_stars[r].x, in draw_stars() 475 putpixel (lev_level.terrain, x, y, col_green); in start_melting() 553 putpixel (lev_level.terrain, rx, ry, lev_watercol); in make_hole() 556 putpixel (lev_level.terrain, rx, ry, col_black); in make_hole() 583 putpixel (lev_level.terrain, rx, ry, col_gray); in burn_hole() 696 putpixel (lev_level.terrain, nx, ny, in animate_level() 700 putpixel (lev_level.terrain, nx, ny, in animate_level() 712 putpixel (lev_level.terrain, list->fx->x, list->fx->y, in animate_level() 750 putpixel (lev_level.terrain, list->fx->x, list->fx->y, in animate_level() 762 putpixel (lev_level.terrain, list->fx->x, list->fx->y, in animate_level() [all …]
|
/dports/misc/explosions/explosions-2005.07.31/ |
H A D | explosions.c | 1122 putpixel(screen, x, y, in fadeout() 1257 putpixel(tmp, nx + 0, ny + 0, pix); in zoomin() 1258 putpixel(tmp, nx + 1, ny + 0, pix); in zoomin() 1259 putpixel(tmp, nx + 0, ny + 1, pix); in zoomin() 1260 putpixel(tmp, nx + 1, ny + 1, pix); in zoomin() 1352 putpixel(tmp, nx + 0, ny + 0, pix); in rotatescreen() 1353 putpixel(tmp, nx + 1, ny + 0, pix); in rotatescreen() 1354 putpixel(tmp, nx + 0, ny + 1, pix); in rotatescreen() 1458 putpixel(tmp, xx, yy, in blurscreen() 1508 putpixel(screen, x, y, in dissolvescreen() [all …]
|
/dports/devel/allegro/allegro-4.4.3.1/addons/allegrogl/examp/ |
H A D | dumbtest.c | 86 putpixel(trans_mem_bitmap, x, y, makeacol32(getr(col), getg(col), getb(col), y*4)); in main() 202 putpixel(screen, 0, 0, makecol(0xff, 0xff, 0xff)); in main() 203 putpixel(screen, 639, 0, makecol(0xff, 0xff, 0xff)); in main() 204 putpixel(screen, 0, 479, makecol(0xff, 0xff, 0xff)); in main() 205 putpixel(screen, 639, 479, makecol(0xff, 0xff, 0xff)); in main() 206 putpixel(screen, 0, 478, makecol(0xff, 0xff, 0xff)); in main() 207 putpixel(screen, 639, 478, makecol(0xff, 0xff, 0xff)); in main()
|