Home
last modified time | relevance | path

Searched refs:curr_surface (Results 1 – 6 of 6) sorted by relevance

/dports/devel/etl/synfig-1.2.2/synfig-core/src/modules/mod_gif/
H A Dtrgt_gif.cpp123 curr_surface.set_wh(w,h); in init()
126 curr_surface.clear(); in init()
229 Surface::alpha_pen pen(curr_surface.begin(),1.0,Color::BLEND_BEHIND); in end_frame()
231 for(int y=0;y<curr_surface.get_h();y++,pen.inc_y()) in end_frame()
234 for(x=0;x<curr_surface.get_w();x++,pen.inc_x()) in end_frame()
332 Color color(curr_surface[cur_scanline][i].clamped()); in end_frame()
339 if(curr_surface.get_h()>cur_scanline+1) in end_frame()
341 curr_surface[cur_scanline+1][i-1] += error * ((float)3/(float)16); in end_frame()
343 if(curr_surface.get_w()>i+1) in end_frame()
346 if(curr_surface.get_w()>i+1) in end_frame()
[all …]
H A Dtrgt_gif.h176 synfig::Surface curr_surface; variable
/dports/graphics/synfig/synfig-1.2.2/synfig-core/src/modules/mod_gif/
H A Dtrgt_gif.cpp123 curr_surface.set_wh(w,h); in init()
126 curr_surface.clear(); in init()
229 Surface::alpha_pen pen(curr_surface.begin(),1.0,Color::BLEND_BEHIND); in end_frame()
231 for(int y=0;y<curr_surface.get_h();y++,pen.inc_y()) in end_frame()
234 for(x=0;x<curr_surface.get_w();x++,pen.inc_x()) in end_frame()
332 Color color(curr_surface[cur_scanline][i].clamped()); in end_frame()
339 if(curr_surface.get_h()>cur_scanline+1) in end_frame()
341 curr_surface[cur_scanline+1][i-1] += error * ((float)3/(float)16); in end_frame()
343 if(curr_surface.get_w()>i+1) in end_frame()
346 if(curr_surface.get_w()>i+1) in end_frame()
[all …]
H A Dtrgt_gif.h176 synfig::Surface curr_surface; variable
/dports/graphics/synfigstudio/synfig-1.2.2/synfig-core/src/modules/mod_gif/
H A Dtrgt_gif.cpp123 curr_surface.set_wh(w,h); in init()
126 curr_surface.clear(); in init()
229 Surface::alpha_pen pen(curr_surface.begin(),1.0,Color::BLEND_BEHIND); in end_frame()
231 for(int y=0;y<curr_surface.get_h();y++,pen.inc_y()) in end_frame()
234 for(x=0;x<curr_surface.get_w();x++,pen.inc_x()) in end_frame()
332 Color color(curr_surface[cur_scanline][i].clamped()); in end_frame()
339 if(curr_surface.get_h()>cur_scanline+1) in end_frame()
341 curr_surface[cur_scanline+1][i-1] += error * ((float)3/(float)16); in end_frame()
343 if(curr_surface.get_w()>i+1) in end_frame()
346 if(curr_surface.get_w()>i+1) in end_frame()
[all …]
H A Dtrgt_gif.h176 synfig::Surface curr_surface; variable