- BlitBitmap(backbuffer, screen_info.save_buffer, dest_x-pad_x, dest_y-pad_y,
- width+2*pad_x, height+2*pad_y, buf_x, buf_y);
- SetClipOrigin(toon_bitmap, toon_clip_gc, dest_x-src_x, dest_y-src_y);
- BlitBitmapMasked(toon_bitmap, backbuffer,
- src_x, src_y, width, height, dest_x, dest_y);
- BlitBitmap(backbuffer, window, dest_x-pad_x, dest_y-pad_y,
- width+2*pad_x, height+2*pad_y, dest_x-pad_x, dest_y-pad_y);
+ BlitBitmap(backbuffer, screen_info.save_buffer, pad_dest_x, pad_dest_y,
+ pad_width, pad_height, buffer_x, buffer_y);
+ BlitBitmapMasked(toon_bitmap, backbuffer, src_x, src_y, width, height,
+ dest_x, dest_y);
+ BlitBitmap(backbuffer, window, pad_dest_x, pad_dest_y, pad_width, pad_height,
+ pad_dest_x, pad_dest_y);