I downloaded aterm 1.0.0
and compiled it, but the background image (used to do fake transparency) doesn't always update when it should. I was looking through the source and I think the problem happens at line 993 in pixmap.c:
BG.trgPixmap = ScalePixmap( BG.srcPixmap,
width, height, gc, SHADING );
The thing is, I can't find the function ScalePixmap anywhere. I did
grep ScalePixmap -rl *
from the top directory of the source, but only pixmap.c matches, and it doesn't have the function. It calls the function three times, but doesn't define it anywhere that I can find.
I then found every #include statement in every file, used locate to find all of those files, and searched them for ScalePixmap but still didn't find anything. Where could this function be? In aterm 0.4.2 (which doesn't have the problem with drawing the background image, by the way), pixmap.c has a ScalePixmap function, but in version 1.0.0, I can't find it. Any ideas?