/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/vidhrdw/ |
H A D | sys16spr.c | 64 sprite->zoomx = zoomx; in sys16_sprite_shinobi() 159 sprite->zoomx = zoomx; in sys16_sprite_aurail() 297 zoomy = (1060*zoomx)/(2048-zoomx); in sys16_sprite_hangon() 319 sprite->zoomx = zoomx; in sys16_sprite_hangon() 345 sprite->zoomy = (1024*sprite->zoomx)/(2048-sprite->zoomx); in sys16_sprite_sharrier() 395 zoomx&=0x3ff; in sys16_sprite_outrun() 397 if(zoomx==0) zoomx=1; in sys16_sprite_outrun() 408 sprite->zoomx = zoomx; in sys16_sprite_outrun() 446 zoomx&=0x3ff; in sys16_sprite_aburner() 448 if(zoomx==0) zoomx=1; in sys16_sprite_aburner() [all …]
|
H A D | taito_h_vidhrdw.c | 138 if (zoomx < 63) in syvalion_draw_sprites() 140 dx = 8 + (zoomx + 2) / 8; in syvalion_draw_sprites() 141 ex = (zoomx + 2) % 8; in syvalion_draw_sprites() 147 ex = (zoomx - 63) % 4; in syvalion_draw_sprites() 236 if (zoomx < 63) in recordbr_draw_sprites() 238 dx = 8 + (zoomx + 2) / 8; in recordbr_draw_sprites() 239 ex = (zoomx + 2) % 8; in recordbr_draw_sprites() 245 ex = (zoomx - 63) % 4; in recordbr_draw_sprites() 345 if (zoomx < 63) in dleague_draw_sprites() 348 ex = (zoomx + 2) % 8; in dleague_draw_sprites() [all …]
|
H A D | taito_z_vidhrdw.c | 208 zoomx = (data & 0x7f); in contcirc_draw_sprites_16x8() 214 zoomx += 1; in contcirc_draw_sprites_16x8() 292 zoomx = (data & 0x7f); in chasehq_draw_sprites_16x16() 305 zoomx += 1; in chasehq_draw_sprites_16x16() 477 zoomx = (data & 0x3f); in bshark_draw_sprites_16x8() 491 zoomx += 1; in bshark_draw_sprites_16x8() 579 zoomx = (data & 0x3f); in sci_draw_sprites_16x8() 593 zoomx += 1; in sci_draw_sprites_16x8() 676 zoomx = (data & 0x3f); in aquajack_draw_sprites_16x8() 686 zoomx += 1; in aquajack_draw_sprites_16x8() [all …]
|
H A D | f1gp_vidhrdw.c | 205 int ox,oy,x,y,xsize,ysize,zoomx,zoomy,flipx,flipy,color,pri; in f1gp_drawsprites() local 214 zoomx = (spram[attr_start + 1] & 0xf000) >> 12; in f1gp_drawsprites() 224 zoomx = 16 - zoomtable[zoomx]/8; in f1gp_drawsprites() 239 else sx = ((ox + zoomx * x + 16) & 0x1ff) - 16; in f1gp_drawsprites() 252 0x1000 * zoomx,0x1000 * zoomy, in f1gp_drawsprites() 339 int ox,oy,x,y,xsize,ysize,zoomx,zoomy,flipx,flipy,color; in f1gp2_drawsprites() local 345 zoomx = (f1gp2_spritelist[attr_start + 1] & 0xf000) >> 12; in f1gp2_drawsprites() 358 zoomx = 32 - zoomx; in f1gp2_drawsprites() 375 else sx = ((ox + zoomx * x / 2 + 16) & 0x1ff) - 16; in f1gp2_drawsprites() 387 zoomx << 11,zoomy << 11); in f1gp2_drawsprites() [all …]
|
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/vidhrdw/ |
H A D | sys16spr.c | 66 zoomx <<= 5; in sys16_sprite_shinobi() 82 sprite->zoomx = zoomx; in sys16_sprite_shinobi() 270 zoomy = (1060*zoomx)/(2048-zoomx); in sys16_sprite_hangon() 292 sprite->zoomx = zoomx; in sys16_sprite_hangon() 318 sprite->zoomy = (1024*sprite->zoomx)/(2048-sprite->zoomx); in sys16_sprite_sharrier() 368 zoomx&=0x3ff; in sys16_sprite_outrun() 370 if(zoomx==0) zoomx=1; in sys16_sprite_outrun() 381 sprite->zoomx = zoomx; in sys16_sprite_outrun() 419 zoomx&=0x3ff; in sys16_sprite_aburner() 421 if(zoomx==0) zoomx=1; in sys16_sprite_aburner() [all …]
|
H A D | taito_h_vidhrdw.c | 138 if (zoomx < 63) in syvalion_draw_sprites() 140 dx = 8 + (zoomx + 2) / 8; in syvalion_draw_sprites() 141 ex = (zoomx + 2) % 8; in syvalion_draw_sprites() 147 ex = (zoomx - 63) % 4; in syvalion_draw_sprites() 236 if (zoomx < 63) in recordbr_draw_sprites() 238 dx = 8 + (zoomx + 2) / 8; in recordbr_draw_sprites() 239 ex = (zoomx + 2) % 8; in recordbr_draw_sprites() 245 ex = (zoomx - 63) % 4; in recordbr_draw_sprites() 345 if (zoomx < 63) in dleague_draw_sprites() 348 ex = (zoomx + 2) % 8; in dleague_draw_sprites() [all …]
|
H A D | taito_z_vidhrdw.c | 208 zoomx = (data & 0x7f); in contcirc_draw_sprites_16x8() 214 zoomx += 1; in contcirc_draw_sprites_16x8() 292 zoomx = (data & 0x7f); in chasehq_draw_sprites_16x16() 305 zoomx += 1; in chasehq_draw_sprites_16x16() 477 zoomx = (data & 0x3f); in bshark_draw_sprites_16x8() 491 zoomx += 1; in bshark_draw_sprites_16x8() 579 zoomx = (data & 0x3f); in sci_draw_sprites_16x8() 593 zoomx += 1; in sci_draw_sprites_16x8() 676 zoomx = (data & 0x3f); in aquajack_draw_sprites_16x8() 686 zoomx += 1; in aquajack_draw_sprites_16x8() [all …]
|
H A D | f1gp_vidhrdw.c | 205 int ox,oy,x,y,xsize,ysize,zoomx,zoomy,flipx,flipy,color,pri; in f1gp_drawsprites() local 214 zoomx = (spram[attr_start + 1] & 0xf000) >> 12; in f1gp_drawsprites() 224 zoomx = 16 - zoomtable[zoomx]/8; in f1gp_drawsprites() 239 else sx = ((ox + zoomx * x + 16) & 0x1ff) - 16; in f1gp_drawsprites() 252 0x1000 * zoomx,0x1000 * zoomy, in f1gp_drawsprites() 339 int ox,oy,x,y,xsize,ysize,zoomx,zoomy,flipx,flipy,color; in f1gp2_drawsprites() local 345 zoomx = (f1gp2_spritelist[attr_start + 1] & 0xf000) >> 12; in f1gp2_drawsprites() 358 zoomx = 32 - zoomx; in f1gp2_drawsprites() 375 else sx = ((ox + zoomx * x / 2 + 16) & 0x1ff) - 16; in f1gp2_drawsprites() 387 zoomx << 11,zoomy << 11); in f1gp2_drawsprites() [all …]
|
H A D | aerofgt_vidhrdw.c | 318 int ox,oy,x,y,xsize,ysize,zoomx,zoomy,flipx,flipy,color; in aerofgt_drawsprites() local 331 ox += (xsize*zoomx+2)/4; in aerofgt_drawsprites() 334 zoomx = 32 - zoomx; in aerofgt_drawsprites() 349 else sx = ((ox + zoomx * x / 2 + 16) & 0x1ff) - 16; in aerofgt_drawsprites() 362 zoomx << 11, zoomy << 11); in aerofgt_drawsprites() 407 zoomx = 32 - zoomx; in turbofrc_drawsprites() 422 else sx = ((ox + zoomx * x / 2 + 16) & 0x1ff) - 16; in turbofrc_drawsprites() 435 zoomx << 11,zoomy << 11, in turbofrc_drawsprites() 483 zoomx = 32 - zoomx; in spinlbrk_draw_sprites() 498 else sx = ((ox + zoomx * x / 2 + 16) & 0x1ff) - 16; in spinlbrk_draw_sprites() [all …]
|
/dports/emulators/mess/mame-mame0226/src/mame/video/ |
H A D | vsystem_spr.cpp | 98 save_item(NAME(m_curr_sprite.zoomx)); in device_start() 143 zoomx = (ram[1] & 0xf000) >> 12; in get() 175 m_curr_sprite.zoomx = 32 - m_curr_sprite.zoomx; in common_sprite_drawgfx() 197 …rite.ox + xcnt * m_curr_sprite.zoomx/2, m_curr_sprite.oy + ycnt * m_curr_sprite.zoomy/2, … in common_sprite_drawgfx() 198 …_sprite.ox + xcnt * m_curr_sprite.zoomx/2, m_curr_sprite.oy + ycnt * m_curr_sprite.zoomy/2, … in common_sprite_drawgfx() 199 …rite.ox + xcnt * m_curr_sprite.zoomx/2, -0x200+m_curr_sprite.oy + ycnt * m_curr_sprite.zoom… in common_sprite_drawgfx() 200 …_sprite.ox + xcnt * m_curr_sprite.zoomx/2, -0x200+m_curr_sprite.oy + ycnt * m_curr_sprite.zoomy/2,… in common_sprite_drawgfx() 204 …rite.ox + xcnt * m_curr_sprite.zoomx/2, m_curr_sprite.oy + ycnt * m_curr_sprite.zoomy/2, … in common_sprite_drawgfx() 205 …_sprite.ox + xcnt * m_curr_sprite.zoomx/2, m_curr_sprite.oy + ycnt * m_curr_sprite.zoomy/2, … in common_sprite_drawgfx() 206 …rite.ox + xcnt * m_curr_sprite.zoomx/2, -0x200+m_curr_sprite.oy + ycnt * m_curr_sprite.zoom… in common_sprite_drawgfx() [all …]
|
H A D | hng64_sprite.hxx | 67 uint32_t zoomx,zoomy; in draw_sprites() local 92 zoomx = (source[1]&0x0000ffff)>>0; in draw_sprites() 127 if(!zoomx) zoomx=zoom_factor; in draw_sprites() 131 foomX = (float)(zoom_factor) / (float)zoomx; in draw_sprites() 134 zoomx = ((int)foomX) << 16; in draw_sprites() 137 zoomx += (int)((foomX - floor(foomX)) * (float)0x10000); in draw_sprites() 197 …if (!blend) gfx->prio_zoom_transpen(bitmap,cliprect,tileno,pal,xflip,yflip,drawx,drawy,zoomx,zoomy… in draw_sprites() 198 …else gfx->prio_zoom_transpen_additive(bitmap,cliprect,tileno,pal,xflip,yflip,drawx,drawy,zoomx,zoo… in draw_sprites() 217 …if (!blend) gfx->prio_zoom_transpen(bitmap,cliprect,tileno,pal,xflip,yflip,drawx,drawy,zoomx,zoomy… in draw_sprites() 218 …else gfx->prio_zoom_transpen_additive(bitmap,cliprect,tileno,pal,xflip,yflip,drawx,drawy,zoomx,zoo… in draw_sprites()
|
H A D | taito_z.cpp | 170 int zoomx = (data & 0x007f); in contcirc_draw_sprites_16x8() local 177 zoomx += 1; in contcirc_draw_sprites_16x8() 202 int curx = x + ((k * zoomx) / 8); in contcirc_draw_sprites_16x8() 264 zoomx += 1; in chasehq_draw_sprites_16x16() 293 int curx = x + ((k * zoomx) / 8); in chasehq_draw_sprites_16x16() 443 zoomx += 1; in bshark_draw_sprites_16x8() 468 int curx = x + ((k * zoomx) / 4); in bshark_draw_sprites_16x8() 540 zoomx += 1; in sci_draw_sprites_16x8() 628 zoomx += 1; in aquajack_draw_sprites_16x8() 652 int curx = x + ((k * zoomx)/4); in aquajack_draw_sprites_16x8() [all …]
|
H A D | vsystem_spr2.cpp | 71 zoomx = (ram[1] & 0xf000) >> 12; in get() 166 m_curr_sprite.zoomx = 32 - m_curr_sprite.zoomx; in turbofrc_draw_sprites_common() 177 …int sx = ((m_curr_sprite.ox + m_curr_sprite.zoomx * (flip_screen ? -cx : cx) / 2 + 16) & 0x1ff) - … in turbofrc_draw_sprites_common() 183 …rect, curr, m_curr_sprite.color, fx, fy, sx-0x000,sy-0x000, m_curr_sprite.zoomx << 11, m_curr_spri… in turbofrc_draw_sprites_common() 184 …rect, curr, m_curr_sprite.color, fx, fy, sx-0x200,sy-0x000, m_curr_sprite.zoomx << 11, m_curr_spri… in turbofrc_draw_sprites_common() 185 …rect, curr, m_curr_sprite.color, fx, fy, sx-0x000,sy-0x200, m_curr_sprite.zoomx << 11, m_curr_spri… in turbofrc_draw_sprites_common() 186 …rect, curr, m_curr_sprite.color, fx, fy, sx-0x200,sy-0x200, m_curr_sprite.zoomx << 11, m_curr_spri… in turbofrc_draw_sprites_common() 190 …rect, curr, m_curr_sprite.color, fx, fy, sx-0x000,sy-0x000, m_curr_sprite.zoomx << 11, m_curr_spri… in turbofrc_draw_sprites_common() 191 …rect, curr, m_curr_sprite.color, fx, fy, sx-0x200,sy-0x000, m_curr_sprite.zoomx << 11, m_curr_spri… in turbofrc_draw_sprites_common() 192 …rect, curr, m_curr_sprite.color, fx, fy, sx-0x000,sy-0x200, m_curr_sprite.zoomx << 11, m_curr_spri… in turbofrc_draw_sprites_common() [all …]
|
H A D | psikyo.cpp | 235 x += (nx * zoomx + 2) / 4; in get_sprites() 238 zoomx = 32 - zoomx; in get_sprites() 243 x = width - x - (nx * zoomx) / 2; in get_sprites() 264 if (zoomx == 32 && zoomy == 32) in get_sprites() 274 m_sprite_ptr_pre->zoomx = zoomx << 11; in get_sprites() 342 x += (nx * zoomx + 2) / 4; in get_sprites_bootleg() 345 zoomx = 32 - zoomx; in get_sprites_bootleg() 350 x = width - x - (nx * zoomx) / 2; in get_sprites_bootleg() 371 if (zoomx == 32 && zoomy == 32) in get_sprites_bootleg() 381 m_sprite_ptr_pre->zoomx = zoomx << 11; in get_sprites_bootleg() [all …]
|
H A D | k053244_k053245.cpp | 327 …int ox, oy, color, code, size, w, h, x, y, flipx, flipy, mirrorx, mirrory, shadow, zoomx, zoomy, p… in sprites_draw() local 389 zoomx = m_buffer[offs + 5]; in sprites_draw() 390 if (zoomx > 0x2000) in sprites_draw() 392 if (zoomx) in sprites_draw() 393 zoomx = (0x400000 + zoomx / 2) / zoomx; in sprites_draw() 395 zoomx = 2 * 0x400000; in sprites_draw() 399 zoomx = zoomy; in sprites_draw() 435 ox -= (zoomx * w) >> 13; in sprites_draw() 451 sx = ox + ((zoomx * x + (1 << 11)) >> 12); in sprites_draw() 452 zw = (ox + ((zoomx * (x+1) + (1 << 11)) >> 12)) - sx; in sprites_draw() [all …]
|
/dports/emulators/mame/mame-mame0226/src/mame/video/ |
H A D | vsystem_spr.cpp | 98 save_item(NAME(m_curr_sprite.zoomx)); in device_start() 143 zoomx = (ram[1] & 0xf000) >> 12; in get() 175 m_curr_sprite.zoomx = 32 - m_curr_sprite.zoomx; in common_sprite_drawgfx() 197 …rite.ox + xcnt * m_curr_sprite.zoomx/2, m_curr_sprite.oy + ycnt * m_curr_sprite.zoomy/2, … in common_sprite_drawgfx() 198 …_sprite.ox + xcnt * m_curr_sprite.zoomx/2, m_curr_sprite.oy + ycnt * m_curr_sprite.zoomy/2, … in common_sprite_drawgfx() 199 …rite.ox + xcnt * m_curr_sprite.zoomx/2, -0x200+m_curr_sprite.oy + ycnt * m_curr_sprite.zoom… in common_sprite_drawgfx() 200 …_sprite.ox + xcnt * m_curr_sprite.zoomx/2, -0x200+m_curr_sprite.oy + ycnt * m_curr_sprite.zoomy/2,… in common_sprite_drawgfx() 204 …rite.ox + xcnt * m_curr_sprite.zoomx/2, m_curr_sprite.oy + ycnt * m_curr_sprite.zoomy/2, … in common_sprite_drawgfx() 205 …_sprite.ox + xcnt * m_curr_sprite.zoomx/2, m_curr_sprite.oy + ycnt * m_curr_sprite.zoomy/2, … in common_sprite_drawgfx() 206 …rite.ox + xcnt * m_curr_sprite.zoomx/2, -0x200+m_curr_sprite.oy + ycnt * m_curr_sprite.zoom… in common_sprite_drawgfx() [all …]
|
H A D | hng64_sprite.hxx | 67 uint32_t zoomx,zoomy; in draw_sprites() local 92 zoomx = (source[1]&0x0000ffff)>>0; in draw_sprites() 127 if(!zoomx) zoomx=zoom_factor; in draw_sprites() 131 foomX = (float)(zoom_factor) / (float)zoomx; in draw_sprites() 134 zoomx = ((int)foomX) << 16; in draw_sprites() 137 zoomx += (int)((foomX - floor(foomX)) * (float)0x10000); in draw_sprites() 197 …if (!blend) gfx->prio_zoom_transpen(bitmap,cliprect,tileno,pal,xflip,yflip,drawx,drawy,zoomx,zoomy… in draw_sprites() 198 …else gfx->prio_zoom_transpen_additive(bitmap,cliprect,tileno,pal,xflip,yflip,drawx,drawy,zoomx,zoo… in draw_sprites() 217 …if (!blend) gfx->prio_zoom_transpen(bitmap,cliprect,tileno,pal,xflip,yflip,drawx,drawy,zoomx,zoomy… in draw_sprites() 218 …else gfx->prio_zoom_transpen_additive(bitmap,cliprect,tileno,pal,xflip,yflip,drawx,drawy,zoomx,zoo… in draw_sprites()
|
H A D | taito_z.cpp | 170 int zoomx = (data & 0x007f); in contcirc_draw_sprites_16x8() local 177 zoomx += 1; in contcirc_draw_sprites_16x8() 202 int curx = x + ((k * zoomx) / 8); in contcirc_draw_sprites_16x8() 264 zoomx += 1; in chasehq_draw_sprites_16x16() 293 int curx = x + ((k * zoomx) / 8); in chasehq_draw_sprites_16x16() 443 zoomx += 1; in bshark_draw_sprites_16x8() 468 int curx = x + ((k * zoomx) / 4); in bshark_draw_sprites_16x8() 540 zoomx += 1; in sci_draw_sprites_16x8() 628 zoomx += 1; in aquajack_draw_sprites_16x8() 652 int curx = x + ((k * zoomx)/4); in aquajack_draw_sprites_16x8() [all …]
|
H A D | vsystem_spr2.cpp | 71 zoomx = (ram[1] & 0xf000) >> 12; in get() 166 m_curr_sprite.zoomx = 32 - m_curr_sprite.zoomx; in turbofrc_draw_sprites_common() 177 …int sx = ((m_curr_sprite.ox + m_curr_sprite.zoomx * (flip_screen ? -cx : cx) / 2 + 16) & 0x1ff) - … in turbofrc_draw_sprites_common() 183 …rect, curr, m_curr_sprite.color, fx, fy, sx-0x000,sy-0x000, m_curr_sprite.zoomx << 11, m_curr_spri… in turbofrc_draw_sprites_common() 184 …rect, curr, m_curr_sprite.color, fx, fy, sx-0x200,sy-0x000, m_curr_sprite.zoomx << 11, m_curr_spri… in turbofrc_draw_sprites_common() 185 …rect, curr, m_curr_sprite.color, fx, fy, sx-0x000,sy-0x200, m_curr_sprite.zoomx << 11, m_curr_spri… in turbofrc_draw_sprites_common() 186 …rect, curr, m_curr_sprite.color, fx, fy, sx-0x200,sy-0x200, m_curr_sprite.zoomx << 11, m_curr_spri… in turbofrc_draw_sprites_common() 190 …rect, curr, m_curr_sprite.color, fx, fy, sx-0x000,sy-0x000, m_curr_sprite.zoomx << 11, m_curr_spri… in turbofrc_draw_sprites_common() 191 …rect, curr, m_curr_sprite.color, fx, fy, sx-0x200,sy-0x000, m_curr_sprite.zoomx << 11, m_curr_spri… in turbofrc_draw_sprites_common() 192 …rect, curr, m_curr_sprite.color, fx, fy, sx-0x000,sy-0x200, m_curr_sprite.zoomx << 11, m_curr_spri… in turbofrc_draw_sprites_common() [all …]
|
H A D | psikyo.cpp | 235 x += (nx * zoomx + 2) / 4; in get_sprites() 238 zoomx = 32 - zoomx; in get_sprites() 243 x = width - x - (nx * zoomx) / 2; in get_sprites() 264 if (zoomx == 32 && zoomy == 32) in get_sprites() 274 m_sprite_ptr_pre->zoomx = zoomx << 11; in get_sprites() 342 x += (nx * zoomx + 2) / 4; in get_sprites_bootleg() 345 zoomx = 32 - zoomx; in get_sprites_bootleg() 350 x = width - x - (nx * zoomx) / 2; in get_sprites_bootleg() 371 if (zoomx == 32 && zoomy == 32) in get_sprites_bootleg() 381 m_sprite_ptr_pre->zoomx = zoomx << 11; in get_sprites_bootleg() [all …]
|
/dports/devel/p5-SDL/SDL-2.548/src/GFX/ |
H A D | Rotozoom.xs | 62 gfx_roto_surface_xy(src, angle, zoomx, zoomy, smooth) 65 double zoomx 78 gfx_roto_surface_xy(src, angle, zoomx, zoomy, smooth) 81 double zoomx 111 gfx_roto_surface_size_xy(width, height, angle, zoomx, zoomy) 115 double zoomx 129 gfx_roto_zoom_surface(src, zoomx, zoomy, smooth) 131 double zoomx 137 RETVAL = zoomSurface(src, zoomx, zoomy, smooth); 142 gfx_roto_zoom_surface_size(width, height, zoomx, zoomy) [all …]
|
/dports/multimedia/librespot/librespot-0.1.3/cargo-crates/sdl2-0.32.2/src/sdl2/gfx/ |
H A D | rotozoom.rs | 15 …fn rotozoom_xy(&self, angle: f64, zoomx: f64, zoomy: f64, smooth: bool) -> Result<Surface, String>; in rotozoom_xy() 17 fn zoom(&self, zoomx: f64, zoomy: f64, smooth: bool) -> Result<Surface, String>; in zoom() 35 …fn rotozoom_xy(&self, angle: f64, zoomx: f64, zoomy: f64, smooth: bool) -> Result<Surface, String>… in rotozoom_xy() 37 rotozoom::rotozoomSurfaceXY(self.raw(), angle, zoomx, zoomy, smooth as c_int) in rotozoom_xy() 45 fn zoom(&self, zoomx: f64, zoomy: f64, smooth: bool) -> Result<Surface, String> { in zoom() 47 rotozoom::zoomSurface(self.raw(), zoomx, zoomy, smooth as c_int) in zoom() 77 pub fn get_zoom_size(width: i32, height: i32, zoomx: f64, zoomy: f64) -> (i32, i32) { in get_zoom_size() 80 …unsafe { rotozoom::zoomSurfaceSize(width as c_int, height as c_int, zoomx, zoomy, &mut w, &mut h) } in get_zoom_size() 91 pub fn get_rotozoom_xy_size(width: i32, height: i32, angle: f64, zoomx: f64, zoomy: f64) -> (i32, i… in get_rotozoom_xy_size() 94 …unsafe { rotozoom::rotozoomSurfaceSizeXY(width as c_int, height as c_int, angle, zoomx, zoomy, &mu… in get_rotozoom_xy_size()
|
/dports/games/dose-response/dose-response-179c326/cargo-crates/sdl2-0.32.2/src/sdl2/gfx/ |
H A D | rotozoom.rs | 15 …fn rotozoom_xy(&self, angle: f64, zoomx: f64, zoomy: f64, smooth: bool) -> Result<Surface, String>; in rotozoom_xy() 17 fn zoom(&self, zoomx: f64, zoomy: f64, smooth: bool) -> Result<Surface, String>; in zoom() 35 …fn rotozoom_xy(&self, angle: f64, zoomx: f64, zoomy: f64, smooth: bool) -> Result<Surface, String>… in rotozoom_xy() 37 rotozoom::rotozoomSurfaceXY(self.raw(), angle, zoomx, zoomy, smooth as c_int) in rotozoom_xy() 45 fn zoom(&self, zoomx: f64, zoomy: f64, smooth: bool) -> Result<Surface, String> { in zoom() 47 rotozoom::zoomSurface(self.raw(), zoomx, zoomy, smooth as c_int) in zoom() 77 pub fn get_zoom_size(width: i32, height: i32, zoomx: f64, zoomy: f64) -> (i32, i32) { in get_zoom_size() 80 …unsafe { rotozoom::zoomSurfaceSize(width as c_int, height as c_int, zoomx, zoomy, &mut w, &mut h) } in get_zoom_size() 91 pub fn get_rotozoom_xy_size(width: i32, height: i32, angle: f64, zoomx: f64, zoomy: f64) -> (i32, i… in get_rotozoom_xy_size() 94 …unsafe { rotozoom::rotozoomSurfaceSizeXY(width as c_int, height as c_int, angle, zoomx, zoomy, &mu… in get_rotozoom_xy_size()
|
/dports/graphics/librsvg2/librsvg-2.40.21/ |
H A D | rsvg-size-callback.c | 33 double zoomx, zoomy, zoom; in _rsvg_size_callback() local 57 zoomx = (double) real_data->width / *width; in _rsvg_size_callback() 59 zoom = MIN (zoomx, zoomy); in _rsvg_size_callback() 70 zoomx = (double) real_data->width / *width; in _rsvg_size_callback() 72 if (zoomx < 0) in _rsvg_size_callback() 75 zoom = zoomx; in _rsvg_size_callback() 77 zoom = MIN (zoomx, zoomy); in _rsvg_size_callback()
|
/dports/graphics/xpaint/xpaint-2.9.10.3/ |
H A D | magnifier.c | 392 h = (unsigned int) ((width+zoomx-1) / zoomx); in btnDownCB() 397 w = (unsigned int) ((width+zoomx-1) / zoomx); in btnDownCB() 509 h = (unsigned int) ((width+zoomx-1) / zoomx); in btnMotionCB() 555 zoomx = (zoomx + zoomy)/2; in keyReleaseCB() 588 if (zoomx>MAXZOOM) zoomx = MAXZOOM; in keyReleaseCB() 603 if (zoomx<1) zoomx = 1; in keyReleaseCB() 684 zoomx = (zoomx + zoomy)/2; in zoomCB() 717 if (zoomx>MAXZOOM) zoomx = MAXZOOM; in sliderScrollCB() 722 if (zoomx<=0) zoomx = 1; in sliderScrollCB() 805 h = (width+zoomx-1)/zoomx; in drawCB() [all …]
|