projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ignore generated files, such as PNG files.
[synfig.git]
/
synfig-core
/
trunk
/
src
/
synfig
/
surface.cpp
diff --git
a/synfig-core/trunk/src/synfig/surface.cpp
b/synfig-core/trunk/src/synfig/surface.cpp
index
f783d9c
..
91e1663
100644
(file)
--- a/
synfig-core/trunk/src/synfig/surface.cpp
+++ b/
synfig-core/trunk/src/synfig/surface.cpp
@@
-220,14
+220,14
@@
synfig::Surface::blit_to(alpha_pen& pen, int x, int y, int w, int h)
top.data=static_cast<void*>(operator[](y)+x);
top.height=h;
top.width=w;
top.data=static_cast<void*>(operator[](y)+x);
top.height=h;
top.width=w;
- //top.rowBytes=get_w()*sizeof(Color); //! \
fixme
this should get the pitch!!
+ //top.rowBytes=get_w()*sizeof(Color); //! \
todo
this should get the pitch!!
top.rowBytes=get_pitch();
bottom.data=static_cast<void*>(pen.x());
bottom.height=h;
bottom.width=w;
top.rowBytes=get_pitch();
bottom.data=static_cast<void*>(pen.x());
bottom.height=h;
bottom.width=w;
- //bottom.rowBytes=pen.get_width()*sizeof(Color); //! \
fixme
this should get the pitch!!
- bottom.rowBytes=pen.get_pitch(); //! \
fixme
this should get the pitch!!
+ //bottom.rowBytes=pen.get_width()*sizeof(Color); //! \
todo
this should get the pitch!!
+ bottom.rowBytes=pen.get_pitch(); //! \
todo
this should get the pitch!!
vImage_Error ret;
ret=vImageAlphaBlend_ARGBFFFF(&top,&bottom,&dest,kvImageNoFlags);
vImage_Error ret;
ret=vImageAlphaBlend_ARGBFFFF(&top,&bottom,&dest,kvImageNoFlags);